Difference between revisions of "UtterChaosEmail"

From UtterChaos
Jump to: navigation, search
(How to use UtterChaos Email)
 
(screen tutorial)
Line 50: Line 50:
 
#Wait 1 hour.
 
#Wait 1 hour.
 
#'logout' or 'exit'
 
#'logout' or 'exit'
 +
 +
For those of you who can't stay logged in for an hour to let this run, here is a quick tutorial on how to use screen:
 +
#ssh to siranna.utter-chaos.net
 +
#Run 'screen' at the prompt
 +
#Run 'learnspam.sh' at the new blank prompt.
 +
#Answer the questions that it asks you.
 +
#Once it has started learning, type '<ctrl>a' then hit 'd'
 +
#The screen will disappear leaving you with a prompt that says [detached]
 +
#'logout' or 'exit'
 +
at this point the learning process will continue while you do other stuff. When you want to check on it do this:
 +
#ssh to siranna.utter-chaos.net
 +
#Run 'screen -r' at the prompt
 +
#Observe the progress
 +
#If everything is done, then type 'exit' until you are logged out else follow step 5 above.
  
 
To make correcting mistakes easier, I have added SPAM/NOT SPAM buttons to the webmail interface. These buttons will tell the classifier to learn the message as the appropriate type. They do not move the message for you. I recommend placing SPAM that you have used the button on into your Junk/Spam folder so that later learning sessions can make use of it and not mistake it for HAM.
 
To make correcting mistakes easier, I have added SPAM/NOT SPAM buttons to the webmail interface. These buttons will tell the classifier to learn the message as the appropriate type. They do not move the message for you. I recommend placing SPAM that you have used the button on into your Junk/Spam folder so that later learning sessions can make use of it and not mistake it for HAM.
  
 
SPAM evolves over time so I recommend running the 'learnspam.sh' script occasionally (monthly)  or whenever it seems like it is missing lots of your SPAM or hitting lots of your HAM. Subsequent runs of the script should be faster than the first as the messages that it has already looked at before will be glossed over.
 
SPAM evolves over time so I recommend running the 'learnspam.sh' script occasionally (monthly)  or whenever it seems like it is missing lots of your SPAM or hitting lots of your HAM. Subsequent runs of the script should be faster than the first as the messages that it has already looked at before will be glossed over.

Revision as of 02:46, 17 March 2007

This page contains information on how to use the UtterChaos email system provided on Siranna.

Webmail

Webmail is easily accessed by connecting to https://siranna.utter-chaos.net/mail/

The more easily remembered http://mail.utter-chaos.net will redirect you to the secure URL.

Mail Filters

I suggest at the very least creating a Junk or Spam folder on your account and setting up a filter for incoming SPAM as follows:

At mail.utter-chaos.net, Click the "Options" Tab. Then click "Mail Filters".

Example Junk Mail Filter:

If "Any Header" "Contains" "X-Spam-Status: Yes" then "move" to Folder "INBOX.Junk".

("INBOX.Junk" is some folder that you created for your spam to be dropped into. It must be created before it can be selected here.)

Additional filters can be added here as well. The filter matching program starts at the top and works its way down. It only applies the first rule that it finds.

IMAP

This page specifies the appropriate configurations for an email client to connect to your email account on Siranna.

IMAPS

Siranna only supports IMAP connections over SSL. This keeps your passwords safe and email archive secure.

  1. Configure your client to connect to siranna.utter-chaos.net on port 993 via SSL enabled IMAP. If your client does not support SSL, then you will need to find another client, figure out stunnel, or use the webmail services.
  2. Configure your client to use password authentication (plaintext, not CRAM) and provide your username and password as needed.
  3. If your client asks, Siranna supports having messages and subfolders in the same folder. (Mozilla & Netscape ask this)

Setting up SMTPS

Siranna will only relay messages from authenticated users. This method uses STARTTLS (SSL) enabled SMTP with authentication to protect a user/password login.

  1. Configure your client to send email by SMTP.
  2. Choose siranna.utter-chaos.net as your outgoing mail server. The SSL/TLS port is 25. If port 25 does not work due to your ISP blocking it, use port 26. (If you live at Utter-Chaos, use port 26.)
  3. Enable SSL for outgoing mail, and choose to always use SSL if appropriate for your client.
  4. Choose password authentication (not CRAM) for SMTP, and supply your username and password to your client as appropriate.

SPAM

The antispam system on Siranna has support for a Bayesian statistical classifier. This classifier needs to be trained to identify SPAM and HAM (valid non-spam email). By default the system will try to learn what your SPAM & HAM look like based on the normal SPAM rules that are installed. This auto learning will only occur on new mail and will take take forever to learn well enough to be useful.

If you have saved lots of messages (both HAM & SPAM) in separated folders, Nybble has written a script that will make use of your piles of crap that you have kept.

  1. ssh to siranna.utter-chaos.net
  2. Run 'learnspam.sh' at the prompt.
  3. Answer the questions that it asks you.
  4. Wait 1 hour.
  5. 'logout' or 'exit'

For those of you who can't stay logged in for an hour to let this run, here is a quick tutorial on how to use screen:

  1. ssh to siranna.utter-chaos.net
  2. Run 'screen' at the prompt
  3. Run 'learnspam.sh' at the new blank prompt.
  4. Answer the questions that it asks you.
  5. Once it has started learning, type '<ctrl>a' then hit 'd'
  6. The screen will disappear leaving you with a prompt that says [detached]
  7. 'logout' or 'exit'

at this point the learning process will continue while you do other stuff. When you want to check on it do this:

  1. ssh to siranna.utter-chaos.net
  2. Run 'screen -r' at the prompt
  3. Observe the progress
  4. If everything is done, then type 'exit' until you are logged out else follow step 5 above.

To make correcting mistakes easier, I have added SPAM/NOT SPAM buttons to the webmail interface. These buttons will tell the classifier to learn the message as the appropriate type. They do not move the message for you. I recommend placing SPAM that you have used the button on into your Junk/Spam folder so that later learning sessions can make use of it and not mistake it for HAM.

SPAM evolves over time so I recommend running the 'learnspam.sh' script occasionally (monthly) or whenever it seems like it is missing lots of your SPAM or hitting lots of your HAM. Subsequent runs of the script should be faster than the first as the messages that it has already looked at before will be glossed over.