> -----Original Message----- > From: centos-bounces at centos.org > [mailto:centos-bounces at centos.org] On Behalf Of Alexander Dalloz > Sent: Tuesday, April 11, 2006 8:41 AM > To: CentOS mailing list > Subject: Re: [CentOS] Sendmail problem > > Am Di, den 11.04.2006 schrieb Thomas E Dukes um 14:17: > > > I am having a problem with returned mail. I don't have something > > configured correctly. > > > > I have 6 virtual hosts on one machine and mail sent from > these host is > > being returned. This is the transcript: > > > > The original message was received at Tue, 11 Apr 2006 > 07:30:19 -0400 > > from localhost.localdomain [127.0.0.1] > > > > ----- The following addresses had permanent fatal errors ----- > > <f5loar at charter.net> > > (reason: 553 #5.1.8 Domain of sender address > > <apache at localhost.localdomain> does not resolve) > > > > ----- Transcript of session follows ----- ... while talking to > > mail.charter.net.: > > >>> MAIL From:<apache at localhost.localdomain> SIZE=1618 > > <<< 553 #5.1.8 Domain of sender address > <apache at localhost.localdomain> > > does not resolve > > 501 5.6.0 Data format error > > > > I think this has something to with outgoing address > mappings but not > > sure how to fix it. All virtual hosts are included in the > local domains file. > > localhost.localdomain is no valid public FQDN. Either give > your host a valid FQDN (which is recommended for a networked > host anyway) or use masquerarding / generics feature. > > Alexander Hello Alexander, As far as I know, I have my FQDN set. It may not be done so correctly in sendmail. Here's a portion of my sendmail.mc file: LOCAL_DOMAIN(`localhost.localdomain')dnl <---- do I need to change this to my FDQN? dnl # dnl # The following example makes mail from this host and any additional dnl # specified domains appear to be sent from mydomain.com dnl # dnl # masquerade not just the headers, but the envelope as well dnl # dnl FEATURE(masquerade_envelope)dnl dnl # dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well dnl # dnl FEATURE(masquerade_entire_domain)dnl dnl # dnl MASQUERADE_DOMAIN(localhost)dnl dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl <------ How about this? dnl # MASQUERADE_DOMAIN(mydomainalias.com)dnl dnl # MASQUERADE_DOMAIN(mydomain.lan)dnl MAILER(smtp)dnl MAILER(`procmail') What masquerade feature do I need to setup so that mail sent from domain1, domain2, domain3, etc., is sent from the respective domains? Any help would be really appreciated!!! TIA