procmail
[Top] [All Lists]

can't run sendmail, but only sometimes

1997-07-16 12:24:00
So far I've been able to figure out my newbie questions from the faqs, but
now I'm stuck.

I get an error when I try to run formail or sendmail, but not always.  For
instance (from my verbose log):

procmail: Match on "^From: .*luser"
procmail: Executing " (formail -brt ; \
echo "Go away or I shall taunt you again." ;\
 ) | $SENDMAIL -oi -t"
From tmd(_at_)deering(_dot_)org  Wed Jul 16 13:27:11 1997


So I assume this went to sendmail.  But with this one:


procmail: Match on "^From: .*luser"
procmail: Assigning "LASTFOLDER= (formail -brt ; \
 echo "Go away or I shall taunt you again." ;\
 ) | $SENDMAIL -oi -t"
From tmd(_at_)deering(_dot_)org  Wed Jul 16 14:25:21 1997
Subject: upchuck
 Folder:  (formail -brt ; \   echo "Go away or I shall taunt you again
591
procmail: Executing " (formail -brt ; \
 echo "Go away or I shall taunt you again." ;\
 ) | $SENDMAIL -oi -t"
procmail: Notified comsat: "deering@: (formail -brt ; \
 echo "Go away or I shall taunt you again." ;\
 ) | $SENDMAIL -oi -t"
bin/sh: bin/sh: cannot open

I don't know why it stutters like this.   The code stays the same, si I
don't know why it would work only sometimes.  If it's any help, the regular
.forward file doesn't work on my machine.  Mine says:

"| /usr/local/bin/procmail -Yf- #deering"

instead of the usually recommended:

"|IFS=' '&&exec /usr/local/bin/procmail -f-||exit 75 #YOUR_USERNAME"

With the "exec" version above, all my mail goes into a black hole.   smrsh?

TIA

Tom
Tom

--
Tom Deering     -      tmd(_at_)deering(_dot_)org      -     
http://www.deering.org


<Prev in Thread] Current Thread [Next in Thread>
  • can't run sendmail, but only sometimes, Tom Deering <=