antonio.abansys
New Pleskian
- Server operating system version
- CentOS7
- Plesk version and microupdate number
- obsidian 18.0.48
Hi to all,
I have a problem with postfix on plesk, Im trying to send a email to example@external.com from example@local.com and when I check the logs I can see that is trying to resolv as a local address.
I paste the log (I reemplace the real hosted address to local.com and external as external.com)
I saw a KB that said to comment the postfix/main.cf lines and restart postfix and apache but nothing happend
I never have hosted the external address any idea?
I have a problem with postfix on plesk, Im trying to send a email to example@external.com from example@local.com and when I check the logs I can see that is trying to resolv as a local address.
I paste the log (I reemplace the real hosted address to local.com and external as external.com)
Code:
Dec 15 15:35:17 h0220 psa-pc-remote[16562]: 3335D10782FC1: from=<example@local.com> to=<example@external.com>
Dec 15 15:35:17 h0220 postfix/cleanup[26782]: 3335D10782FC1: filter: header Received: from webmail.local.com (localhost.localdomain [127.0.0.1])??by h0220 (Postfix) with ESMTPSA id 3335D10782FC1??for <example@external.com>; Thu, 15 Dec 2022 15:35:17 +010 from localhost.localdomain[127.0.0.1]; from=<example@local.com> to=<example@external.com> proto=ESMTP helo=<webmail.local.com>: plesk_virtual:[127.0.0.1]:12346
Dec 15 15:35:17 h0220 postfix/cleanup[26782]: 3335D10782FC1: filter: header To: example@external.com from localhost.localdomain[127.0.0.1]; from=<example@local.com> to=<example@external.com> proto=ESMTP helo=<webmail.local.com>: plesk_virtual:[127.0.0.1]:12346
Dec 15 15:35:17 h0220 postfix/cleanup[26782]: 3335D10782FC1: message-id=<148e42fe72525122af293bcd628180ce@local.com>
Dec 15 15:35:17 h0220 psa-pc-remote[16562]: 3335D10782FC1: py-limit-out: stderr: INFO:__main__:Setting 'X-PPP-Vhost' header to 'local.com'
Dec 15 15:35:17 h0220 psa-pc-remote[16562]: 3335D10782FC1: py-limit-out: stderr: PASS
Dec 15 15:35:17 h0220 psa-pc-remote[16562]: 3335D10782FC1: check-quota: stderr: SKIP
Dec 15 15:35:17 h0220 psa-pc-remote[16562]: 3335D10782FC1: spf: stderr: PASS
Dec 15 15:35:17 h0220 postfix/qmgr[23032]: 3335D10782FC1: from=<example@local.com>, size=1368, nrcpt=1 (queue active)
Dec 15 15:35:17 h0220 postfix/smtpd[27432]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Dec 15 15:35:17 h0220 postfix-local[28630]: 3335D10782FC1: from=<example@local.com>, to=<example@external.com>, dirname=/var/qmail/mailnames
Dec 15 15:35:17 h0220 dovecot: imap-login: Login: user=<example@local.com>, method=PLAIN, rip=::1, lip=::1, mpid=28631, TLS, session=<RygOw97vOMgAAAAAAAAAAAAAAAAAAAAB>
Dec 15 15:35:17 h0220 postfix-local[28630]: cannot chdir to domain dir external.com: No such file or directory
Dec 15 15:35:17 h0220 postfix-local[28630]: 3335D10782FC1: Unknown user: example@external.com
Dec 15 15:35:17 h0220 postfix/pipe[28628]: 3335D10782FC1: to=<example@external.com>, relay=plesk_virtual, delay=0.63, delays=0.6/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Dec 15 15:35:17 h0220 postfix/qmgr[23032]: 3335D10782FC1: removed
I saw a KB that said to comment the postfix/main.cf lines and restart postfix and apache but nothing happend
Code:
virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
virtual_mailbox_maps = hash:/var/spool/postfix/plesk/vmailbox