On 04/30/2012 07:07 AM, Colin Jack wrote: >> On 04/30/2012 05:02 AM, Colin Jack wrote: >>> We recently updated one of our servers (VPS on Aventurin{e}) using yum and >> now have been listed on CBL because "This IP address is HELO'ing as >> "localhost.localdomain" which violates the relevant standards (specifically: >> RFC5321)" >>> >>> Looking in my hosts file I have >>> >>> # /etc/hosts >>> # Auto-generated file. Keep your customizations at the bottom of this file. >>> 127.0.0.1 localhost localhost.localdomain >>> 192.168.2.6 server1.localdomain server1-venet0:0.localdomain >> server1-venet0:0 >>> #END of auto-generated code. Customize beneath this line. >>> 127.0.0.1 localhost.localdomain localhost server1.fast-mail.net # >>> Auto-generated hostname. Please do not remove this comment. >>> 192.168.2.6 server1.<CORRECTDOMAIN> server1-venet0:0.localdomain >>> server1.localdomain server1-venet0:0.<CORRECTDOMAIN> server1 server1- >> venet0:0 ### Begin - Nuonce hosts Fix >>> 127.0.0.1 server1.<CORRECTDOMAIN> >>> 192.168.2.6 server1.<CORRECTDOMAIN> >>> ### End - Nuonce hosts Fix >>> [root@server1 etc]# >>> >>> I amended the details as follows, but obviously these are auto-generated and >> it will 'break' again. Where else can I fix this permanently? >>> >>> # /etc/hosts >>> # Auto-generated file. Keep your customizations at the bottom of this file. >>> 127.0.0.1 server1 server1.<CORRECTDOMAIN> >>> 192.168.2.6 server1.<CORRECTDOMAIN> server1- >> venet0:0.localdomain server1-venet0:0 >>> #END of auto-generated code. Customize beneath this line. >>> >> >> FYI the heder in this email >> >> from localhost.localdomain (localhost [127.0.0.1]) by lists.blueonyx.it >> (8.13.8/8.13.8) with ESMTP id q3UA2seA009436; Mon, 30 Apr 2012 06:03:01 >> -0400 >> >> Unless you modified /etc/hosts after. >> >> What does executing ' hostname ' yield/ >> >> -- >> Gerald > > Now that header is interesting - because my email came from an Exchange 2010 > server - the server in question above is in a datacentre and provides SMTP > relay services for our clients. It has nothing to do with our internal email > ;) > > On the server in question, 'hostname' resolves correctly. The problem is that > the sendmail HELO doesn't. > > Colin > > _______________________________________________ > Blueonyx mailing list > Blueonyx@mail.blueonyx.it > http://mail.blueonyx.it/mailman/listinfo/blueonyx >
maybe check /etc/mail/sendmail.mc specifically masquerade features, mine looks like; dnl # The following example makes mail from this host and any additional dnl # specified domains appear to be sent from mydomain.com dnl # MASQUERADE_AS(`') 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 # -- Gerald _______________________________________________ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx