Postby graemef » Sun Oct 23, 2005 8:28 pm
If I send an email from 127.0.0.1 sendmail picks it up and runs it through spamassassin (I get these from ClamAV health script etc. These emails actually don't go to scalix, rather they wind up in root@localhost in the standard unix mailbox, interestingly enough Sendmail never seems to get a look in ? Log follows.
------------------
Oct 24 08:19:01 penguin2 clamd[25994]: /tmp/clamdwatch-R3p8yGdh1EuLa8i8: Eicar-Test-Signature FOUND
Oct 24 08:19:02 penguin2 spamd[32070]: connection from localhost.localdomain [127.0.0.1] at port 52413
Oct 24 08:19:02 penguin2 spamd[32070]: info: setuid to nagios succeeded
Oct 24 08:19:02 penguin2 spamd[32070]: processing message (unknown) for nagios:102.
Oct 24 08:19:02 penguin2 spamd[32070]: clean message (1.1/5.0) for nagios:102 in 0.0 seconds, 5 bytes.
Oct 24 08:19:02 penguin2 spamd[32070]: result: . 1 - MISSING_SUBJECT scantime=0.0,size=5,mid=(unknown),autolearn=no
-----------------
Sending an email from external sources sendmail does grab it, it gets scanned for virus and delivered, not spammassassined. Logs follow.
------------------
Oct 24 08:21:32 penguin2 sendmail[10288]: NOQUEUE: connect from localhost.localdomain [127.0.0.1]
Oct 24 08:21:34 penguin2 sendmail[10288]: j9O0LWET010288: from=<greydog_11@hotmail.com>, size=1208, class=0, nrcpts=1, msgid=<BAY114-F1129977881FC0F145AC7E7F5770@phx.gbl>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Oct 24 08:21:34 penguin2 sendmail[10285]: j9O0LVb4010285: to=<graemef@mydomain.com.au>, delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=31012, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j9O0LWET010288 Message accepted for delivery)
Oct 24 08:21:35 penguin2 sendmail[10292]: j9O0LWET010288: to=<graemef@mydomain.com.au>, delay=00:00:01, xdelay=00:00:00, mailer=scalix, pri=121208, relay=any, dsn=2.0.0, stat=Sent (Ok)
Oct 24 08:21:35 penguin2 clamd[25994]: /var/opt/scalix/data/0000069/0021e8h: OK
Oct 24 08:21:35 penguin2 sendmail[10292]: j9O0LWET010288: done; delay=00:00:01, ntries=1
Oct 24 08:21:35 penguin2 clamd[25994]: /var/opt/scalix/data/0000069/0021e8k: OK
------------------
I don'y know if any of this helps.