Linux‎ > ‎Mail‎ > ‎

procmail

procmail for IMAP email placement in custom folders.

MAILDIR=$HOME/Maildir
LOGFILE=$MAILDIR/log

# Temp Rules
# * ^Subject:**PROBLEM - xo
# /dev/null


# Admins
:0:
* ^From:.*user1@compute.info
/home/kam/Maildir/.Admins/new

:0:
* ^From:.*user2@compute.info
/home/kam/Maildir/.Admins/new

# Jeff Johnston
:0:
* ^From:.*user3@compute.info
/home/kam/Maildir/.Boss/new

# NOC
:0:
* ^TO_noc@compute.info
/home/kam/Maildir/.NOC/new

# Systems
:0:
*^TO_systems@compute.info
/home/kam/Maildir/.Systems/new

:0:
*^TO_root@isengard.compute.info
/home/kam/Maildir/.Systems/new

:0:
*^TO_root@anduin.compute.info
/home/kam/Maildir/.Systems/new

:0:
*^TO_backups@compute.info
/home/kam/Maildir/.Systems/new

:0:
*^TO_root@vhost2.compute.info
/home/kam/Maildir/.Systems/new
# This is then forwarded directly to root@offsite.compute.info
# :0:
# * ^TO_root@compute.info
# ! root@offsite.compute.info
Comments