procmail
[Top] [All Lists]

Re: I wanna make a .procmailrc file

1997-05-12 12:26:00

On Mon, 12 May 1997, G.E.Siregar wrote:


Dear subscribers...

I have a problem with making of a .procmailrc file...i want to forward all
my emails with destination acehtob(_at_)thepentagon(_dot_)com to the 
following email
adds..:

      h(_dot_)gautama(_at_)elektron(_dot_)et(_dot_)tudelft(_dot_)nl
      
m(_dot_)t(_dot_)p(_dot_)surapati(_at_)elektron(_dot_)et(_dot_)tudelft(_dot_)nl(_dot_)(_dot_)

I have made the .procmailrc file which consists the following rules.


:0
* ^TOacehtob(_at_)thepentagon(_dot_)com
! h(_dot_)gautama(_at_)elektron(_dot_)et(_dot_)tudelft(_dot_)nl, 
m(_dot_)t(_dot_)p(_dot_)surapati(_at_)elektron(_dot_)et(_dot_)tudelft(_dot_)nl


But it doesn't work....all emails that i receive with the destination 
acehtob(_at_)thepentagon(_dot_)com are not forwarded. Could any body tell me 
what
might be wrong?


        I've tested it and it works. Be carefull, however, that your
condition means "where the line TO starts *exactly* with
acehtob(_at_)thepentagon(_dot_)com". Try the following:

* ^TO(_dot_)*acehtob(_at_)thepentagon(_dot_)com
     ^^
        
        Maybe the line TO of the incoming mail contains more chars, like
your name, or something else.

        Good luck.

****************************************************************************
Jordi Garcia Busquets                     
jordi(_at_)hades(_dot_)udg(_dot_)es                       
Estudiante de 3o de informatica          
Universidad de Girona. Catalunya. Espanna
****************************************************************************


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