A simple script to reinject mail into the
non-content-filtering postfix for a specified amavis id.
The scripts could be more elaborated to see current
queue and so on...
But it works.
Logged In: YES
In principle a good idea, but the implementation is
lacking, and cannot be fixed without additional work in
The problem is that you have already lost all envelope
information when mails are quarantined. Sending such
messages to the addresses found in To: is plain wrong.
(And I also think your simplistic extraction method does
in the general case not produce email addresses in a form
usable for SMTP.)
Take a look at http://www.amavis.org/contrib/, furio.patch
I'm closing this report now.
amavis-0.3.12 (just released) and the upcoming amavisd 0.1
won't support this yet, but I'm thinking really hard about
everything necessary for re-injection to to releases after that.
It will probably be based on Furio's patches, and I'll also
a small per-based mailq-alike to list the contents of the
quarantine dir (there isn't a queue as such, and won't be).
I have now modified amavis (o.3.x/amavisd) so that the envelope
information is saved in quarantined emails. It's done just
amavis-ng, so the amavis-inject tool from amavis-ng can be