procmail
[Top] [All Lists]

exact match

1997-01-13 05:08:24
Hi,

I found following statement in a readme file:

# The following command will forward any mail addressed
# to info(_at_)domain(_dot_)com to user1(_at_)me(_dot_)com

:0
* ^TO.*info
! user1(_at_)me(_dot_)com

But what this command also does is forwarding all messages
that contain "info" in the To: field, i.e.  

  abcinfo(_at_)domain(_dot_)com
  infoxyz(_at_)domain(_dot_)com

end even

  abcinfoxyz <otheraddress(_at_)domain(_dot_)com>

Could somebody help me out with the correct command to 
forward only mails to

  info(_at_)domain(_dot_)com

and

  whatever <info(_at_)domain(_dot_)com>

Thank you very much!

   Costa

<Prev in Thread] Current Thread [Next in Thread>