to get spamassassin and fetchmail back

Here is the how to

Install the /usr/ports/mail/p5-Mail-SpamAssassin and /usr/ports/mail/spamass-rules port

Put these in /etc/rc.conf

spamd_enable="YES"
spamd_flags="-d -m 1 -r ${spamd_pidfile}"

The “-m 1″ said only folkone spamd instance. I don’t have too much trafic so one instance is OK.

copy my local.cf to /usr/local/etc/mail/spamassassin and restart spamd to check the rules out.

There are two choices for using spamassassin with exim: eximscan and sa-exim. eximscan has been merged to exim so I’m using this one. It is said that it doesn’t support spamassassin’s “report_safe” feature so remember to set

report_safe 0

in the local.cf file

In the exim configure file, comment out

require verify        = sender

for fetch mail

copy all the acl_smtp_* configs from my old config file. There is an example here.

Restart exim and test it via telnet to port 25. See the examples in the how to.

Install /usr/ports/mail/fetchmail

Setup account maillist to run fetchmail. copy my fetchmailrc file and schedule crontab to run it.

I use /usr/ports/mail/popper as my pop3 daemon. Why I choosed this?

Tags: , ,

Post a Comment

You could use <code type="name"> to get your code colorized

Your email is never published nor shared. Required fields are marked *

Close
E-mail It