Hi Ruud and Dallman,
I'm doing some more test now, meanwhile, here is my config:
# /etc/procmailrc
# there is no /home/.procmailrc
VERBOSE=off
MAILDIR=/var/spool/mail/Maildir/$LOGNAME/
DEFAULT=$MAILDIR
LOGFILE=/tmp/procmail/$LOGNAME.log
# Just in case mail can't be delivered to users Maildir, spool it here:
ORGMAIL=/var/spool/mail
The /tmp/procmail/user.log says:
procmail: Assigning "ORGMAIL=/var/spool/mail/oliversl"
procmail: Assigning
"PATH=/home/oliversl/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin"
procmail: Locking "..lock"
procmail: [4322] Tue Jan 30 23:52:28 2007
procmail: Error while writing to "_iDB.sRAwFB.mail.example.com"
procmail: Lock failure on "..lock"
procmail: Assigning "LASTFOLDER=."
procmail: Opening "."
procmail: Error while writing to "."
procmail: Assigning "LASTFOLDER=/var/spool/mail/oliversl"
procmail: Opening "/var/spool/mail/oliversl"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "oliversl(_at_)10488:/var/spool/mail/oliversl"
From oliver(_at_)mail(_dot_)example(_dot_)com Tue Jan 30 23:52:26 2007
Subject: ping
Folder:
/var/spool/mail/oliversl 1051
The extrange part is that there is no mention of MAILDIR in the log.
Also, the directory:
/var/spool/mail/Maildir/$LOGNAME/
does not exists. Only /var/spool/mail/Maildir/ exists with mode 777
Thanks
Oliver
Ruud H.G. van Tol wrote:
Dallman Ross wrote:
You should recompile procmail with DEFAULT set to "$HOME/Maildir/" .
A poor second alternative (kludge, really) is to put a line in
/etc/procmailrc such that:
MAILDIR = $HOME/Maildir/
$MAILDIR should not end in a slash.
[/etc/procmailrc]
MAILDIR = $HOME/Maildir
[~/.procmailrc]
:0
* ^List-
.lists/
:0
./
[alternative /etc/procmailrc]
MAILDIR = $HOME/Maildir
DEFAULT = $MAILDIR/
--
Oliver Schulze L. | Get my e-mail after a captcha in:
Asuncion - Paraguay | http://tinymailto.com/oliver
____________________________________________________________
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