procmail
[Top] [All Lists]

Problem with filters in procmailrc

2005-11-22 08:28:40
Hello

 

I would like to forward mail coming from gd(_dot_)titus(_at_)tutu(_dot_)fr to 
lulu(_at_)toto(_dot_)fr

 

I make this .procmailrc

-rw-r--r--   1 lmartin  astre        933 Nov 22 13:56 .procmailrc

 

      VERBOSE=yes

      LOGFILE=./procmail.log

 

      :0

      * ^From.*titus.*

      !  lulu(_at_)toto(_dot_)fr

 

But this rule is never applied, as shown in this log:

 

"rocmail: Skipped "

"rocmail: Skipped "

"rocmail: No match on "^From.*titus.*

"rocmail: Skipped "

"rocmail: Skipped "

"rocmail: Skipped "

procmail: Locking "/var/spool/mail/lmartin.lock"

procmail: Assigning "LASTFOLDER=/var/spool/mail/lmartin"

procmail: Opening "/var/spool/mail/lmartin"

procmail: Acquiring kernel-lock

procmail: Unlocking "/var/spool/mail/lmartin.lock"

From gd(_dot_)titus(_at_)tutu(_dot_)fr Tue Nov 22 13:57:10 2005

 Subject: test3

  Folder: /var/spool/mail/lmartin
1848

procmail: Notified comsat: "lmartin(_at_)0:/var/spool/mail/lmartin"

 

I also tried this filters (without success) :

* ^From:.*titus.*

* ^From .*titus.*

* ^From: .*titus.*

 

Finally, when I remove the filter, the forward rule works.

 

Do you have any solution?

 

Thanks

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>