Engmail -- the Engineering Faculty e-mail server


About engmail

Configuring Clients
Spam rejection
Quota restrictions
Mail Options
Statement on Use

Maintained by
Engineering Computing

Spam Rejection

Engmail has discontinued the use of Domain Name Service BlackListing as a means of blocking spam. It was increasingly difficult to keep up with all the new origins where spam was being generated, and the number of false reports (and subsequent amount of blocked legitimate mail) made DNSBL's continued use impractical.

To help users reduce the volume of incoming spam, we have installed SpamAssassin on the new Engmail. Users can screen their mail for spam by creating a file, .procmailrc, which sets parameters for mail screening and delivery. Users can still forward spam to spam@engmail, which now reports using spamassassin.

New: Now, messages mistakenly sent to spam@engmail can be revoked by re-sending the original message to notspam@engmail which also uses spamassassin to remove it from the database.

We have developed web-based interfaces for simple SpamAssassin configurations, as well as mail redirection and auto-replies.

If you'd rather, you can you can create a basic .procmailrc in your home directory (~/.procmailrc or N:\.procmailrc), to divide your incoming mail into two streams (good and spam).

Windows is reluctant to let users create files that begin with a dot and don't have an extension, but it's easy enough to create the file with another name, and rename it to .procmailrc with the myFiles (FTP) tool of mywaterloo.

# Simple PROCMAILRC file, see man procmailrc for configuration hints

# If message hasn't already been run through SpamAssassin, do so now.
# Use any options set in ~/.spamassassin/user_prefs
* !^X-Spam-Status:
| /usr/local/bin/spamc -s 256000

# Messages scoring more than required_hits are tagged X-Spam-Status: Yes
# Redirect these messages to a file mail/junkmail
# If confident of scores, the file could be /dev/null
# To redirect the spam, uncomment the following lines:
#* ^X-Spam-Status: Yes

# To send an auto-reply, using the vacation program
# uncomment the following lines:
#| /usr/bin/vacation ${LOGNAME}

# To forward a copy to somewhere else
# change the mailing address and uncomment the following lines:
#! someone@somewhere.else

# Mail that has bypassed (or been passed on by) the above conditions
# will be delivered locally
# If you do not want a local copy delivered,
# remove the "c" from the first line of the auto-reply or forward recipes
# ie start each recipe with :0 rather than :0c
# That way, no "copy" will be made, and the message will go no further.


Engmail .procmailrc specifics: Mailbox names are case specific, your N: drive is specified as mail/mailbox_name. Your mail located only on engmail are referenced by /maildir/USERNAME/.mailbox_name/ it must start with the period and end with the forward slash (division sign).

If you are interested in more complicated setups, you may want to check out the documentation for spamc, and the SpamAssassin user preferences, which are kept in the user_prefs file of your .spamassassin directory.

You may also want to see procmail's manpage, or the one for .procmailrc and some .procmailrc examples.

Finally, here's the manual page for vacation.