Hello, 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. TIA
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 -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp Serendipity 14:39:10 up 28 days, 15:27, load average: 0.20, 0.23, 0.11 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: <http://lists.centos.org/pipermail/centos/attachments/20060411/90bf20c1/attachment-0001.sig>
> -----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. > > AlexanderHello 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
> > From: Alexander Dalloz <ad+lists at uni-x.org> > Date: 2006/04/12 Wed AM 10:19:54 EDT > To: CentOS mailing list <centos at centos.org> > Subject: RE: [CentOS] Sendmail problem > >Hi Alaxander, No, I don't use my mail server to post on this list. I use my ISP's. Eddie -------------- next part -------------- A non-text attachment was scrubbed... Name: reply Type: multipart/signed Size: 1368 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20060412/8fea6de6/attachment-0001.bin> -------------- next part -------------- _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos