get a copy of rejected message

Patrick Proniewski patrick.proniewski at univ-lyon2.fr
Thu Mar 14 08:02:39 CET 2019


On 13 Mar 2019, at 18:05, Marc Pujol <kilburn at la3.org> wrote:
> 
> 
> A 13/03/2019 16:45, Patrick Proniewski escrigué:
> 
>> Ok, any idea how I should proceed? To my knowledge "quarantine" makes
>> Postfix accept the message, then can't trigger a REJECT on outer SMTP.
> 
> Message fate and quarantining are independent concepts. You can even
> quarantine clean messages while passing them normally.
> 
> In your case, keep the settings you already have and add:
> 
> # the [ip]:port here should be the same as the $forward_method for
> # clean e-mails
> $spam_quarantine_method = 'local:[127.0.0.1]:10025';
> $spam_quarantine_to = 'archive at yourdomain.tld';
> 
> More info at:
> 
> https://www.ijs.si/software/amavisd/amavisd-new-docs.html#quarantine


Hoooo. Thanks a lot. It works really great, it never occurred to me final_spam_destiny had nothing to do with quarantine. You made my day.

thanks again!

Patrick



More information about the amavis-users mailing list