If I send a test message to myself from the box that is running the mail
service then spamassassin works, but if I try the same thing from another
box it doesn't work.

The command I am using in both cases is:
cat spam.txt | mail [EMAIL PROTECTED]

In the first case SA and sendmail logs:
Jun  6 17:16:11 ext sendmail[10572]: g567GBE10572: from=lannet, size=3137,
class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>,
relay=lannet@localhost
Jun  6 17:16:11 ext spamd[10051]: connection from localhost.localdomain [
127.0.0.1 ] at port 1955
Jun  6 17:16:12 ext spamd[10578]: identified spam (5.1/5.0) for lannet:500
in   1 seconds.
Jun  6 17:16:12 ext sendmail[10574]: g567GBE10572:
[EMAIL PROTECTED], ctladdr=lannet (500/500), delay=00:00:01,
xdelay=00:00:01, mailer=local, pri=33137, dsn=2.0.0, stat=Sent


and in the second case it logs:
Jun  6 17:15:01 ext sendmail[10514]: g567F1t10514:
from=<[EMAIL PROTECTED]>, size=3426, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, proto=ESMTP,
daemon=MTA, relay=lan-255-17.lannet.com.au [192.168.255.17]
Jun  6 17:15:02 ext spamd[10051]: connection from localhost.localdomain [
127.0.0.1 ] at port 1953
Jun  6 17:15:02 ext spamd[10519]: Still running as root: user not
specified, not found, or set to root.  Fall back to nobody.
Jun  6 17:15:02 ext sendmail[10515]: g567F1t10514:
to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=local,
pri=33119, dsn=2.0.0, stat=Sent

Any ideas?

-- 
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com
"Life is like a hot bath - it's great when you're in it,
 but the longer you stay the more wrinkled you become."
  - Garfield

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to