procmail
[Top] [All Lists]

Re: Forward Receipe

1997-12-21 06:16:05
On Sun, Dec 21, 1997 at 12:15:06PM +0000, Thomas Trueten wrote:
Hello,
i've to forward incoming messages from contact(_at_)address to 
some(_at_)address and to 
other(_at_)address(_dot_)

The replyto address in these forwarded messages has to be 
contact(_at_)address(_dot_) 
I need a copy of messages from contact(_at_)address too.

I tried this receipe:
:0 c
* !^TO*contact(_at_)address
* !^X-Loop: contact(_at_)address
| $SENDMAIL -oi -t \
! some(_at_)address other(_at_)address

If you omit the linebreak by using the backslash you should
leave out the exclamation mark, imho.

Try 

| $SENDMAIL <addresses>

or 

! <addresses separated by colon>

Why procmail sends _all_ incoming mail to some(_at_)address and to 
other(_at_)address?

You mean including Mail containing "X-Loop: contact(_at_)address"?  Afaik
this shouldn't happen.  Sorry, can't help

Regards

        Joey

-- 
  / Martin Schulze  *  joey(_at_)infodrom(_dot_)north(_dot_)de  *  26129 
Oldenburg /
 /                                     http://home.pages.de/~joey/
/  Ich glaube nur der Statistik, die ich selbst gefälscht habe! /

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