Allen Coates:
> I am not sure that it would scale very well, but I use a file called
> "valid_users":
>
> valid_users:
> [email protected] DUNNO
> ... etc
> [email protected] DUNNO
> [email protected] DUNNO
> ... etc
> example.com REJECT Invalid address
>
>
> and in main.cf:
> check_sender_access hash:/etc/postfix/valid_users,
> check_recipient_access hash:/etc/postfix/valid_users,
>
> It is VERY effective on my "toy" server; if you could automate the
> creation of the valid_user file, it might just work for you.
I suggest:
/etc/postfix/main.cf:
smtpd_reject_unlisted_sender = yes
Maybe it's time to make that the default.
Wietse