Claus Beerta <[EMAIL PROTECTED]> wrote:
> 
> Is there any way to run mails through a script after or before
> it enters qmail-inject?
> What i want, is to parse a Mail, and to remove unwanted 
> characters from the mail.

Use Bruce Guenter's QMAILQUEUE patch.  It lets you put whatever filters you
like in the middle of the qmail pipeline.

> The original problem i have, is that some remote smtp
> servers weren't happy with dos formatted mails (\n\r)
> it seems that those \n\r were removed, therefore
> the mail showed up in one single line.

The SMTP standard requires CRLF line endings.  What you've got above doesn't
match that.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to