Re: Problem using mbox format

Alan Clifford <[email protected]>
Newsgroups gmane.mail.procmail
Organization http://rp.clifford.org.uk/potpourri/
Message-ID <[email protected]>
On Thu, 30 Dec 2010, Sandra Weddig wrote:

> My conf for procmail looks now like:
>
> # ~/.procmailrc
> PATH="/usr/bin:/usr/local/bin"
> MAILDIR="/var/mail"
> DEFAULT="/var/mail"
> LOGFILE="/var/mail/procmail.log"
> SHELL="/bin/sh"
> VERBOSE="on"
>
> Nothing changed, still same problem :(
>

Are you delivering to the /var/mail directory or to a file in the 
/var/mail/directory?

With that $DEFAULT, it is likely you are delivering to a directory.  To 
deliver mbox, you need to deliver to a file.  But please check the 
documentation on this:

man procmailrc

"If it is a (possibly yet nonexistent) filename, the mail will be appended 
to it. If it is a directory, the mail will be delivered to a newly 
created, guaranteed to be unique file named $MSGPREFIX* in the specified 
directory."

The / business is to do with MH style folders I think.

-- 
Alan

(  Please address personal email to alan+1@ as email to lists@
    is only read from my subscribed lists. )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.