procmail
[Top] [All Lists]

Re: fetchmail procmail issue

2007-08-16 00:59:08
rouble schreef:

is there someway I can get procmail to just error
out in this case? And not default MAILDIR to "." (or $HOME), and just
not process the email?

Just test the value of MAILDIR (which is the cd-command of procmail).

   MAILDIR = "/mnt/host/Maildir"
   :0
   * MAILDIR ?? ^^[.]^^
   ...

See procmailrc and procmailex about EXITCODE, SUSPEND, etc. 

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

<Prev in Thread] Current Thread [Next in Thread>