I use procmail to handle some serverside mail processing. I am trying to setup one email address on a server that support multiple domains (in the example below, domain.net
and domain.com
). I want mail sent to user@domain.net
to go to bob
and mail sent to user@domain.com
to go to sara
.
VERBOSE=off
LOGFILE=/dev/null
:0
* .domain.net
bob
:0
* .domain.com
sara
The above recipe seems to work quite well in that it catches incoming mail to domain.net
and forwards it to bob
.
However, instead of forwarding mail to domain.com
to sara
, it creates a file in /home/user
called sara
.
What am I doing wrong on this?