PDA

View Full Version : procmail recipe - for copy & receiving ?



firebirdfan
07-12-2004, 11:51 PM
Hi guys I've tried to set a procmail recipe for my domain.

:0:
* ^To:.*abc
:0 c
! abc@yahool.com

which from the little that i understand is for abc@yahoo.com to receive a copy and also abc@mydomain.com to receive a copy.

I've read CK1 post about using another method, but would prefer this.
Also how do I set to receive a copy for whatever mail that is being sent out from abc@mydomain.com.

Thanks

FZ
07-13-2004, 05:34 AM
You have not specified the "destination" correctly ...


:0c
* ^TO_abc
! abc@yahoo.com

Should work.

As for a copy of all outgoing mail, I don't think you can do that - at least not with Procmail (or without hacking).

firebirdfan
07-13-2004, 08:12 PM
Hi Fayez, it worked thanks a million. But when i tried copying it to my gmail account it did not come in( and was thinking the code was not working ) but when i changed it to my yahoo account it worked instantaneously.

I guess gmail still has bugs to be sorted out. Do any of you guys have a gmail account ? I have only 1, if have spare would gladly send u guys some invites..

FZ
07-18-2004, 11:00 AM
No problem.

I do have a GMail account, yeah. I think it is very cool, but I feel bad that an invite was "wasted" on me, since I'm not going to use that account - I just wanted to play around with it. I have more than enough space (and much more control) on my WestHost mail account(s) ;)