nilsringersma_nl
Basic Pleskian
Dear all,
I have a question about setting the return path ( envelope from ) for Plesk notification emails. I tried the documentation and KB but did not find any results. Please assist.
Context:
Plesk sends emails, i.e. when a backup task fails or completes with errors. Those emails are sent to a pre-defined address.
Problem:
On my Plesk server I'm using a relayfilter for Postfix in order to scan my outbound e-mails. The emails for the backup task are being blocked due to sender-verification which verifies the return-path / envelope from.
Log:
maillog.processed:Nov 23 21:49:06 vps-xxx-xxx postfix/smtp[23779]: 4842742187: to=<[email protected]>, relay=my.relayhost.com[11.222.33.444]:587, delay=0.14, delays=0.02/0.01/0.02/0.08, dsn=5.0.0, status=bounced (host my.relayhost.com[11.222.33.444] said: 550-Verification failed for <[email protected]> 550-Called: 555.66.77.88 550-Sent: RCPT TO:<[email protected]> 550-Response: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in virtual mailbox table 550 Invalid sender <[email protected]> (in reply to MAIL FROM command))
Question:
With my (edited) log above we can conclude that my relayhost is bouncing the message due to failing on sender verification. This is because the mailbox "[email protected]" does not exist. Also we can see the bounce itself fails, but thats logical.
I don't want to edit my servers hostname or create the mailbox. I rather want to force the return-path in Plesk configuration. ( similar to the way we can do this for a subscription's PHP-settings with the mail force extra params ).
- Is this possible?
- How can we do this?
Please note, just setting the "FROM header" is insufficient in this case because the relayhost needs to verify the existence of the return path.
Any tips or alternatives appreciated!
I have a question about setting the return path ( envelope from ) for Plesk notification emails. I tried the documentation and KB but did not find any results. Please assist.
Context:
Plesk sends emails, i.e. when a backup task fails or completes with errors. Those emails are sent to a pre-defined address.
Problem:
On my Plesk server I'm using a relayfilter for Postfix in order to scan my outbound e-mails. The emails for the backup task are being blocked due to sender-verification which verifies the return-path / envelope from.
Log:
maillog.processed:Nov 23 21:49:06 vps-xxx-xxx postfix/smtp[23779]: 4842742187: to=<[email protected]>, relay=my.relayhost.com[11.222.33.444]:587, delay=0.14, delays=0.02/0.01/0.02/0.08, dsn=5.0.0, status=bounced (host my.relayhost.com[11.222.33.444] said: 550-Verification failed for <[email protected]> 550-Called: 555.66.77.88 550-Sent: RCPT TO:<[email protected]> 550-Response: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in virtual mailbox table 550 Invalid sender <[email protected]> (in reply to MAIL FROM command))
Question:
With my (edited) log above we can conclude that my relayhost is bouncing the message due to failing on sender verification. This is because the mailbox "[email protected]" does not exist. Also we can see the bounce itself fails, but thats logical.
I don't want to edit my servers hostname or create the mailbox. I rather want to force the return-path in Plesk configuration. ( similar to the way we can do this for a subscription's PHP-settings with the mail force extra params ).
- Is this possible?
- How can we do this?
Please note, just setting the "FROM header" is insufficient in this case because the relayhost needs to verify the existence of the return path.
Any tips or alternatives appreciated!