Setting up SpamAssassin Properly
Posted: Wed Feb 07, 2007 2:16 am
Ok, so I have a simple, yet hugely unanswered question...
What is the correct way to setup Scalix so that SpamAssassin will be able to properly handle all incoming mail?
This sounds simple, and you would probably at first lead me to read the knowledgebase articles found here and here but the problem with both of these solutions is that they include the smtpd.cfg option "SMTPFILTER=TRUE". In my opinion, this is an easy way out, but not a proper solution. I have been using that as a solution for a long time, but the problem is that EVERY email that is seen by sendmail sees it coming from 127.0.0.1. This is unacceptable as it does not allow for all the features of SpamAssassin to be used.
I have seen people suggesting the use of the submission port, but no clear instructions on what to do other than to set the smtpd.cfg option "LISTEN_PORT=", but nothing after that.
I will admit that I am still learning, but I am willing to do some work and post my findings etc to the wiki, but I need at least a little more direction if possible as to what to do next to get this working properly. (IE: this will stop Scalix from listening to port 25, but how do I tell sendmail to listen to that port instead? How do I tell sendmail not to be an open relay, but that it should accept mail from my users using smtp authentication? How do I tell Scalix to pickup the messages after they have been scanned by SpamAssassin? etc)
Thanks for any help!
Mito
What is the correct way to setup Scalix so that SpamAssassin will be able to properly handle all incoming mail?
This sounds simple, and you would probably at first lead me to read the knowledgebase articles found here and here but the problem with both of these solutions is that they include the smtpd.cfg option "SMTPFILTER=TRUE". In my opinion, this is an easy way out, but not a proper solution. I have been using that as a solution for a long time, but the problem is that EVERY email that is seen by sendmail sees it coming from 127.0.0.1. This is unacceptable as it does not allow for all the features of SpamAssassin to be used.
I have seen people suggesting the use of the submission port, but no clear instructions on what to do other than to set the smtpd.cfg option "LISTEN_PORT=", but nothing after that.
I will admit that I am still learning, but I am willing to do some work and post my findings etc to the wiki, but I need at least a little more direction if possible as to what to do next to get this working properly. (IE: this will stop Scalix from listening to port 25, but how do I tell sendmail to listen to that port instead? How do I tell sendmail not to be an open relay, but that it should accept mail from my users using smtp authentication? How do I tell Scalix to pickup the messages after they have been scanned by SpamAssassin? etc)
Thanks for any help!
Mito