Hello there,
I just can't figure out this behavior.
I did an upgrade from Plesk 11 to Plesk 12.0.18 (Debian 6).
After this upgrade the behavior of PHP mail() was messed up.
Now I'm receiving all by PHP sent mails by myself.
I'm using Postfix + Courier as mailserver services.
- Sending mails via SMTP/Webmail/etc. works fine - no matter if I choose internal addresses or addresses on external/other serves.
- Sending mails via PHP mail() will be delivered to my own main address (catchall address), although they are addressed to an external domain.
Seems that something is wrong with postfix-local / virtual-mailbox.
- I already commented out the lines in /etc/postfix/main.cf (virtual_*) -> then the mails will be delivered to external servers, but internal delivery will fail.
Here some log output:
Mar 18 13:10:55 mydomain postfix/pickup[19563]: 23E6998409F: uid=33 from=<www-data>
Mar 18 13:10:55 mydomain postfix/cleanup[20047]: 23E6998409F: message-id=<[email protected]>
Mar 18 13:10:55 mydomain postfix/qmgr[19564]: 23E6998409F: from=<[email protected]>, size=396, nrcpt=1 (queue active)
Mar 18 13:10:55 mydomain postfix-local[20050]: postfix-local: from=[email protected], to=[email protected], dirname=/var/qmail/mailnames
Mar 18 13:10:55 mydomain postfix/pipe[20049]: 23E6998409F: to=<[email protected]>, orig_to=<[email protected]>, relay=plesk_virtual, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Mar 18 13:10:55 mydomain postfix/qmgr[19564]: 23E6998409F: removed
---
I really would appreciate your help and thanks for any tips and tricks to resolve this issue.
Best regards,
I just can't figure out this behavior.
I did an upgrade from Plesk 11 to Plesk 12.0.18 (Debian 6).
After this upgrade the behavior of PHP mail() was messed up.
Now I'm receiving all by PHP sent mails by myself.
I'm using Postfix + Courier as mailserver services.
- Sending mails via SMTP/Webmail/etc. works fine - no matter if I choose internal addresses or addresses on external/other serves.
- Sending mails via PHP mail() will be delivered to my own main address (catchall address), although they are addressed to an external domain.
Seems that something is wrong with postfix-local / virtual-mailbox.
- I already commented out the lines in /etc/postfix/main.cf (virtual_*) -> then the mails will be delivered to external servers, but internal delivery will fail.
Here some log output:
Mar 18 13:10:55 mydomain postfix/pickup[19563]: 23E6998409F: uid=33 from=<www-data>
Mar 18 13:10:55 mydomain postfix/cleanup[20047]: 23E6998409F: message-id=<[email protected]>
Mar 18 13:10:55 mydomain postfix/qmgr[19564]: 23E6998409F: from=<[email protected]>, size=396, nrcpt=1 (queue active)
Mar 18 13:10:55 mydomain postfix-local[20050]: postfix-local: from=[email protected], to=[email protected], dirname=/var/qmail/mailnames
Mar 18 13:10:55 mydomain postfix/pipe[20049]: 23E6998409F: to=<[email protected]>, orig_to=<[email protected]>, relay=plesk_virtual, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Mar 18 13:10:55 mydomain postfix/qmgr[19564]: 23E6998409F: removed
---
I really would appreciate your help and thanks for any tips and tricks to resolve this issue.
Best regards,