* [gentoo-user] script for sending mail with attachement?
@ 2010-05-11 19:29 Jarry
2010-05-11 19:39 ` David Abbott
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: Jarry @ 2010-05-11 19:29 UTC (permalink / raw
To: gentoo-user
Hi,
my small mysql-database is archived every couple of hours, but
all those backups (~5MB each) are still on the server, which
I do not consider secure. I would like to have them sent to me
per email.
What I am looking for is some command-line mailer, which could
be used in script-mode, and able to send attachements. Any ideas?
Jarry
--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] script for sending mail with attachement?
2010-05-11 19:29 [gentoo-user] script for sending mail with attachement? Jarry
@ 2010-05-11 19:39 ` David Abbott
2010-05-11 19:39 ` Oli Schmidt
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: David Abbott @ 2010-05-11 19:39 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 548 bytes --]
On Tue, May 11, 2010 at 3:29 PM, Jarry <mr.jarry@gmail.com> wrote:
> Hi,
> my small mysql-database is archived every couple of hours, but
> all those backups (~5MB each) are still on the server, which
> I do not consider secure. I would like to have them sent to me
> per email.
>
> What I am looking for is some command-line mailer, which could
> be used in script-mode, and able to send attachements. Any ideas?
>
> Jarry
> --
>
>
Hi Jarry,
Here is one I use, found it somewhere, works good :)
http://linuxcrazy.pastebin.com/8rSLq49R
--
David
[-- Attachment #2: Type: text/html, Size: 961 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] script for sending mail with attachement?
2010-05-11 19:29 [gentoo-user] script for sending mail with attachement? Jarry
2010-05-11 19:39 ` David Abbott
@ 2010-05-11 19:39 ` Oli Schmidt
2010-05-11 19:59 ` [gentoo-user] " Grant Edwards
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Oli Schmidt @ 2010-05-11 19:39 UTC (permalink / raw
To: gentoo-user
On Tue, 11 May 2010 21:29:02 +0200, Jarry <mr.jarry@gmail.com> wrote:
> Hi,
> my small mysql-database is archived every couple of hours, but
> all those backups (~5MB each) are still on the server, which
> I do not consider secure. I would like to have them sent to me
> per email.
>
> What I am looking for is some command-line mailer, which could
> be used in script-mode, and able to send attachements. Any ideas?
>
> Jarry
--
There 3 good and simple ways to do .. :
- use biabam command line program (emerge it)
- sendemail.pl (google it)
- uuencode (uuencode somefile.zip | mailx -s "daily mail" some@user.com)
Oli
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: script for sending mail with attachement?
2010-05-11 19:29 [gentoo-user] script for sending mail with attachement? Jarry
2010-05-11 19:39 ` David Abbott
2010-05-11 19:39 ` Oli Schmidt
@ 2010-05-11 19:59 ` Grant Edwards
2010-05-11 20:05 ` [gentoo-user] " lists-gentoo-user
2010-05-12 3:00 ` Brett Freer
4 siblings, 0 replies; 7+ messages in thread
From: Grant Edwards @ 2010-05-11 19:59 UTC (permalink / raw
To: gentoo-user
On 2010-05-11, Jarry <mr.jarry@gmail.com> wrote:
> Hi,
> my small mysql-database is archived every couple of hours, but
> all those backups (~5MB each) are still on the server, which
> I do not consider secure. I would like to have them sent to me
> per email.
>
> What I am looking for is some command-line mailer, which could
> be used in script-mode, and able to send attachements. Any ideas?
echo "Here's the backup..." | mutt -s "Mysql backup" -a filename.whatever username@whereever.com
--
Grant Edwards grant.b.edwards Yow! I'm GLAD I
at remembered to XEROX all
gmail.com my UNDERSHIRTS!!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] script for sending mail with attachement?
2010-05-11 19:29 [gentoo-user] script for sending mail with attachement? Jarry
` (2 preceding siblings ...)
2010-05-11 19:59 ` [gentoo-user] " Grant Edwards
@ 2010-05-11 20:05 ` lists-gentoo-user
2010-05-12 3:00 ` Brett Freer
4 siblings, 0 replies; 7+ messages in thread
From: lists-gentoo-user @ 2010-05-11 20:05 UTC (permalink / raw
To: gentoo-user
Jarry wrote:
> Hi,
> my small mysql-database is archived every couple of hours, but
> all those backups (~5MB each) are still on the server, which
> I do not consider secure. I would like to have them sent to me
> per email.
>
> What I am looking for is some command-line mailer, which could
> be used in script-mode, and able to send attachements. Any ideas?
>
> Jarry
mail-client/nail is a replacement (with more functionality) than mail-client/mailx. With nail you can specify the from address of your emails
-Brandon
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] script for sending mail with attachement?
2010-05-11 19:29 [gentoo-user] script for sending mail with attachement? Jarry
` (3 preceding siblings ...)
2010-05-11 20:05 ` [gentoo-user] " lists-gentoo-user
@ 2010-05-12 3:00 ` Brett Freer
2010-05-14 8:31 ` Fab
4 siblings, 1 reply; 7+ messages in thread
From: Brett Freer @ 2010-05-12 3:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 702 bytes --]
Hi Jarry,
mpack -s "backup" file.bak user@somewhere.com
Brett Freer
On Wed, May 12, 2010 at 5:29 AM, Jarry <mr.jarry@gmail.com> wrote:
> Hi,
> my small mysql-database is archived every couple of hours, but
> all those backups (~5MB each) are still on the server, which
> I do not consider secure. I would like to have them sent to me
> per email.
>
> What I am looking for is some command-line mailer, which could
> be used in script-mode, and able to send attachements. Any ideas?
>
> Jarry
> --
> _______________________________________________________________
> This mailbox accepts e-mails only from selected mailing-lists!
> Everything else is considered to be spam and therefore deleted.
>
>
[-- Attachment #2: Type: text/html, Size: 1108 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] script for sending mail with attachement?
2010-05-12 3:00 ` Brett Freer
@ 2010-05-14 8:31 ` Fab
0 siblings, 0 replies; 7+ messages in thread
From: Fab @ 2010-05-14 8:31 UTC (permalink / raw
To: gentoo-user
2010/5/12 Brett Freer <brett@rhapsody.com.au>
>
> Hi Jarry,
> mpack -s "backup" file.bak user@somewhere.com
> Brett Freer
>
AFAIK, mpack is unmaintained, and the last version does not work on
amd64 (gentoo bug #171075).
I would recommend net-mail/sendEmail.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-05-14 8:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 19:29 [gentoo-user] script for sending mail with attachement? Jarry
2010-05-11 19:39 ` David Abbott
2010-05-11 19:39 ` Oli Schmidt
2010-05-11 19:59 ` [gentoo-user] " Grant Edwards
2010-05-11 20:05 ` [gentoo-user] " lists-gentoo-user
2010-05-12 3:00 ` Brett Freer
2010-05-14 8:31 ` Fab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox