David Cottle a écrit : > > > Sent from my iPhone > > On 12/01/2009, at 15:36, Sahil Tandon <sa...@tandon.net> wrote: > >> On Mon, 12 Jan 2009, David Cottle wrote: >> >>> smtpd_banner = gateway.aus-city.com >>> >>> I want the helo to say that name. I assume I drop the hostname and what >>> about the ESMTP? >> >> I think you may be confused about the HELO; the smtpd_banner is simply >> what >> follows the 220 when a client connects to your smtpd. It is common >> practice >> for servers that support ESMTP to indicate this in their banner; no >> harm in >> leaving it there. Although Postfix by default sends EHLO even if >> ESMTP does >> not appear in the banner, some other MTAs might need to see ESMTP to know >> your server supports it. >> >> -- >> Sahil Tandon <sa...@tandon.net> > > The top posting is what the iPhone does I tried manually forcing it to > the bottom. > > Okay I set myhostname = gateway.aus-city.com > > Now it replies properly, bit it still fails RFC, I get this now (it's > better as atleast now the name exists not a unknown server) > > 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 >
smtp_helo_name = mail.aus-city.com assuming, 203.206.129.129 is the "outgoing" IP. if you have multiple "outgoing" IPs, just live with that. most people won't check this (unless you server has a "bad" reputation that causes additionnal/aggressive checks). > There are 28 domains on the server all on individual IPs. > when it comes to email, all domains can be served with one IP. so if 203.206.129.129 is the "outgoing" IP, use it for all these domains (for smtp I mean). the alternative is to run one postfix instance per IP/domain, but that's a lot of work (and may be tricky). > Any solution or live with it? I assume it's much better having a real > name rather than a non existent one? >