On Thu, May 09, 2002 at 08:53:06PM +0000, Alexander Skwar wrote:
| »Sidney Markowitz« sagte am 2002-05-09 um 11:57:45 -0700 :
| > Ok, let's try again without the corruption. It appears you missed the
| > later line in which I said how to fix the problem, so I'll start with
| > that:
| 
| Thanks!
| 
| > Add the option '-F 0' to the call to spamd or spamassassin, whichever
| > you use.
| 
| Sorry, I can't control how spamassassin is called.  Looking at
| /etc/exim.conf, I see:
| 
| virtual_sa_userdelivery:
|   driver = pipe
|   environment = 
|"MAIL=${extract{5}{:}{${lookup{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}lsearch{/etc/passwd}{$value}}}}/mail/${local_part}/inbox"
|   delivery_date_add
|   envelope_to_add
|   return_path_add
|   user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
|   group = mail
|   return_output
|   command = /usr/bin/spamassassin -w $sender_address

So they're having SA handle delivery rather than being merely a
filter.  I bet that contributes to the problem.
 
| So I think that it's called with "-F 1"?

The -F1 is a spamd option.  The 'spamassassin' script doesn't take
that option.

| > Aside from that, are you sure that even without SA in the picture you
| 
| Yes, I am.  But I'll double check.

How about posting a sample of the corrupted mailbox?  That might give
a clue as to precisely _what_ the corruption is, rather than simply
seeing fetchmail's warning message.
 
| > are not seeing corruption of messages with an embedded \nFrom line? It
| > sure sounds like fetchmail is using a delivery agent that does not know
| > that the mail is ending up in an mbox, otherwise embedded \nFrom lines
| > would be escaped.
| 
| On my local system, I'm using Maildir.  fetchmail gets the mail,
| delivers it to postfix, which will call procmail and which will then
| deliver it to Maildirs.

Could you simply use SA on your local system instead of your ISPs?
Alternatively, can you convince the ISP to correct their setup?  My
recommended config is published at
http://dman.ddts.net/config_docs/exim4_spamassassin.html.

-D

-- 

"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix
 
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg

Attachment: msg04752/pgp00000.pgp
Description: PGP signature

Reply via email to