Hi,
This is something I'd be interested in too - and I suspect
others on the list, so please don't take the discussion "Offline".
I was looking at exactly this a while back, with a view to
manipulating E-mail messages to add e.g. "This E-mail
brought to you by... etc.". I didn't look in depth, but a
couple of issues I noticed were,
- What to do with multipart messages
- What to do with non-plaintext messages
which meant that my thoughts ended up being
directed towards only "text/plain" messages, and
avoiding 'Messing' with anything else for fear of
corrupting someone's mail.
The fact that at the time I was looking at implementing
this on a sendmail-based system meant that I never
actually got anywhere. Qmail looks so much easier,
however...
cheers,
Andrew Richards.
----------
From: Jacek Czerwinski[SMTP:[EMAIL PROTECTED]]
Sent: Dienstag, 02. M�rz 1999 00,15
To: [EMAIL PROTECTED]
Subject: Re: Parsing all OUTGOING messages
> I want to either add a line to the bottom of every outgoing message or
edit
> the subject line of everyoutgoing message.
>
> I want all incoming messages to be left alone,
>
> Where should I place a program in the stream to parse all outoging
messages
> and edit the subject or maybe and an organization tag line to the end of
a
> message?
>
> Any suggestions?
I use a serialmail packet (www.qmail.org) like in 'howto' and parse &
rewrite all messages in normal ppp-alias Maildir (external loop in shell,
message parser in perl). Basic qmail structure is unmodified.
If You don't use serialmail, you need to modify qmail 'kernel' modules. If
You do, I am very interesting, please mail me. I think, DJB will don't like
it ;-)