Results 1 to 3 of 3
Hello good people! - I want to be able to send mail from the terminal command to my pop3/smtp mail account running at work. I have a linux workstation running ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-08-2004 #1Just Joined!
- Join Date
- May 2003
- Posts
- 15
sending mail via the command line
Hello good people! - I want to be able to send mail from the terminal command to my pop3/smtp mail account running at work. I have a linux workstation running fedora - I have a work email account which I can use fine with my standard email client (evolution) however I'm trying to get nagios monitoring software to pass alert via the command line to my work email account which can then email on... sounds confusing but I hope you can follow - I am not allowed to make my pc a MTA -
regards
Mike
- 03-08-2004 #2Linux User
- Join Date
- May 2003
- Location
- CA
- Posts
- 370
/bin/mailx -s "subject" <email address> should work fine
if you want to mail the contents of a file or something you can even so this:
cat <filename> | /usrlib/sendmail <email address>Fixing Unix is better than working with Windows.
http://nikhilk.homedns.org/projects/index.html
- 03-15-2004 #3Just Joined!
- Join Date
- May 2003
- Posts
- 15
thanks
Thanks for that, uunfourtantly my friend it seems I'm not authorised as an MTA on our network....


Reply With Quote
