[ Post removed ]
I'm trying to get this mail server to work correctly..All the basics are set up. We can send and receive mail just fine, except for one thing. When we send email, some servers end up rejecting it due to our server returning the wrong hostname!
I have multiple domains set up on this machine. Mail goes through to the correct addresses and all, except the EHLO will only reply with the hostname that the machine is named.
I'll call it 'hostname.com'
So, if I send mail from 'email@example.com', and the receiving server checks it, the EHLO says: '220 hostname.com blah blah blah'
BUT, I need it to say: '220 anotherhostname.com'
- This being a reply with the hostname according to the IP address used to access the server.
Sendmail is set up to use BIND DNS (compiled in), and 'anotherhostname.com' is entered into the DNS database on the server, however right now, all the domains are set up on our hosting provider's domain name servers.
- Can this effect this sendmail configuration???
I've looked EVERYWHERE on Google and lots of other places as well.. I've seen lots of questions about this, but I can't seem to find the answer.
So, to wrap it up, I have a server with multiple domains and need sendmail to return the correct hostname upon EHLO queries to different IP addresses.
ANY help would be GREATLY appreciated!! Thanks in advance!
Last edited by Whatever123; 03-30-2009 at 12:39 PM.