16
edits
No edit summary |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 63: | Line 63: | ||
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. | 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. | ||
Once this is done, you will need to cd to ~/Maildir and type "mdmake <mailbox name>" to create it. You will have to do this separately for each one. | |||
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. | 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. | ||
| Line 84: | Line 86: | ||
Another [http://www.redbrick.dcu.ie/help/tutorials/spam/procmailrc example] or [http://www.redbrick.dcu.ie/~receive/configfiles/procmailrc two] of procmailrc here | Another [http://www.redbrick.dcu.ie/help/tutorials/spam/procmailrc example] or [http://www.redbrick.dcu.ie/~receive/configfiles/procmailrc two] of procmailrc here | ||
== | == Using mutt to read your gmail with IMAP == | ||
=== Proxy === | |||
Mutt will need to be launched with <tt>tsocks</tt> to get around the DCU proxy. | |||
alias mutt='tsocks mutt' | |||
=== muttrc === | |||
set from = "Your Name <your_email@gmail.com>" | |||
set imap_user = "your_email@gmail.com" | |||
set folder = "imaps://imap.gmail.com:993" | |||
set spoolfile = "=INBOX" | |||
set postponed = "=[Gmail]/Drafts" | |||
set header_cache=~/.mutt/cache/headers | |||
set message_cachedir=~/.mutt/cache/bodies | |||
set move = no | |||
set pager_index_lines=10 | |||
set sort=threads | |||
set markers=no | |||
set timeout=300 | |||
macro index q '<change-folder>?<toggle-mailboxes>' | |||
macro browser q '<exit><quit>' | |||
bind index G imap-fetch-mail | |||
bind browser G check-new | |||
mailboxes =INBOX =Facefuck =rb | |||
[[Category:Helpdesk]] | [[Category:Helpdesk]] | ||
edits