  | | | email notification of ftp transfers | email notification of ftp transfers 2006-11-14 - By Bret Stern
Back
> -- --Original Message-- -- > From: Rick Stevens [mailto:rstevens@(protected)] > Sent: Tuesday, November 14, 2006 3:41 PM > To: Getting started with Red Hat Linux; > bret_stern@(protected) > Subject: RE: email notification of ftp transfers > > On Tue, 2006-11-14 at 13:28 -0800, Bret Stern wrote: > > Thanks. > > > > How would the ftp transfer event/trigger be > > monitored (trapped) to drive the mail message? > > > > Is this an option defined in sendmail.cf or > > a daemon started on system boot, or even an > > existing running service? > > > > I'll google mutt for some usage. > > Are you trying to get the ftp client to send mail or the ftp server?
The ftp server > > > > > Regards, > > > > Bret > > > > > -- --Original Message-- -- > > > From: Maxim Vexler [mailto:hq4ever@(protected)] > > > Sent: Tuesday, November 14, 2006 1:20 PM > > > To: bret_stern@(protected); Getting started with > > > Red Hat Linux > > > Subject: Re: email notification of ftp transfers > > > > > > On 11/14/06, Bret Stern <bret_stern@(protected)> wrote: > > > > > > > > Can anyone tell me some of the common methods > > > > used in linux to send email notifications of > > > > successful ftp transfers? > > > > > > > > Someone has asked me .. so i'm asking you all > > > > > > > > Thanks in advance > > > > > > > > Bret Stern > > > > > > > > > > Hi Bret > > > > > > Basically you check for return value of the last command > with if [ $? > > > == 0 ], then use either echo "Something" | mail > some@(protected) or > > > cat /tmp/some_log_file | mutt... the same idea apples as with mail > > > except for the fact that with mutt you can also attach files. > > > You also try mime-construct for the "low level" email message > > > construction. > > > > > > Google is your friend. > > > > > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > > > > Redhat-install-list mailing list > > > > Redhat-install-list@(protected) > > > > https://www.redhat.com/mailman/listinfo/redhat-install-list > > > > To Unsubscribe Go To ABOVE URL or send a message to: > > > > redhat-install-list-request@(protected) > > > > Subject: unsubscribe > > > > > > > > > > > > > -- > > > Cheers, > > > Maxim Vexler > > > > > > "Free as in Freedom" - Do u GNU ? > > > > > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > > Redhat-install-list mailing list > > Redhat-install-list@(protected) > > https://www.redhat.com/mailman/listinfo/redhat-install-list > > To Unsubscribe Go To ABOVE URL or send a message to: > > redhat-install-list-request@(protected) > > Subject: unsubscribe > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > - Rick Stevens, Senior Systems Engineer rstevens@(protected) - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Always remember you're unique, just like everyone else. - > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- >
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|
 |