Imam Toufique skrev den 2017-10-09 19:25:
not sure how to do that. Can you please tell me how to do that? I
want all e-mails (in this example... ) from gmail.com [2] to be
deleted/discarded as soon as SA scans them.
then add it to mta stage to reject *@gmail.com as sender, rejects is not
what spamassassin is designed to do, if you reject in amavisd you will
reject mail to a forged sender :/
do not do this
it's safe to reject in mta stage, so keep it there
and do not use amavisd as a spam scanner, this is basily broken since
day one, it fine as a spam controller, but not as a spam scanner
amavisd with amavisd-milter can safely reject mails that are spam just
like mta can, but not possible if done in after queue setups
more help ask on amavisd maillist