procmail
[Top] [All Lists]

Re: BOGUS when using symlink for mbox

2005-11-30 06:11:38
Leslie Herps:

Please reply to the list.

Does that "/var/spool/mail/USERNAME" (or whatever it reports) exist?
Is it a symlink?

It's a symlink.

OK, I think I now understand (the limits of) your problem: You want
ORGMAIL to be a symlink, even when 'man procmail' says you can't. Is
that right?


And where it points to exists.

I suppose as a file (not a folder).

I also suppose that you know about the differences between
/etc/procmailrc (no dot) and $HOME/.procmailrc.


[/etc/procmailrc]
  ORGMAIL   = "$HOME/mbox_error"
  DEFAULT   = "$HOME/mbox"
  DROPPRIVS = 'yes'  # important!
  LOGFILE   = "$HOME/procmailrc.log"

Tried all that. No luck :(


Was the procmailrc.log created? What did it show? Did it also not work
with a default procmail-executable (and without the ORGMAIL-line)?

AFAIK a standard procmail can deliver to a symlink, so setting DEFAULT
in /etc/procmailrc should be sufficient to do what you want.
But you need to let ORGMAIL be a real file (or maildir-folder), for
example /var/spool/mail/USERNAME.

-- 
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