No, not a bug. Depends on what you put in “main settings” – presumably you put the domain in ‘domain name’ field and something like “mail.domain.name” in ‘hostname’ field? This would be correct but will still need the domain in the Local Host Aliases pane. Anything in here will be treated as a local domain, otherwise server thinks you want to ‘relay out’ to an external domain.
I think your problem just got confused by the addition of the RBL problem.
Have a look at the output from “postconf -n”. This just prints out non-standard settings from the main.cf file. The part you want to look at is the ‘mydestination’ clause. This defines what your server will accept for local delivery. If you do not put anything in the Local Host Aliases pane then this will produce the following…
mydestination = $myhostname,localhost.$mydomain
$myhostname & $mydomain are taken from the settings of the same names (these will also show up in postconf -n). So, as you can see, it will by default accept mail for “mail.domain.name” and “localhost.domain.name” but not the one you actually want – “domain.name”.
Some people get around it by making ‘Hostname’ field equal to same as ‘Domain’ field but this is not right as the ‘Hostname’ should be the same as your external MX record uses (so connecting servers get the same HELO name from your server as they are expecting from the MX record)
-david
Comments are closed