Hi,

I thought that postfix would receive information about non-existent users via 
that protocol, but I guess it doesn’t and ends up just accepting everything.

These are two different things:

1. postfix gets the e-mail from the internet via smtp and puts in his queue. From this point on postfix is in charge for the proper delivery.

2. postfix connects via lmtp to dovecot and tries to deliver the e-mail there. If dovecot rejects it, it's still postfix task to produce a non delivery notification.

The only way is to reject it in step 1 during the connection from the outside by asking any backend for verification. I think this can be achieved with reject_unverified_recipient to query dovecot via lmtp but I've no practical experience with this. Probably you've to do some googling...

Groetjes
   Claus



--
Claus R. Wickinghoff, Dipl.-Ing.
using Linux since 1994 and still happy... :-)

Reply via email to