Hi, This is probably a simple problem, although I'm having trouble explaining! Here it goes: I have an ubuntu server running lamp with postfix. I just want to use postfix to send mail from php, nothing else. I use a third party server as my mail server which handles various addressses, like [email protected]. When I get php to send a mail to [email protected], it incorrectly goes to the LAMP's postfix server, which then sends a user not found bounce. Instead, when I get php to send a mail to [email protected], shouldn't it use the third party mail server as specified by the MX records? I'm not sure what's going on but I presume this is a postfix configuration problem? Please could someone help me to get postfix sending emails to the MX server, not itself!! Thanks!
That must have been it Thanks, that must be the problem. For reference, Initially it was: Code: mydestination = logicsmiths.co.uk, localhost, localhost.localdomain, localhost From what you say, this is clearly the problem! For any of the destinations, it resolves to itself. I've just tried changing it to: Code: mydestination = mail.logicsmiths.co.uk, mail2.logicsmiths.co.uk After restarting, /etc/init.d postfix restart) The problem is fixed! Thankyou!