• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Stop MTA from using local handler if domain matches email recipient

R

RandyN

Guest
Both MTA's, QMail and Postfix, revert to local handlers if the email recipient contains the same email address as one of the vhost domains.

This is not a desired effect for me, and normally, modifying /etc/postfix/main.cf used to solve this issue. Now it does not. What can be configured to force PLESK to treat all emails the same and send them regardless of vhosts?

Below is maillog of 1 email attempting to be sent to 2 addresses. 1 is @GMAIL (which works fine), then 1 is to a domain with the same address as a vhost domain. You can see it revert to a local handler, which I do not want....

Aug 2 05:52:27 server1 postfix/pickup[5242]: C2187750: uid=10013 from=<thermo-ta-ftp>
Aug 2 05:52:27 server1 postfix/cleanup[5498]: C2187750: message-id=
<[email protected]>
Aug 2 05:52:27 server1 postfix/qmgr[32727]: C2187750:
from=<thermo-ta- [email protected]>, size=1063, nrcpt=2 (queue active)
Aug 2 05:52:27 server1 postfix-local[5503]: postfix-local:
[email protected], [email protected],
dirname=/var/qmail/mailnames
Aug 2 05:52:27 server1 postfix-local[5503]: cannot chdir to mailname dir info: No such
file or directory
Aug 2 05:52:27 server1 postfix-local[5503]: Unknown user: [email protected]
Aug 2 05:52:27 server1 postfix/pipe[5501]: C2187750: to=<[email protected]>,
relay=plesk_virtual, delay=0.17, delays=0.11/0/0/0.06, dsn=2.0.0, status=sent
(delivered via plesk_virtual service)
Aug 2 05:52:28 server1 postfix/smtp[5502]: certificate verification failed for gmail-
smtp-in.l.google.com[209.85.225.26]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax
Secure Certificate Authority
Aug 2 05:52:29 server1 postfix/smtp[5502]: C2187750: to=<[email protected]>,
relay=gmail-smtp-in.l.google.com[209.85.225.26]:25, delay=1.6,
delays=0.11/0.01/0.29/1.2, dsn=2.0.0, status=sent (250 2.0.0 OK 1343901326
s4si23521367igw.27)
Aug 2 05:52:29 server1 postfix/qmgr[32727]: C2187750: removed
 
Back
Top