Procmail issue

Michael Schwendt mschwendt at gmail.com
Wed Jan 23 18:24:58 UTC 2013


On Wed, 23 Jan 2013 11:12:32 -0700, Ashley M. Kirchner wrote:

> :0
> * !^X-Forwarded-For: kirash4 at gmail.com ashley at pcraft.com
> * !^X-Forwarded-For: kirash4 at gmail.com ashley at pcigrafx.com
> * !^From.*kirash4 at gmail.com
> * !^To.*ashley at papillon.pcraft.com
> ! kirash4 at gmail.com
> 
> :0c
> * ^X-Forwarded-For: kirash4 at gmail.com ashley at pcraft.com
> * ^X-Forwarded-For: kirash4 at gmail.com ashley at 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?

-- 
Fedora release 19 (Rawhide) - Linux 3.8.0-0.rc4.git1.1.fc19.x86_64
loadavg: 0.00 0.03 0.05


More information about the users mailing list