jakjr a écrit :
Hello,
I am using virtual_alias_maps to implement a simple mailing list.
l...@example.com, after virtual_alias_maps is aliased to
us...@example.com and us...@example.com.
local_recipient_maps prevents the reception of unknown users and, in
my case, disabled users too.
So, if I disable a us...@example.com, he stops receiving email.
(because local_recipient_maps in smtpd). But, if I send a email to
l...@example.com he still receiving the emails (because the result of
a virtual_alias_maps is not check again in local_recipient_maps).
then remove it from the list alias. fix the problem at the source.
you can script this. or, if your are using a dynamic map (sql, ...),
you can adjust your quries to do this for you (not return invalid users).
I would like a way to re-check this results.
smtpd does not expand virtual aliases.