1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Stop MTA from using local handler if domain matches email recipient

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by RandyN, Aug 2, 2012.

  1. RandyN

    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=
    Aug 2 05:52:27 server1 postfix/qmgr[32727]: C2187750:
    from=<thermo-ta- ftp@server1.onlinehome-server.com>, size=1063, nrcpt=2 (queue active)
    Aug 2 05:52:27 server1 postfix-local[5503]: postfix-local:
    from=thermo-ta-ftp@server1.onlinehome-server.com, to=info@company.com,
    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: info@company.com
    Aug 2 05:52:27 server1 postfix/pipe[5501]: C2187750: to=<info@company.com>,
    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[]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax
    Secure Certificate Authority
    Aug 2 05:52:29 server1 postfix/smtp[5502]: C2187750: to=<regular.address@gmail.com>,
    relay=gmail-smtp-in.l.google.com[]: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
    Aug 2 05:52:29 server1 postfix/qmgr[32727]: C2187750: removed