On Wed, 23 Jan 2013 11:12:32 -0700, Ashley M. Kirchner wrote:
:0
- !^X-Forwarded-For: kirash4@gmail.com ashley@pcraft.com
- !^X-Forwarded-For: kirash4@gmail.com ashley@pcigrafx.com
- !^From.*kirash4@gmail.com
- !^To.*ashley@papillon.pcraft.com
! kirash4@gmail.com
:0c
- ^X-Forwarded-For: kirash4@gmail.com ashley@pcraft.com
- ^X-Forwarded-For: kirash4@gmail.com ashley@pcigrafx.com
! salesdept
Basically, any incoming e-mail that does not have that X-Forwarded-For line in it will get sent to GMail (which forwards it back).
Email that does have that tag in it, will get copied to the 'salesdept' mailbox as well. It's this second part that doesn't seem to work.
The '!' forward action takes email addresses. If '! salesdept' is supposed to store the copy into a mailbox 'salesdept', one typically writes just 'salesdept' without a leading '! '.
In case you've tried that already, what does your procmail log file say about these two recipes?