PDA

View Full Version : Configure a server not to receive mail


ssslippy
06-22-2008, 04:46 PM
I am on a dedicated server however our server was misconfigured to receive mail so anything that it sent by the phpmailer is being sent to the server which doesnt have a mail client.

Our email is hosted by our web host.

Dismounted
06-23-2008, 06:21 AM
Mail is directed by the MX records of a domain - you can changed these by editing your domain's DNS records.

ssslippy
06-23-2008, 08:20 PM
Our DNS is also hosted by the webhost and that is configured to send the mail to the right spot.
However our sendmail function only wants to send to localhost.

Dismounted
06-24-2008, 07:27 AM
Most likely, you are using Postfix (correct?) and has been configured to send mail to "x.com" locally. Look at the "transport_maps" option in the configuration.

IronMountain
07-01-2008, 05:19 PM
Check to see if there is a mail server running like Postfix, if it is, turning it off will usually be a quick fix.

Dismounted
07-02-2008, 06:20 AM
If you disable Postfix, he won't be able to send mail in the first place (if he is using its SMTP "module").