I know what your thinking add your domain to the /etc/postfix/local-host-names file. If it were only that easy. My problem is that when I try to send email through to local ([email protected]) or remote email address ([email protected]) I get the dredded bounce message. If I re-queue the message, using webmin, I the messages go fine. If I send these emails originally from the server itself, i.e. using webmins webmail or just sending an email from the shell it goes fine.
Please add mail.mydomain.com to the bottom of /etc/postfix/local-host-names and restart Postfix. http://www.howtoforge.com/forums/showthread.php?t=7022&highlight=loops+back http://www.howtoforge.com/forums/showthread.php?t=8138&highlight=loops+back
I can requeue the soft bounced messages and they go from the webmin side of things, or if I send the email from the shell they go out without a hassel, however if I issue the postqueue or send from a client they give me that problem.
Got it, I think. -o content_filter=smtp-amavis should be -o content_filter=smtp-amavis:[127.0.0.1]:10024