Hi,
The problem is that a rejected recipient produces a mailer-daemon reply.
You need to get rid of them.
My approach is to reject them in smtp dialogue. I generate a list of
valid recipient addresses by script automatically and use this (hashed)
list in smtpd_recipient_restrictions:
...
check_recipient_access hash:/etc/postfix/known_users,
...
Format of the file is one address per line with DUNNO to accept or an
smtp error code to reject:
h...@example.com DUNNO
wu...@example.com 554 Benutzer unbekannt - User unknown.
If your users are in an ldap you can query that to check if the
recipient address is valid or not.
Hope this helps ;-)
Groetjes
Claus
--
Claus R. Wickinghoff, Dipl.-Ing.
using Linux since 1994 and still happy... :-)