Gerald Britton schreef:
$ cat /etc/procmailrc
Insert a
DROPPRIVS = 'yes'
here, because without it, the mbox is created wrongly.
See `man procmailrc`.
# Use mbox-style mailbox in FHS standard directory
DEFAULT=/var/mail/$LOGNAME
LOGFILE=$HOME/procmail
DEFAULT = "/var/mail/$LOGNAME"
LOGFILE = "$HOME/procmail"
I also have my userid set up as a directory under /var/mail/.
However, when I send myself an E-mail, I get something like this:
$ ls /var/mail/me/
msg.7QdS msg.ChmU msg.MSbU msg.V_WF msg.amXT msg.ikDB msg.sXSF
msg.sXbU msg.uWtL msg.wWtL msg.x3cS
Remove that 'me/' directory and let procmail re-create it.
If you want maildir-type delivery, append a slash to $DEFAULT:
DEFAULT = "/var/mail/$LOGNAME/"
This will make procmail create (and use) me/new, me/tmp, me/cur.
If I try to read this with mutt, like this
mutt -f /var/mail/me -m mbox
I get the message from mutt:
/var/mail/me/ is not a mailbox.
Does anyone know what's going on
You were using the wrong "mbox_type". Because you pre-created a
directory, procmail had to switch to MH-type.
Either use maildir:
mutt -f /var/mail/me -m Maildir
or remove the me/ directory and use mbox:
mutt -f /var/mail/me
or use the current MH-mode:
mutt -f /var/mail/me -m MH
--
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