CBL blocked localhost.localdomain - but I am using multiple domains on one IP

(Philip Rhoades) #1


For a user who has just signed up, mails are being blocked from reaching him and it is because my server SMTP is HELO’ing as “localhost.localdomain” - currently I could fix this in the Postfix config files but at the moment I have two domains on the IP address - so if I eventually start sending mails from the other domain, to the recipient it will look like I am sending from the Discourse domain (at least in terms of the SMTP packet) . . am I stuck? Should I really be running Discourse with it’s own IP address?



(Jens Maier) #2

Your Postfix should identify itself with its canonical hostname, not a hostname in the same domain as the sender address. In practice, you can use any hostname that resolves to the IP you’re using for SMTP (not submissions!), and ideally that IP address should have an RR record pointing to your hostname.

(Philip Rhoades) #3


OK, thanks - I’ll have a look at that.