This post describes how to configure the command line e-mail client mutt to use your Zimbra IMAP mailbox.
Open the text file .muttrc, located in your home directory. If it does not exist, create it. Add or replace the following lines with your own user ID:
set spoolfile=imaps://mail.example.com/Inbox set folder=imaps://mail.example.com/ set imap_user=username@example.com
If you would like to use your Zimbra Sent and Drafts folders for sent and postponed messages in Mutt, also add the following lines, as above:
set record=imaps://mail.example.com/Sent set postponed=imaps://mail.example.com/Drafts
Mutt can now be used as a e-mail Zimbra client with access to all your mail. You can change folder in mutt by pressing the etter c. If you do not know the name of the folder, just press ?.
Tags: howto, imap, mutt, Zimbra
Posted by Hans-Henry Jakobsen
My aim is to ask procmail to deliver everyone’s spam emails into “shared.System.Spam” IMAP folder. All my mail-receiving users belong to a unix group called “users“.
# maildirmake -S /var/spool/Maildir/System # maildirmake -s write -f Spam /var/spool/Maildir/System
# chgrp -R users /var/spool/Maildir/System/.Spam # chmod 1770 /var/spool/Maildir/System/.Spam/[cnt]??
$ maildirmake --add System=/var/spool/Maildir/System $HOME/Maildir
You might need to run the above command for every user which needs to access the sharable maildir. Alternatively, you can set up a file called “/etc/maildirshared” (check the maildirmake man page for the exact location) to have the following configuration:
System /var/spool/Maildir/System
Note that it is a
Tags: courier, imap, maildir, procmail
Posted by Hans-Henry Jakobsen