Setting up procmail

  1. Create a file in your mail server home directory called .procmailrc. Your mail server home directory is different from your network file share home directory. You can access your mail server home directory at /mnt/mail.cs.brandeis.edu/$USERNAME on any public workstation.

  2. Copy these lines into .procmailrc, replacing ‘mail’ with ‘Mail’ if you read your mail with elm.

    PATH=/usr/bin:/usr/local/bin
    MAILDIR=$HOME/mail
    LOGFILE=/dev/null
    SHELL=/bin/sh
    
  3. Create entries in .procmailrc of the form

    :0:
    \* ^headerfield .\* keyword
    foldername
    
    For instance, this entry transfers mail sent from Jon Smith to the
    list Beos-discuss, into mail folder Junk:
    
    :0:
    \* ^To: .\* Beos-discuss
    \* ^From .\* jonsmith@isp.net
    Junk
    

If you need additional help with configuring procmail, please contact us!