In principle a good idea, but the implementation is
lacking, and cannot be fixed without additional work in
amavis(d).
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.)
amavis-0.3.12 (just released) and the upcoming amavisd 0.1
won't support this yet, but I'm thinking really hard about
adding
everything necessary for re-injection to to releases after that.
It will probably be based on Furio's patches, and I'll also
write
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have now modified amavis (o.3.x/amavisd) so that the envelope
information is saved in quarantined emails. It's done just
like in
amavis-ng, so the amavis-inject tool from amavis-ng can be
used.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
perl script
Logged In: YES
user_id=28904
In principle a good idea, but the implementation is
lacking, and cannot be fixed without additional work in
amavis(d).
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
and furio.infect.
Logged In: YES
user_id=28904
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
adding
everything necessary for re-injection to to releases after that.
It will probably be based on Furio's patches, and I'll also
write
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).
Logged In: YES
user_id=28904
I have now modified amavis (o.3.x/amavisd) so that the envelope
information is saved in quarantined emails. It's done just
like in
amavis-ng, so the amavis-inject tool from amavis-ng can be
used.