This shows you the differences between two versions of the page.
|
services:scs_email [2010/03/25 12:36] admin |
services:scs_email [2012/09/12 16:06] (current) admin |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ==== Web-mail ==== | ==== Web-mail ==== | ||
| - | |||
| - | <note warning>The School is currently transitioning to a new mail server, the documentation below refers to the new **mail** server. If you have not created a new account or have not been moved to the new server then you cannot use the links below!</note> | ||
| Line 23: | Line 21: | ||
| [[http://www.scs.carleton.ca/newmail/|SCS Web-mail URL]] | [[http://www.scs.carleton.ca/newmail/|SCS Web-mail URL]] | ||
| - | <note important>Users that are using the old SCS mail setup **daVinci** can log in here: [[http://www.scs.carleton.ca/mail| Old SCS Web-mail URL (daVinci)]]</note> | ||
| Line 93: | Line 90: | ||
| # Enable personal spamassassin settings:0fw: spamassassin.lock | # Enable personal spamassassin settings:0fw: spamassassin.lock | ||
| + | :0fw: spamassassin.lock | ||
| * < 256000 | * < 256000 | ||
| | spamassassin | | spamassassin | ||
| Line 105: | Line 103: | ||
| === Deleting blacklisted emails === | === Deleting blacklisted emails === | ||
| - | You can add a procmail rule that will delete all your personal blacklisted emails. here are the steps to enable it: | + | You can add a procmail rule that will delete all your personal blacklisted emails. Here are the steps to enable it: |
| - Add a .procmailrc file on [[http://www.scs.carleton.ca/nethelp/doku.php?id=services:external_access_host_access | access]]/lambda (see code below) | - Add a .procmailrc file on [[http://www.scs.carleton.ca/nethelp/doku.php?id=services:external_access_host_access | access]]/lambda (see code below) | ||
| Line 133: | Line 131: | ||
| You can add this file in your SCS account accessible through [[ http://www.scs.carleton.ca/nethelp/doku.php?id=services:external_access_host_access|access]] or the [[ http://www.scs.carleton.ca/nethelp/doku.php?id=accounts_and_labs:the_linux_network|lambda linux network]]. | You can add this file in your SCS account accessible through [[ http://www.scs.carleton.ca/nethelp/doku.php?id=services:external_access_host_access|access]] or the [[ http://www.scs.carleton.ca/nethelp/doku.php?id=accounts_and_labs:the_linux_network|lambda linux network]]. | ||
| - | You can remove all email above a certain spamassassin score. This is done by adding the following code: | + | === Deleting all emails above a certain spamassassin score === |
| + | |||
| + | You can delete all emails above a certain spamassassin score. This is done by adding the following code to your .procmailrc file: | ||
| <code> | <code> | ||
| + | SHELL=/bin/sh | ||
| + | TRASH=/dev/null | ||
| + | LOGFILE=$HOME/.spamassassin/procmail.log | ||
| + | VERBOSE=no | ||
| + | |||
| + | # Enable personal spamassassin settings | ||
| + | :0fw: spamassassin.lock | ||
| + | * < 256000 | ||
| + | | spamassassin | ||
| + | |||
| # Removes all spam higher than level 15 | # Removes all spam higher than level 15 | ||
| :0 | :0 | ||
| Line 154: | Line 164: | ||
| <code> | <code> | ||
| - | /jdoe | + | \jdoe |
| John Doe <jdoe@hotmail.com> | John Doe <jdoe@hotmail.com> | ||
| </code> | </code> | ||
| Line 169: | Line 179: | ||
| <code>chmod 644 ~/.forward</code> | <code>chmod 644 ~/.forward</code> | ||
| + | |||
| + | ==== Vacation Message ==== | ||
| + | |||
| + | Do you want to send an auto-reply to who-ever is sending you email? Using procmail you can set up an auto-reply with a vacation message of your choosing. It will only send one reply for any particular user ((this is done using a vacation.cache file that stores email addresses that received your vacation message, they won't be emailed a second time)). | ||
| + | |||
| + | Here's how to set it up: | ||
| + | |||
| + | * Create a .vacation message/file (chmod 644 .vacation) | ||
| + | * Create a .procmailrc file (chmod 644 .procmailrc) | ||
| + | |||
| + | The .vacation file is a plain text file that contains the vacation message that will be sent to the sender. | ||
| + | |||
| + | Here is the .procmailrc file (you can cut and paste it) ((Make sure to replace any references to hsimpson with your SCS account name)): | ||
| + | |||
| + | <code> | ||
| + | # Replace hsimpson with your account name | ||
| + | |||
| + | # This is actually two recipies. This is meant to go at the END of your .procmailrc | ||
| + | # so it doesn't trigger on mailing lists that you're filtering above. | ||
| + | |||
| + | # Will add the sender to the vacation cache if not already in the vacation cache | ||
| + | # FROM_DAEMON is a macro for a lot of "system" addresses. see the | ||
| + | # procmailrc man page fordetails | ||
| + | |||
| + | :0 Whc: vacation.lock | ||
| + | * !^FROM_DAEMON | ||
| + | * !^X-Loop: hsimpson@scs.carleton.ca | ||
| + | | formail -rD 8192 vacation.cache | ||
| + | |||
| + | # Only run this rule if the last rule didn't match, meaning it will only mail each | ||
| + | # user once. | ||
| + | |||
| + | :0 ehc # if the name was not in the cache | ||
| + | | (formail -rA"Precedence: junk" \ | ||
| + | -A"X-Loop: hsimpson@scs.carleton.ca" ; \ | ||
| + | cat $HOME/.vacation; \ | ||
| + | echo ""; \ | ||
| + | echo "-- "; cat $HOME/.signature \ | ||
| + | ) | $SENDMAIL -oi -t | ||
| + | </code> | ||
| + | |||
| + | |||
| + | To disable the vacation message rename the .procmailrc file. | ||
| + | |||
| ==== Mail Folders ==== | ==== Mail Folders ==== | ||