[Mimedefang] email forwarding and subject line capture...

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Fri Jul 2 01:57:07 EDT 2004


On Thu, 1 Jul 2004, john at essenz.com wrote:

> The first one is to capture the subject line (first 25 chars) of emails
> that get tagged as spam - will write it out with md_syslog.  I tried this
> before and sort of got it to work, I was only able to capture the subject
> of "some" emails, other came in blank even though there was a known
> subject.

Maybe the lines are MIME encoded? Look at MIME::WordDecoder, for instance.

> The second is a little more complicated. When email is tagged as spam, I
> still want to do an action_bounce, but I also want to deliver an untouched
> copy of the email to another address exempt from spam filter. So I would

Hmm, to search the archives for "spamtrap" should get plenty of hits.
The resend_message () function does exactly what you want.

Bye,

-- 
Steffen Kaiser



More information about the MIMEDefang mailing list