| Server: | phoenix.slamd64.com |
|---|---|
| Protocol: | SMTP |
| Ports: | smtp or smtps (you probably want to use smtps, as smtp is blocked on a lot of networks) |
| Server: | phoenix.slamd64.com |
|---|---|
| Local Protocols: | IMAP, IMAPS, POP3, POP3S |
| Remote Protocols: | IMAPS, POP3S |
Mail goes into /var/spool/mail/$username, unless your .procmailrc says otherwise. IMAPD and POP3D look for mail in ~/Mail, so you probably want a .procmailrc putting all mail in there.
SpamAssassin is installed, and spamd is running, but is not used unless you put appropriate commands in your .procmailrc, for example:
MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/
:0fw:spam.lock
* < 256000
| spamc -f
:0e
{
EXITCODE=$?
}
:0
* ^X-Spam-Flag: YES
${MAILDIR}/.spam/
The above .procmailrc puts all mail into the MailDir ~/Mail, unless it's marked as spam by SpamAssassin, in which case it's put into ~/Mail/.spam/ (/Spam on IMAP).
If you use ~/Mail/.spam/ for spam, you might like to put /usr/local/bin/sa-learn.sh into a cronjob.