Question : How to send HELO/EHLO for virtual domains  in Postfix

Hi

I have suddenly started receivng emails back from domains with a 550 error:

550-Sorry 88.208.202.40 . You can not identify your self with the server 550 address. 88.208.202.40 sent localhost.domain.net EHLO/HELO greeting.> #SMTP#

I am sending from domain.com not domain.net

Everything seems to be corret apart from the HELO/EHLO name
------------------------------------
smtp:88.88.20.114     smtp    
220 localhost.domain.net ESMTP Postfix


 Not an open relay.
 0 seconds - Good on Connection time
 0.530 seconds - Good on Transaction time
 OK - 88.88.20.114 resolves to domain.com
 Warning - Reverse DNS does not match SMTP Banner

Session Transcript:
HELO please-read-policy.mxtoolbox.com
250 localhost.domain.net [140 ms]
MAIL FROM: <[email protected]>
250 2.1.0 Ok [125 ms]
RCPT TO: <[email protected]>
554 5.7.1 <[email protected]>: Relay access denied [125 ms]
QUIT
221 2.0.0 Bye [140 ms]
------------------------------------


First how do I change teh HELO/EHLO record

and how do I change it so it uses the virutal domain name as i have multiple domains hosted on the server.  If I cahnge it to domain.com then presumably domain2.com will have a problem.

Many thanks

Kevin

Answer : How to send HELO/EHLO for virtual domains  in Postfix

of course you can have  5 A records with the same name.

"The reason I have separate IPs was to resovle the problem of not being able to send emails from a domain where the PTR record of the ip address did not match the sending domain name."

ok, stop right here then.
Single IP address both forward and reverse resolvable will be exactly what you need.
Any server that rejects because your users domain does not match the sending servers hostname domain is probably rejecting the worlds email anyways.

Think about gmail, messagelabs, postini, Mimecast, Microsoft and all the others out there providing mail services. NONE of them pretend to be their cleints. ALL of them send from a server that is exactly what it says it is.
Random Solutions  
 
programming4us programming4us