View Single Post

  #2 (permalink)  
Old 06-07-2007, 03:40 AM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 4
tom is on a distinguished road
Default

Is usually listen on tcp 783 port. netstat -ntulpn is your friend to get open port list and program name:
Code:
 netstat -ntulpn
Basically you force sendmail or postfix to send all mail through procmal , so there is no need to set up a ~/.forward file.
If you are using Postfix add following command to /etc/postfix/main.cf
Code:
mailbox_command = /usr/bin/procmail
Restart postfix.

Next in /etc/procmailrc you add something as follows.. which tells to filter everything through spamassassin:

Code:
# Send all mail through Spamassassin
:0 fw
* < 256000
| /usr/bin/spamc -f -u mail
Replace line with /usr/bin/spamc -f -u mail with actual path to spamassassin file.

That is all you need to do to get started with Spamassassin.
Reply With Quote