procmail
[Top] [All Lists]

where am I mistaken?

1999-08-06 05:54:34
Era,
this is a copy from procmailex and should serve as autoreply.
mail.txt and vacation.cache were created correctly and work.
The user is "weiterle".
All mail, that has wrong Adresses is fetched by this user, or it fetches
mail from distant mail-accounts for people, that are on holydays.

:0 Whc: vacation.lock
 # Perform a quick check to see if the mail was addressed to us
 # Shouldn't be here a * $^TOkanzlei(_at_)schaper(_dot_)org ?
* $^To:.*kanzlei
 # Don't reply to daemons and mailinglists
* !^FROM_DAEMON
 # Mail loops are evil
* !^X-Loop: kanzlei(_at_)schaper(_dot_)org
| formail \-rtD 8192 ${MAILDIR}/kanzlei/vacation.cache

  :0 ehc
  # if the name was not in the cache
  | (formail -rA"Precedence: junk" -A"X-Loop: kanzlei(_at_)schaper(_dot_)org" ;
  | cat - $MAILDIR/kanzlei/autoreply.txt) | $SENDMAIL -oi -t

But the autoreply.txt is not sent.

What ist wrong?

Bye,
Jost

<Prev in Thread] Current Thread [Next in Thread>
  • where am I mistaken?, Jost Schaper <=