Hello, add the following lines to your /etc/mail/sendmail.mc, then insert the domain you want in your outgouing mails in the MASQUERADE_AS line.
MASQUERADE_AS(whateveryouwant.xx)dnl FEATURE(`masquerade_envelope')dnl then you have to rebuild the /etc/mail/sendmail.cf file and restart the sendmail deamon: m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf service sendmail restart regards Frank Jahn (Netzwerkadministrator, RHCE, LPIC-1) Metzloser Straße 36 36352 Grebenhain Tel.: 0049 (0) 6644 87242 Fax : 0049 (0) 6644 7412 E-Mail: mailto:[EMAIL PROTECTED] Homepage: http://www.robbe.com -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Peram's List Gesendet: Montag, 11. August 2003 04:32 An: [EMAIL PROTECTED] Betreff: Help with sendmail setup Hi, I've a Redhat 9 box and an application running which generates mail. I'm using the the default mail program from the OS (Sendmail). I've been able to send mail to yahoo but not to my domain to any mail servers which check for the validity of the orginating server. The mails are generated of the format [EMAIL PROTECTED] , I've seen the mails that have been returned to me and they say that the domain "myhost.mydomain.com" does not exist. I want to remove the "myhost" part from the mail being generated. Is there any way I can do that in Sendmail. I'd appreciate your responses and please let me know if I need to provide any further information Regards, Peram -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list