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=
<my.
valid[email protected]>, size=645, nrcpt=1 (queue active)
Apr 10 10:26:29 ######### postfix-local[8331]: postfix-local:
from=my.
valid[email protected],
[email protected],
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:
[email protected]
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 protected] is the name I've declared in php.ini for
sendmail_from = "my.
valid[email protected]"
sendmail_path = "/usr/sbin/sendmail -t -f my.
valid[email protected]"
and the recipient is supposed to be
[email protected].
Is this an error on my side or the recipients? Can I address this on my server?
Many thanks SF.