PLESK PostFix Error Local in maillog, how to troubleshoot
- by RCNeil
I'm using the PHP mail() function, using PostFix, on CentOS6, Plesk 10.4, and my email is not getting delivered to a particular address. My personal GMail and Yahoo email addresses receive email from my server fine and do not produce errors. After a wonderful suggestion on here, I checked my mail logs, and this is the error I see :
Apr 10 10:26:29 ######### postfix/qmgr[8323]: 19EA21827: from=
<[email protected]>, size=645, nrcpt=1 (queue active)
Apr 10 10:26:29 ######### postfix-local[8331]: postfix-local:
from=my.valid.email@myserver.com, to=name@company.com,
dirname=/var/qmail/mailnames
Apr 10 10:26:29 ######### postfix-local[8331]:
cannot chdir to mailname dir name: No such file or directory
Apr 10 10:26:29 ######### postfix-local[8331]:
Unknown user: name@company.com
Apr 10 10:26:29 ######### postfix/pipe[8330]: 19EA21827:
to=<[email protected]>, relay=plesk_virtual, delay=0.15, delays=0.11/0/0/0.04,
dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Apr 10 10:26:29 ######### postfix/qmgr[8323]: 19EA21827: removed
my.valid.email@myserver.com is the name I've declared in php.ini for
sendmail_from = "my.valid.email@myserver.com"
sendmail_path = "/usr/sbin/sendmail -t -f my.valid.email@myserver.com"
and the recipient is supposed to be name@company.com.
Is this an error on my side or the recipients? Can I address this on my server?
Many thanks SF.