procmail
[Top] [All Lists]

Re: dedicated folders to incoming mails

2004-12-09 08:44:21
Toen wij Vincent Blondel kietelden, kwam er dit uit:

 SHELL=/bin/sh
 LOGFILE=$HOME/.procmaillog
 VERBOSE=yes
 MAILDIR=$HOME/Maildir

I would add some quotes:

  SHELL   = /bin/sh
  LOGFILE = "$HOME/.procmaillog"
  VERBOSE = yes
  MAILDIR = "$HOME/Maildir"

Normally $HOME has no embedded spaces, but also 
often that is something that can be changed by 
someone else.


 DEFAULT = $MAILDIR

ITYM:
 
  DEFAULT = "$MAILDIR/"

but OTH maybe you don't.


 :0:
 * ^TOmysql
 mysql

But the problem is I don't receive any mail in these folders. Could
somebody help me please ...

Check the ^TO expansion in man procmailrc:

       (^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope
       |Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)

and look up in $LOGFILE whether that regex caught anything.


Alternative:

  :0:
  * ^List.*mysql
  mysql


-- 
Grtz, Ruud

____________________________________________________________
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>