Re: Corrupted e-mails

2004-08-20 Thread Jonathan Belson
Hiya

 Here is my .qmail, which runs SpamAssassin on the incoming e-mail for
 this account:

 |/usr/local/bin/spamassassin | /usr/local/bin/maildir /home/jon/Maildir/
 #./Maildir/

 well, Jon, if you look above the # in a dot qmail file means to drop the
 email and not deliver.

I don't quite understand what you're saying.  The second line is commented
out; the first line tells qmail to pipe the e-mail through spamassassin,
then write the result to my Maildir (using maildir).

 also, you are running S/A as a very expensive daemon above, calling the
 main S/A for each mail received...

My server is a 1GHz Athlon that spends a lot of its time twiddling its
thumbs...

 If you must do it this way, please see

 http://www.magma.com.ni/~jorge/spamassassin.html

That's the page I got my .qmail config from.  The only difference is that
I don't use the '-P' flag since it's now the default for SA.

Just to emphasise: my Qmail/Spamassassin setup has worked fine for years;
it's only relatively recently that a very small number of e-mails have
been getting corrupted.

 I think a better way is to use the S/A client in a .qmail file, and have
 the S/A daemon running... A very nice way to do this is at.

 http://www.gbnet.net/~jrg/qmail/ifspamh/

Thanks, I'll take a look.

Cheers,

--
Jon


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Corrupted e-mails

2004-08-18 Thread Jonathan Belson
Hiya

For the last few months, I've had a problem where a small number (less
than ~1 in 1000) of e-mails get corrupted.  All I have in my Maildir
is something like the following two lines:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]

In case case it's a spam so it's no great loss, but I've had it happen
to important e-mails too.

Here are the appropriate lines from my maillog:

Aug 18 05:35:17 dookie qmail: 1092803717.270465 new msg 2018
Aug 18 05:35:17 dookie qmail: 1092803717.270808 info msg 2018: bytes 6860
from [EMAIL PROTECTED] qp 66137 uid 82
Aug 18 05:35:17 dookie qmail: 1092803717.283085 starting delivery 1895:
msg 2018 to local [EMAIL PROTECTED]
  snip
Aug 18 05:35:32 dookie qmail: 1092803732.535421 end msg 2018

The original e-mail looks to have been ~6.5kB.

Here is my .qmail, which runs SpamAssassin on the incoming e-mail for
this account:

|/usr/local/bin/spamassassin | /usr/local/bin/maildir /home/jon/Maildir/
#./Maildir/

I'm inclined to blame SpamAssassin since I saw a similar problem when
I had it misconfigured before - that was easy to track down since it
wrote error messages in the system log left (missing p5 package).  This
time there are no error messages, and the problem only occurs very
occasionally.

Has anyone else seen this before?  Any clues on what could be going
wrong?  Disabling SpamAssassin would make e-mail unusable since I
get hundreds of spam e-mails a day.

Cheers,

--Jon

http://www.witchspace.com


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Corrupted e-mails

2004-08-18 Thread Gary
On Wed, Aug 18, 2004 at 09:54:15AM +0100 or thereabouts, Jonathan Belson wrote:
 
 For the last few months, I've had a problem where a small number (less
 than ~1 in 1000) of e-mails get corrupted.  All I have in my Maildir
 is something like the following two lines:
 
 Here is my .qmail, which runs SpamAssassin on the incoming e-mail for
 this account:
 
 |/usr/local/bin/spamassassin | /usr/local/bin/maildir /home/jon/Maildir/
 #./Maildir/
 
 I'm inclined to blame SpamAssassin since I saw a similar problem when
 I had it misconfigured before - that was easy to track down since it
 wrote error messages in the system log left (missing p5 package).  This
 time there are no error messages, and the problem only occurs very
 occasionally.
 
 Has anyone else seen this before?  Any clues on what could be going
 wrong?  Disabling SpamAssassin would make e-mail unusable since I
 get hundreds of spam e-mails a day.

well, Jon, if you look above the # in a dot qmail file means to drop the
email and not deliver. 

also, you are running S/A as a very expensive daemon above, calling the
main S/A for each mail received... 

If you must do it this way, please see 

http://www.magma.com.ni/~jorge/spamassassin.html

I think a better way is to use the S/A client in a .qmail file, and have
the S/A daemon running... A very nice way to do this is at.

http://www.gbnet.net/~jrg/qmail/ifspamh/

You can put this in any or all .qmail- files you have, and this works
well. 
 

-- 
Gary


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]