Recipient address rejected: unverified address

nicknack

New Member
Aug 31, 2021
2
0
1
47
Hi,...
newcomer to proxmox here..( and postfix )
I've search the forums and find similar questions about this topic.

I too, got mails rejected because i turned this option On ( with 550 error ) on PMG.
If i turn this off, the mails got through to recipients ( existent / nonexistent ).

But what i want to achieve is, how to make pmg really verify the recipients exist,
then deliver the mail, OR reject the mails, if the recipient is nonexistent.
That is why i want to turn on the verify recipient, hence the processing is at pmg,
without bothering the real mailserver to process it.

Thank you so much.
 
But what i want to achieve is, how to make pmg really verify the recipients exist,
then deliver the mail, OR reject the mails, if the recipient is nonexistent.
This is how recipient verification usually works - PMG (postfix) tries to deliver a mail to the recipient on your downstream server
if the downstream server responds with an ok code (250) after the `RCPT TO` command - the address is assumed to exist and is added to the cache as 'exists' - if the downstream server responds with an error code (550) it is assumed to not exist and added to the cache as well (as not existing)

The verification process is really well described in the postfix documentation:
http://www.postfix.org/ADDRESS_VERIFICATION_README.html

from your description I would assume that your downstream server is not responding correctly to the address verification probes (some MS Exchange version for example always answer with 250 for example, even for not existing addresses)

However it is not really possible to diagnose this further - without the logs of such a mail (from the PMG side)

I hope this helps!
 
This is how recipient verification usually works - PMG (postfix) tries to deliver a mail to the recipient on your downstream server
if the downstream server responds with an ok code (250) after the `RCPT TO` command - the address is assumed to exist and is added to the cache as 'exists' - if the downstream server responds with an error code (550) it is assumed to not exist and added to the cache as well (as not existing)

The verification process is really well described in the postfix documentation:
http://www.postfix.org/ADDRESS_VERIFICATION_README.html

from your description I would assume that your downstream server is not responding correctly to the address verification probes (some MS Exchange version for example always answer with 250 for example, even for not existing addresses)

However it is not really possible to diagnose this further - without the logs of such a mail (from the PMG side)

I hope this helps!

Hi, Thanks for your reply.

I think I must've done something wrong the first time right after fresh installation,
because pmg rejected both valid / non valid recipient address.

Somehow, pmg now does the intended behaviour.. ( reject invalid, deliver valid addresses ).
I've checked the mailserver too, it does deny the invalid address, but with 554 error tho'.
The mailserver is running qmail ( yes.. qmail :D ), with spamdyke.
I restarted the pmg this time after i made the changes.. maybe that is why ?
Still browsing through the docs for checking logs, etc

Gonna try with additional domain now...
Thank you for the help !
 
I restarted the pmg this time after i made the changes.. maybe that is why ?
hm PMG should restart all relevant services if you change the config in the gui - else you need to run `pmgconfig sync -restart 1`

but glad it works for now - if something does not work with the other domain - post here (with the logs)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!