Patrick Shanahan wrote:
* Stefan Suurmeijer
[06-04-04 06:52]: I've just installed SuSE 9.1 on a machine and want to migrate my mailserver to it. But I'm running into a problem: I can't get spamassassin to work. I've started out with the default spamassassin included with the distribution. All seems to go well: I connect to sendmail, the milter nicely works (I use milter-spamc from www.snert.org), I tried a non-rfc-compliant sender address to verify this (see logging below). After completion of the message, the milter hands it off to spamassassin and nothing happens.
Just a thought, but your post give *no* indication that spamd does not work. Why have you reached this conclusion or is the subject not what your intended? If it is, *is* spamd running? There is no indication in your logs that spamd has failed or was inaccessible.
If you look at the logs in my first mail, you see that the milter receives and then sends the message to spamd (which is running of course, or there would be an error message, error connecting to socket). Spamd should then scan the message and add headers (example included below from my old (9.0) server that is working correctly). I can only see that sendmail is working, the milter is working and yet no spam checks are being done. That's why I concluded that spamd handling isn't working. Jun 4 15:00:33 lin02 spamd[1194]: connection from localhost [127.0.0.1] at port 13747 Jun 4 15:00:33 lin02 sendmail[11358]: i54D0WuQ011358: milter=milter-spamc, action=body, continue Jun 4 15:00:33 lin02 sendmail[11358]: i54D0WuQ011358: Milter (milter-spamc): body, sent Jun 4 15:00:33 lin02 spamd[11361]: info: setuid to stefan succeeded Jun 4 15:00:33 lin02 spamd[11361]: processing message <40C0726E.1030905@rc.rug.nl> for stefan:1000. Jun 4 15:00:34 lin02 sendmail[11358]: i54D0WuQ011358: Milter add: header: X-Spam-Checker-Version: SpamAssassin 2.61 (1. 212.2.1-2003-12-09-exp) on\n\tlin02.rc.rug.nl Jun 4 15:00:34 lin02 sendmail[11358]: i54D0WuQ011358: Milter add: header: X-Spam-Status: No, hits=-57.3 required=3.0 te sts=AWL,BAYES_00,\n\tUSER_IN_WHITELIST autolearn=ham version=2.61 Jun 4 15:00:34 rc-lin02 sendmail[11358]: i54D0WuQ011358: Milter add: header: X-Spam-Level: The first line of this log especially is important: spamd has received the message and is checking it. I've configured everything on the other server exactly the same way, and yet I don't see any logging lines indicating that spamd is processing the mail. Somehow the connection to spamd fails. Stefan