简体   繁体   中英

PHP Mail with Plesk - Not Sending/Receiving Any Emails

I recently got a new dedicated private server from 1&1. It has the latest version of Plesk Panel (11.5.30). On all of my webpages hosted from the server, none of them can send emails. Whenever I test this from here http://championsfunding.com/contact-us , it says that it successfully sent the email but I receive no emails at all. Here's a test PHP mail script with more detailed information: http://championsfunding.com/mail_test.php . Any help would be appreciated.

Update 5/7/14:

I skimmed through the mail log and found no problems except

May 7 10:05:53 u17259487 qmail: 1399471553.284374 delivery 29: deferral: ./Maildir:_No_such_file_or_directory/

I created the Maildir folder in the root folder and still no emails.

Here's the log maillog.txt

I assume you are trying to send to addresses at the domain championsfunding.com? If so, you'll have to disable mail services for that domain in Plesk since your email is hosted by Google according to the MX DNS for that domain.

The problem is that with mail services enabled the server doesn't attempt to resolve MX records for the domain. Instead, it tries to deliver the email locally which isn't what you're expecting.

Here is Parallels KB Entry that explains the cause and solution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM