Been looking around for a solution for my problem and have seen a lot of suggestions and similar problems, but nothing appears to be a fix.
Brand new ISPConfig system (2.2.35) running on debian lenny. Followed Falko's perfect config to a tee.
The problem is that somewhere/for some reason, ispconfig insists on appending the 'www' to the hostname I've got configured for a couple of domains we're accepting mail for.
When it does that, it rejects mail for local recipients because 'email@example.com' isn't in the recipients table...(because ispconfig is rewriting the /etc/postfix/local-host-names for the target domain as 'www.example.com'.
I've got no subdomains for either domain configured on this box, and it's not obeying a manual entry at the bottom of the local-host-names file.
Right now, my workaround is to delete the www field in the basis tab of the domain, go into the DNS zone inside iSPConfig and delete the 'www' host from the domain, and it will rewrite the local-host-names file correctly. (example.com)
However, upon restart of ISPConfig or reboot of the server, the problem is back and rewrites the domain as 'www.example.com' and rejects mail for 'firstname.lastname@example.org'.
A bonus is the server is in production now, and we're only using it for hosting mail- no webs/databases.
Thanks in advance!