procmail
[Top] [All Lists]

Re: Help with recipie

2002-08-07 17:07:17
At 09:50 2002-08-07 -0500, Bruce Pea wrote:
Procmailrc file:

Add:

VERBOSE=ON

After the logfile variable definition. Then, send your test message and re-evaluate the log. Better yet, consider using a "sandbox" (as described via links within my disclaimer).

Without the VERBOSE, providing logfile excerpts isn't really all that useful, since it pretty much just confirms that the message was dumped into some mailbox, rather than what it didn't like about the recipe.


:0 hc
* 
<mailto:^TOmaintenance(_at_)mydomain(_dot_)com>^TOmaintenance(_at_)mydomain(_dot_)com
  | (formail -rtb -I"Precedence: bulk" \
     -I"From: MyDomain Maintenance" \
     -I"Subject: Your Maintenance Request"; \
     cat /etc/procmail/mreply \
     ) | $SENDMAIL -oi -t
me

What is "me" for? The line piping to formail (and eventually to $SENDMAIL) is the delivery action for this recipe.

Note that you lack any form of loop checking here.

Aug 7 09:34:15 mail procmail[3858]: Renamed bogus "/var/mail/maintenance" into "/var/mail/BOGUS.maintenance.hRX"

Apparently you need to address something in your MTA config about where mail gets delivered, or recompile procmail. I don't use postfix, so I can't point you in the right direction on this.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Help with recipie, Bruce Pea
    • Re: Help with recipie, Professional Software Engineering <=