mangled SMTP headers with spamassassin / qmail / debian stable (long)

Michael Coburn michael-3aH0qR8MVRD3fQ9qLvQP4Q at public.gmane.org
Thu Dec 11 02:56:55 UTC 2003


The original qmail-queue file (as compiled by qmail-src) is an ELF binary,
was never a script.  I replaced it with a cheap hack of a script to
squeeze spamassassin into the mix, then pass it along the Dr Bernstein way
of doing SMTP.
Why qmail?  Because I didn't want to run sendmail while on Red Hat, so I
picked the #2 MTA on the market.  And other than the cheap qmail-queue
hack, it is compliant:apt-get install ucspi-tcp
apt-get install qmail-src

I'll take a look at exim.  Thanks for the tip :)
-- 
michael

Lennart Sorensen said:
> On Wed, Dec 10, 2003 at 04:26:43PM -0500, Michael Coburn wrote:
>> Hi, after re-reading my email I might have left out one piece.  The
> mail
>> coming into the relay machine is pushed to qmail via a shell script
> called
>> /var/qmail/bin/qmail-queue:----
>> #!/bin/sh
>> /usr/bin/spamc | /var/qmail/bin/qmail-queue.orig
>> ----
>> I moved the original binary file qmail-queue to qmail-queue.orig .
>>
>> When I remove the shell script and rename the .orig file back to
>> qmail-queue, the system relays i.e. all SMTP header info is correct.
> Any
>> ideas?--
>
> Your script changes are broken?
>
> What is the difference between the original and the new scripts?
>
> Is it OK to ask: Why qmail when exim is available?  And you could at
> least use a debian compliant qmail :)
>
> Lennart Sorensen
> (Happy exim + mailscanner + spamassassin + Maildir user)
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml



--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list