procmail
[Top] [All Lists]

Re: what does this mean: "cannot execute binary file"?

2006-04-16 21:38:30
On 4/13/06, TjL <lists(_at_)tntluoma(_dot_)com> wrote:
What is the easiest way to test for whether or not a directory exists,
and if it doesn't, send a message?

# MAILDIR is set to a single dot when the chdir fails.
MAILDIR = $HOME
:0
* MAILDIR ?? [.]
| { echo "From: you(_at_)whereveryou(_dot_)are" ;\
    echo "To: me(_at_)gmail(_dot_)com" ;\
    echo "Date: `date -R`" ;\
    echo "Subject: OMG: no home directory available" ;\
    echo "" } | sendmail -t


____________________________________________________________
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