Procmail GMAIL
Posted by: caltheta
Posted on: 2008-01-31 16:26:00
Hello everyone-
I have read absolutely everything about how to setup filtering my email using procmail and it just isnt working. I read the wiki article and every post in this forum and I just cant figure it out. Any help would really be appreciated.
Background:
I have a user setup "user1" that has multiple domains- one being domain1.com (example).. My email address is joe@domain1.com . I would like to forward joe@domain1.com to joegmail@gmail.com .
My files looks like this (they are both in user1's home directory and chmod'd 644):
.procmailrc
In reply to:
DEFAULT=$HOME/Maildir
MAILDIR=$HOME/Maildir
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
SHELL=/bin/sh
# forward to gmail account for spam filtering - cf http://mboffin.com/post.aspx$
:0
* !X-Forwarded-For: joepattersonfilter@gmail.com joe@joepatterson.com
{
:0fw
| formail -IDelivered-To
:0
! joepattersonfilter@gmail.com
}
.forward.postfix
In reply to:
"|/usr/bin/procmail -t"