David Cottle wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

One last issue I have is each domain has its own static IP address.
Naturally postfix answers on the main gateway address.

My domains all violate RFC821
<http://www.DNSstuff.com/pages/rfc821.htm> 4.3 (and RFC2821
<http://private.dnsstuff.com/tools/rfc.ch?detail=2821> 4.3.1)

|mail.aus-city.com claims to be non-existent host
server.engineering.idb: <br /> 220 *server.engineering.idb* ESMTP
Postfix <br />|

I tackled this using smtpd_banner as my server's hostname is not a
valid 'internet domain name':

smtpd_banner = gateway.aus-city.com ESMTP $mail_name

Your MX record, the A record for the MX, the rDNS for that IP, and the hostname should all match.

Yours are all over the place.


|mail.aus-city.com claims to be host gateway.aus-city.com [but that
host is at 202.129.79.106 (may be cached), not 203.206.129.129]. <br />|

Being creative is there any way you can do something clever like:

smtpd_banner = $mydomain ESMTP $mail_name

So it would respond that the same address as what the request is?

That would be a really cool trick considering that the SMTP protocol requires the 220 greeting be sent before it knows who the mail is for. No, not possible.


I
can't set mail.aus-city.com as then this domain passes, but the other
27 fail.  I tried this but it fails:

|mail.aus-city.com claims to be non-existent host engineering.idb: <br
/> 220 *engineering.idb* ESMTP Postfix <br />

|There must be a way to set this up?

Pick *one* IP and *one* hostname to be the MX for *all* your hosted domains. The MX hostname does *not* need to match the hosted domain.

Your DNS/rDNS/MX/hostname is inconsistent. Fix the inconsistencies and all your domains should pass whatever tests you want to run.

If you want to give each hosted domain the appearance of having its own mail server with customized hostname matching the domain name, you will need to run multiple postfix instances. This is a lot of extra work, and is not necessary for proper mail operation.

--
Noel Jones

Reply via email to