Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mailx command not working

Status
Not open for further replies.

dgc813

MIS
Jul 7, 2004
7
US
I am trying to email a file on a Linux server using the following command: cat "filename" | uuencode "filename" |mailx -s "subject" email address

It does not send a copy of the file to my email address. Any idea why and is there any other options for getting the file sent to me via email from the server?

Thanks,

Doug
 
Do you get any email at all? Does that mailx syntax work fine for you if you don't try to attach a file (i.e. just send some text)? Have you checked the mail logs on the server for any reasons for the mail failing?

Annihilannic.
 
mailq ?
Did you setup the mailer ? You don't need to be running sendmail, but you need at least to configure a relay.

Try mailx -v email_address and
see how it is processing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top