• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved No emails sending from PHP mail

Collins

New Pleskian
Im new to plesk, and this is the first VPS i have used.

When i try to send an email through my contact form on my Drupal website, it says it sent successfully, but the email never arrives.

In /var/log/mail.log I get the following...

Feb 11 12:41:11 localhost plesk sendmail[40139]: Unable to get sender domain by sender mailname
Feb 11 12:41:11 localhost plesk sendmail[40139]: handlers_stderr: SKIP
Feb 11 12:41:11 localhost plesk sendmail[40139]: SKIP during call 'check-quota' handler
Feb 11 12:41:11 localhost plesk sendmail[40139]: Unable to get sender domain by sender mailname
Feb 11 12:41:11 localhost postfix/pickup[38651]: C509B1034BE: uid=10000 from=<wf-me@collins.com>
Feb 11 12:41:11 localhost postfix/cleanup[40127]: C509B1034BE: message-id=<20170211124111.C509B1034BE@localhost.localdomain>
Feb 11 12:41:11 localhost postfix/qmgr[1522]: C509B1034BE: from=<wf-me@collins.com>, size=465, nrcpt=4 (queue active)
Feb 11 12:41:11 localhost postfix/local[40131]: C509B1034BE: to=<=@localhost.localdomain>, orig_to=<=>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "=")
Feb 11 12:41:11 localhost postfix/smtp[40130]: C509B1034BE: to=<me@collins.com>, relay=mx00.1and1.co.uk[212.227.15.41]:25, delay=0.1, delays=0.01/0/0.08/0, dsn=5.0.0, status=bounced (host mx00.1and1.co.uk[212.227.15.41] refused to talk to me: 550-Requested action not taken: mailbox unavailable 550-Reject due to policy restrictions. 550 For explanation visit http://postmaster.1and1.com/en/error-messages?ip=77.68.14.31&c=poli)

Can anyone help me resolve this please?
 
Does your mail include a "FROM" header and is the address given in the "FROM" a valid address of the collins.com domain?
Is collins.com the correct sender domain?
Does reverse DNS (PTR) of collins.com point to the IP address you are sending from?
Does collings.com have an SPF record and is the sending server included in that record so that is allowed to send mail on behalf of collins.com?
 
Ah! I found the solution.

As it was a new plesk install, under /plesk/server/preferences/ I still had localhost.localdomain

As soon as I updated this to a real domain, e.g. vps.mydomain.com then the email started working.
 
Back
Top