procmail
[Top] [All Lists]

Re: Mail Forwarding

2001-09-26 02:54:01
On Wed, Sep 26, 2001 at 08:11:50AM +0300, Odhiambo Washington wrote:
Hi,

One of my users who has no shell account has requested me to forward his 
mails to another address
and keep a local copy. So I am thinking in this line:

:0
* ^To:.*sgupta
{
:0 c
! sgupta1(_at_)some(_dot_)domain

:0
$DEFAULT
}


I am afraid because it's possible that this user will attempt to forward an 
e-mail to himself
and create a mail loop. Is there a better way to take care of that?

Perhaps something along the lines of this:

:0c
*  ^TO_sgupta
* !^From:(_dot_)*sgupta1(_at_)some\(_dot_)domain
! sgupta1(_at_)some(_dot_)domain

-- 
- Matt Dunford <> zoot(_at_)zotikos(_dot_)com ..
-. www.zotikos.com -- o,;-
        
Eat drink and be merry, for tomorrow they may make it illegal.
--
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Mail Forwarding, Odhiambo Washington
    • Re: Mail Forwarding, Matt Dunford <=