392
edits
m (fast storage) |
No edit summary |
||
| Line 2: | Line 2: | ||
== Reading your mail == | == Reading your mail == | ||
Mutt is the default mail program on RedBrick. To start it, simply type " | Mutt is the default mail program on RedBrick. To start it, simply type "mutt" into your terminal and hit return. | ||
[[Image:mutt1.jpg]] | |||
When you start mutt with its default settings you will taken to your default mailbox. Here you will see a list of all your email split into columns. The first column shows the status of the mail, "N" for new mail, "O" for unread and blank for previously read mail. The next columns contains the number of the mail in the list, the date the mail was received followed by the sender's name. The final column displays the subject of the mail. A highlight bar will show which mail is currently selected. | When you start mutt with its default settings you will taken to your default mailbox. Here you will see a list of all your email split into columns. The first column shows the status of the mail, "N" for new mail, "O" for unread and blank for previously read mail. The next columns contains the number of the mail in the list, the date the mail was received followed by the sender's name. The final column displays the subject of the mail. A highlight bar will show which mail is currently selected. | ||
| Line 51: | Line 53: | ||
== Mailboxes == | == Mailboxes == | ||
You can also sort all your incoming mail into categories, making things easier to find and read. There are a few steps involved in setting this up, but once they're done you don't have to worry about it anymore. The first step is to create new mailboxes, to do so all you have to do is type "nano ~/.muttrc" (or replace nano with your favourite text editor) | |||
[[Image:mutt2.jpg]] | |||
There won't be much here (well anything actually) but we can soon change that. | |||
[[Image:mutt4.jpg]] | |||
In the above, what we've done is created four different mailboxes (you can have more if you want) - inbox, spamtrap, gmail and sent. We've also set it so that every mail you send is copied and saved in an inbox called sent. | |||
You should now start mutt by typing "mutt -y". This will give you a list of all your mailboxes when the program starts. Simply highlight a mailbox and hit return to view it's contents. | |||
[[Image:mutt5.jpg]] | |||
To switch to another mailbox hit "c" and enter = followed by the name of the name of the mailbox: =helpdesk. Alternatively, hit "c" and then hit "?" to see a list of all mailboxes. To return to the original mailboxes list hit the tab key. | To switch to another mailbox hit "c" and enter = followed by the name of the name of the mailbox: =helpdesk. Alternatively, hit "c" and then hit "?" to see a list of all mailboxes. To return to the original mailboxes list hit the tab key. | ||
However none of your mails are currently being filtered, you've just created the mailboxes. To start the filter process you're going to have to use procmail. To do this you're going to have to type "nano ~/.procmailrc" at the termainl (as in the picture above). | |||
[[Image:procmailrc.jpg]] | |||
It may look like a lot at first, but most of it is the same type of thing again and again. It's basically checking for spam and putting it in the spam folder (Instead of deleting the "spam" mail, we are going to redirect it to a mail folder of its own so that you can occasionally check if it really is spam.) or checking the To/From/Subject fields and matching them to other inboxes. The bit at the very end sets inbox as the mailbox that all the mail that doesn't match any of the other criteria will go to. You may also want to set a more suitable USER= (perhaps your own account name) | |||
You can also type "man procmail" at the terminal for more information. | |||
Another [http://www.redbrick.dcu.ie/help/tutorials/spam/procmailrc example] or [http://www.redbrick.dcu.ie/~receive/configfiles/procmailrc two] of procmailrc here | |||
== Fast Storage == | == Fast Storage == | ||