• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk e-mails not fowarding despite settings, help please

zoldos

Basic Pleskian
I have 2 domains and have setup several e-mails in Plesk. I enabled forwarding on them to my primary e-mail. I did not setup a user account or mailbox for them, as I want them only to forward if e-mail is sent to them.

But it does not work. I did need to re-install Postfix today and have verified that my domain(s) are SENDING e-mails, but if I send a message to one of the e-mails I setup, it does not forward.

Any ideas? Thanks!
 
Did you check /var/log/maillog for details on what happens when a mail comes in to one of the addresses in question? It should tell you the reason why the incoming mail is not forwarded and what the system does with it instead of forwarding.
 
Okay thanks! Took a look, and these entries seem interesting. Also, there seems to be an issue sending to Yahoo, so I'll try another address to forward to. In the mean time, please let me know if anything below seems odd:

Code:
Nov 18 15:26:23 eagle556 postfix/smtpd[1443]: NOQUEUE: milter-reject: EHLO from unknown[91.200.12.180]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<User>
Nov 18 15:26:23 eagle556 postfix/smtpd[1443]: lost connection after AUTH from unknown[91.200.12.180]
Nov 18 15:26:23 eagle556 postfix/smtpd[1443]: disconnect from unknown[91.200.12.180] ehlo=1 auth=0/1 commands=1/2

I saw a lot of these from different domains.

Code:
Nov 18 15:26:16 eagle556 postfix[1371]: Postfix is running with backwards-compatible default settings
Nov 18 15:26:16 eagle556 postfix[1371]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Nov 18 15:26:16 eagle556 postfix[1371]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Nov 18 15:26:18 eagle556 postfix/master[1437]: daemon started -- version 3.1.0, configuration /etc/postfix
Nov 18 15:26:23 eagle556 postfix/sendmail[1446]: fatal: zoldos9(10001): No recipient addresses found in message header
Nov 18 15:26:23 eagle556 postfix/pickup[1441]: 5626354E050E: uid=10001 from=<zoldos9>
Nov 18 15:26:23 eagle556 postfix/smtpd[1443]: warning: hostname newsoft101.example.com does not resolve to address 91.200.12.180: Name or service not known
Nov 18 15:26:23 eagle556 postfix/smtpd[1443]: connect from unknown[91.200.12.180]
Nov 18 15:26:23 eagle556 postfix/smtpd[1443]: warning: connect to Milter service inet:127.0.0.1:12768: Connection refused
Nov 18 15:26:23 eagle556 postfix/smtpd[1443]: NOQUEUE: milter-reject: CONNECT from unknown[91.200.12.180]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Nov 18 15:26:23 eagle556 postfix/cleanup[1452]: 5626354E050E: message-id=

Same here.

Code:
Nov 19 00:40:11 eagle556 postfix/trivial-rewrite[21183]: warning: do not list domain xxxxxx.net in BOTH mydestination and virtual_mailbox_domains

Only saw this like once.

:D
 
Code:
Nov 18 15:26:23 eagle556 postfix/smtpd[1443]: warning: connect to Milter service inet:127.0.0.1:12768: Connection refused

Please check if psa-pc-remote service is online:
# service psa-pc-remote status

or
plesk-milter.jpg

If it is online, add the 127.0.0.1 to your fail2ban filter and unban the 127.0.0.1 if it is banned by fail2ban.

If this still does not help, you can try to stop all Plesk services and restart:
# service psa stopall
# service psa start

And finally, if this still does not help, you can try
# plesk repair mail

Does any of this resolve the issue?
 
It shows it's enabled in Plesk Milter, but I get this in console:

Code:
eagle556:~# service psa-pc-remote status
● psa-pc-remote.service
  Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

fail2ban isn't installed.

Stopped/started services, didn't seem to work. And won't "# plesk repair mail" erase/reset all my mail settings? It DOES send, it just won't forward ...
 
plesk repair will not change settings, it will only reconfigure the services with the configuration values that are stored in the Plesk database.
 
Okay, ran repair mail. And this is the exact log entry for my latest forward attempt, this time to a Hotmail address:

Code:
Nov 19 03:44:43 eagle556 postfix/smtpd[32197]: connect from mail-oln040092010070.outbound.protection.outlook.com[40.92.10.70]
Nov 19 03:44:43 eagle556 postfix/smtpd[32197]: 715AE54E31BD: client=mail-oln040092010070.outbound.protection.outlook.com[40.92.10.70]
Nov 19 03:44:43 eagle556 postfix/cleanup[32336]: 715AE54E31BD: message-id=<DM5PR19MB10195148F675C38A01FC7567D72D0@DM5PR19MB1019.namprd19.prod.outlook.com>
Nov 19 03:44:43 eagle556 /usr/lib/plesk-9.0/psa-pc-remote[32137]: handlers_stderr: SKIP
Nov 19 03:44:43 eagle556 /usr/lib/plesk-9.0/psa-pc-remote[32137]: SKIP during call 'check-quota' handler
Nov 19 03:44:44 eagle556 postfix/qmgr[32069]: 715AE54E31BD: from=<[email protected]>, size=8129, nrcpt=1 (queue active)
Nov 19 03:44:44 eagle556 postfix/trivial-rewrite[32335]: warning: do not list domain xxxxx.net in BOTH mydestination and virtual_mailbox_domains
Nov 19 03:44:44 eagle556 postfix/local[32338]: 715AE54E31BD: to=<[email protected]>, relay=local, delay=0.75, delays=0.71/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox)
Nov 19 03:44:44 eagle556 postfix/qmgr[32069]: 715AE54E31BD: removed
Nov 19 03:44:44 eagle556 postfix/smtpd[32197]: disconnect from mail-oln040092010070.outbound.protection.outlook.com[40.92.10.70] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7

Any ideas? How do I correct the "warning: do not list domain in BOTH"? Could that be it?
 
Hmm.....I looked at your link, but couldn't find "virtual_alias_domains" in my main.cf....

BUT, I found something with more info! The below was "returned" on my last attempt:

Code:
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<[email protected]>: unknown user: "vex"

Final-Recipient: rfc822; [email protected]
Original-Recipient: rfc822;[email protected]
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "vex"
 
Back
Top