procmail
[Top] [All Lists]

Re: convert all mails of a catch-all mailbox to html or .txt. files in folders named by the recipient

2007-08-30 17:44:43

On 30-Aug-2007, at 16:38, Stefan S. wrote:

------------------------------------------------------
# Please check if all the paths in PATH are reachable, remove the  
ones that
# are not.

PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=$HOME/Mail    # You'd better make sure it exists

Don't put comments on the same line as content.  Not sure this  
applies to all procmailrc lines, but I believe it does.

DEFAULT=$MAILDIR/Default
LOGFILE=$MAILDIR/LOGFILE
LOCKFILE=$HOME/.lockmail

:0
* $ ^To:$WS*\/[^$WS].*
{ TO=$MATCH }

You failed to define WS

procmail: Skipped "
"

check you file for improper line endings.  If you don't see any, try

% cat -v /etc/procmailcfg

-- 
I was good and deleted the "You *&#$ing moron" before posting, aren't  
you proud of me?




-- 
"The person, be it gentleman or lady, who has not pleasure in a good  
novel, must be intolerably stupid".

____________________________________________________________
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