Stephen Gran on 15 Jun 2004 14:08:03 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Spamassassin not working (Showing error "Invalid usage in maillog)


On Mon, Jun 14, 2004 at 11:13:15AM -0800, Jacob Varghese said:
> Hi,
> 
> I need help.
> 
> 1. I have installed spamassassin and spamass-milter
> 
> 
> 2. Configured it with sendmail
> 
> Added followind line in sendmail.mc
> 
> INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock, 
> F=,T=C:15m;S:4m;R:4m;E:10m')
> 
> and then run "m4 /etc/mail/sendmail.mc > /etc/sendmail.cf"
> 
> 3.Restarted sendmail
> 
> 4.Send a test message
> 
> 
> 
> But when i check maillog, it is found that spamassassin is not working. any 
> idea?
> 
> Jun 14 14:43:12 xxxxxx sendmail[5015]: i5EIhAM05012: to=jacob@email.com, 
> ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, 
> pri=60079, relay=email-com.mr.outblaze.com. [], dsn=2.0.0, stat=Sent (Ok: 
> queued as 91FFA538F4)
> Jun 14 14:43:12 xxxxxx spamc[5018]: invalid usage
> Jun 14 14:43:12 xxxxxx sendmail[5015]: i5EIhAM05012: to=root@xxxxxx.net, 
> ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:00, mailer=local, 
> pri=60079, dsn=2.0.0, stat=Sent
> 
> I have tried different versions of spamassasin. Same message is displayed 
> for all.

How are you calling spamass-milter?  What options are passed, etc.?  It
does look like spamc is getting called for some reason, and no the
milter, but perhaps the milter logs as spamc for some reason.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Look at it this way: Your wife's        |
|  steve@lobefin.net             | spending $280 a month on meditation     |
|  http://www.lobefin.net/~steve | lessons to forget $26,000 of college    |
|  			         | education. And you're still drinking    |
|  			         | ordinary scotch?                        |
 --------------------------------------------------------------------------

Attachment: pgpkCjvtqtSyj.pgp
Description: PGP signature