[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail redirect problem



Thus spake Martin A. Hansen:
> 
> hi
> 
> i have set up procmail to sort incoming mail into subfolders. the mail is sortet and put in the subfolders all right, but every mail is put inside its own folder so i get:
> 
> root@homer:/home/maasha/mail# ls -al debian-user/
> total 44
> drwxr-xr-x    2 maasha   maasha       8192 Dec 17 09:50 .
> drwx------    6 maasha   maasha       4096 Dec 17 10:01 ..
> -rw-------    1 maasha   maasha       3091 Dec 17 09:11 msg.OWeB
> -rw-------    1 maasha   maasha       2462 Dec 17 09:45 msg.WWeB
> -rw-------    1 maasha   maasha       3142 Dec 17 09:18 msg.XWeB
> -rw-------    1 maasha   maasha       2537 Dec 17 09:20 msg.YWeB
> -rw-------    1 maasha   maasha       4202 Dec 17 09:48 msg.dWeB
> -rw-------    1 maasha   maasha       2607 Dec 17 09:06 msg.mVeB
> -rw-------    1 maasha   maasha       2224 Dec 17 09:50 msg.uWeB
> 
> and each folder contains the correct mail.
> 
> this is most annoying :) ! i didnt ask (i think) for any msg.foo folders!
> 
> this is my .procmailrc file:
> 
> maasha@homer:~$ cat .procmailrc
> 
> PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
> MAILDIR=$HOME/mail
> PMDIR=$HOME/procmail
> 
> LOGFILE=$PMDIR/procmaillog
> INCLUDERC=$PMDIR/maashamail.rc
> 
> LOCKFILE=$HOME/.lockmail
> 
> 
> and this is the rc file:
> 
> maasha@homer:~/procmail$ cat maashamail.rc
> 
> #Redirects
> :0:
> * ^Resent-From:.*debian-user@lists.debian.org
> debian-user
> 
> :0:
> * ^To:.*sslug-netvaerk@sslug.dk
> sslug
> 
> 
> i use fetchmail, postfix and pine
> 
> hope anyone can help
> 
> regards
> 
> martin
This looks like maildir rather than mbox format - many people, and
some programs, prefer it.  You'll have to look through your various
configs to see if any of them have a trailing "/" - e.g.
$HOME/Mail/debian-user/ .  If so, remove it and it should revert.
Also check exim.conf and the procmail manpages for reference to
maildir format.
HTH,
Steve
-- 
You will be surprised by a loud noise.

Attachment: pgpxSv8ZoM8p6.pgp
Description: PGP signature


Reply to: