Subj : Re: mail To : comp.os.linux From : ibuprofin Date : Tue Nov 09 2004 05:58 pm In article , Dominik wrote: >I would want to send mails from the shell scripts with mail program and I >must for that adjust it so that aoutgoing address isnt from >localhost.localdomain, and I cant find anything on the net that says how? Oh, this is going to be fun. "man sendmail" and also look at the sendmail FAQ http://www.sendmail.org/faq/ BRIEFLY - you'll want to set 'masquerade as' and probably 'smarthost' You'll also want to look at 96595 Mar 2 2000 Mail-Administrator-HOWTO 14172 Dec 18 2001 Mail-Queue 25289 Feb 22 2003 Mail-User-HOWTO 9448 Apr 18 2001 Sendmail-Address-Rewrite Those _should_ be on your system if you installed the HOWTOs. Old guy .