get a copy of rejected message

Marc Pujol shadow+amavis at
Wed Mar 13 18:18:02 CET 2019

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:[]:10025';
$spam_quarantine_to = 'archive at yourdomain.tld';

More info at:

More information about the amavis-users mailing list