hello,
I need to filter mail to the same user based on aliased domains.
name(_at_)domain1(_dot_)com user1
name(_at_)domain2(_dot_)com user2
name(_at_)damain3(_dot_)com user3
Sendmail on our system does not recognize to different domains, this the
.procmailrc that i have in a dummy account of 'name'
3 VERBOSE=on
4 PATH=/bin:/usr/bin:/bin:/usr/local/bin:.
5 MAILDIR=$MAIL # You'd better make sure it exists
6 #PMDIR=$HOME/.procmail
7 DEFAULT=$MAILDIR
8
9 :0
10 * ^TOname(_at_)domain1(_dot_)com
11 ! user1(_at_)bway(_dot_)net
12
13 :0Eh
14 * ^Toname(_at_)domain2(_dot_)com
15 ! user2(_at_)bway(_dot_)net
16
17 :0haE
18 * ^TOname
19 ! user3(_at_)bway(_dot_)net
it wont filter on the domain#.com it still will only filter by 'name' thus only
the first rule is ever getting used.
thanks......
naomi wolf