You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Quinn Comendant <qu...@strangecode.com> on 2011/05/22 04:37:19 UTC
spamc -h received in message body
Anybody seen this before?
We have a client on our mail server who occasionally and randomly receives emails which contain nothing other than the output from `spamc --help` (see output at <http://pastie.textmate.org/private/6gb0ymmqpyw7mee39sespg>). Nothing* in our log files match up with the arrival of these messages, and the client claims they don't coincide with any action on their part. They're able to receive and send message normally. These messages only occur about once every couple days.
*There is one thing, but it doesn't occur at the same time as the headers of the message received:
2011-05-20 08:25:55.827900500 [13887] warn: auto-whitelist: open of auto-whitelist file failed: child processing timeout at /usr/bin/spamd line 1262.
Quinn
Re: spamc -h received in message body
Posted by fluffy <fl...@thesticks.com>.
What version are you running? That may be tcp time out.. Meaning it
tossed to auto-whitelist and that hung due to a bad call out. Do you
have the correct IP address configured for it?
On Sat, 21 May 2011 19:37:19 -0700, Quinn Comendant wrote:
> Anybody seen this before?
>
> We have a client on our mail server who occasionally and randomly
> receives emails which contain nothing other than the output from
> `spamc --help` (see output at
> <http://pastie.textmate.org/private/6gb0ymmqpyw7mee39sespg>).
> Nothing*
> in our log files match up with the arrival of these messages, and the
> client claims they don't coincide with any action on their part.
> They're able to receive and send message normally. These messages
> only
> occur about once every couple days.
>
> *There is one thing, but it doesn't occur at the same time as the
> headers of the message received:
> 2011-05-20 08:25:55.827900500 [13887] warn: auto-whitelist: open of
> auto-whitelist file failed: child processing timeout at
> /usr/bin/spamd
> line 1262.
>
> Quinn
Re: spamc -h received in message body
Posted by Quinn Comendant <qu...@strangecode.com>.
On Sat, 21 May 2011 19:37:19 -0700, Quinn Comendant wrote:
> We have a client on our mail server who occasionally and randomly
> receives emails which contain nothing other than the output from
> `spamc --help`
I found the cause of this problem. The client was using a catch-all address, and was receiving mail addressed to "--chico.volunteer@caring-choices.org" (with double dashes in front). It seems our MTA should filter for that address; is it even valid? I'll suggest that the client disable the catch-all and setup specific, valid aliases for the domain.
Quinn
Re: spamc -h received in message body
Posted by Quinn Comendant <qu...@strangecode.com>.
On Sat, 21 May 2011 19:37:19 -0700, Quinn Comendant wrote:
> We have a client on our mail server who occasionally and randomly
receives emails which contain nothing other than the output from
`spamc --help`
I found the cause of this problem. The client was using a catch-all address, and was receiving mail addressed to "--username@client-domain.org" (with double dashes in front). It seems CHKUSER should filter for such bogus addresses; is it valid? I'll suggest that the client disable the catch-all and setup specific, valid aliases for the domain.
I've posted the raw email here:
http://pastie.textmate.org/private/68bokw2tmauf2soczq
The catch-all is not the problem; it is something to do with the way simscan is passing the message to clamc that an email addressed to --local@domain is interpreted as an invalid argument. This brings up the worry that the sender of the message might be able to modify the parameters passed to clamc in dangerous ways? (Running the message through spamc manually `spamc -R < spam.eml` doesn't cause any errors.)
Actually, I can't intentionally cause this to make an error if I send a test message to `--chico.volunteer@client-domain.org.` The email address is interpreted normally and the email delivers fine. So it may not be only that `--` precedes the local part of the email address, but something unique in the SMTP transaction that I'm not replicating.
Q
Re: spamc -h received in message body
Posted by Bowie Bailey <Bo...@BUC.com>.
On 5/21/2011 10:37 PM, Quinn Comendant wrote:
> Anybody seen this before?
>
> We have a client on our mail server who occasionally and randomly receives emails which contain nothing other than the output from `spamc --help` (see output at <http://pastie.textmate.org/private/6gb0ymmqpyw7mee39sespg>). Nothing* in our log files match up with the arrival of these messages, and the client claims they don't coincide with any action on their part. They're able to receive and send message normally. These messages only occur about once every couple days.
>
> *There is one thing, but it doesn't occur at the same time as the headers of the message received:
> 2011-05-20 08:25:55.827900500 [13887] warn: auto-whitelist: open of auto-whitelist file failed: child processing timeout at /usr/bin/spamd line 1262.
Check how you are calling spamc. If the spamc call gets bad options for
one reason or another, you could get that output.
--
Bowie