# .procmailrc
# routes incoming mail to appropriate mailboxes
PATH=/usr/bin:/usr/local/bin
MAILDIR=$HOME/Maildir/
PMDIR=$MAILDIR
LOGFILE=/var/log/procmail.log
VERBOSE=yes
LOGABSTRACT=no
SHELL=/bin/sh
DROPPRIVS=yes
DELIVER=/usr/libexec/dovecot/deliver

# --------------------------------------------------
# TEST
#:0:
#* ^Subject.*test
#| $DELIVER -m Systems

# --------------------------------------------------
# Family and Friends
:0:
* ^(From|Cc).*ellen.morgan@talk21.com
* ^(From|Cc).*tessier_vero@hotmail.com
* ^(From|Cc).*richard@xai-corp.net
| $DELIVER -m Family

# --------------------------------------------------
# Musicians
:0:
* ^(From|Cc).*m.a.berube@hotmail.com
| $DELIVER -m Music

# --------------------------------------------------
# Reverb Nation
:0:
* ^(From|Cc|To).*updates@reverbnation.com
| $DELIVER -m Notifications

:0:
* ^(From|Cc|To).*noreply@reverbnation.com
| $DELIVER -m Publicity

# --------------------------------------------------
# Code Project
:0:
* ^(From|Cc|To).*maillist.codeproject.com
* ^(Subject).*(Offers)
| $DELIVER -m Publicity

:0:
* ^(From|Cc|To).*maillist.codeproject.com
| $DELIVER -m Newsletters


# --------------------------------------------------
# Social Media Notifications
:0:
* ^(From|Cc).*@facebookmail.com
| $DELIVER -m Notifications

:0:
* ^(From|Cc).*@twitter.com
| $DELIVER -m Notifications


# --------------------------------------------------
# Newsletters
:0:
* ^(From|Cc).*(dzone|messages4|folkalley|info.docker|accuradio).com
| $DELIVER -m Newsletters

:0:
* ^From.*news@linkedin.com
| $DELIVER -m Newsletters

:0:
* ^From.*news@linkedin.com
| $DELIVER -m Newsletters

:0:
* ^From.*aws-marketing-email-replies@amazon.com
| $DELIVER -m Newsletters

:0:
* ^From.*info@connectmusic.ca
| $DELIVER -m Newsletters

# --------------------------------------------------
# Paypal receipts
:0:
* ^From.*intl.paypal.com
| $DELIVER -m Paypal


# --------------------------------------------------
# Publicity
:0:
* ^From.*e.paypal.com
| $DELIVER -m Publicity

:0:
* ^From.*@codeanywhere.net
| $DELIVER -m Publicity

:0:
* ^From.*Google(\+| Analytics| AdSense)
| $DELIVER -m Publicity

:0:
* ^From.*Netflix
| $DELIVER -m Publicity




# --------------------------------------------------
# --------------------------------------------------
# Default Inbox
:0 w
| $DELIVER
