I'm making prograess thanks to the help I received from
everyone on my original question.
Now, when I send an e-mail to a recipient like:
john(_dot_)doe(_at_)acme(_dot_)com
it is sent by sendmail to procmail. Procmail succsessfully
scans the incoming mail and does something with it like
alpha page.
The problem is that john.doe is never getting a copy in
e-mail. My recipe currently looks like this:
:0 c
* ^Subject:.*(beep|page)
/tmp/page.log
By running sendmail with various debug options, I can see that
sendmail is being called a second time to deliver e-mail to
a recipient of:
john(_dot_)doe(_at_)acme(_dot_)com(_dot_)procmail
By further debugging, I can see that my sendmail.cf is correctly
translating this recipient back to:
john(_dot_)doe(_at_)acme(_dot_)com
All looks good. However, when I do a test e-mail in debug mode,
here is what I see ....
<<BEGIN PASTE>>
root(_at_)maracas /etc/mail # /usr/lib/sendmail -v
john(_dot_)doe(_at_)acme(_dot_)com < /tmp/test
john(_dot_)doe(_at_)acme(_dot_)com(_dot_)(_dot_)(_dot_) Connecting to
/opt/procmail-3.10/procmailrc (procmail)...
john(_dot_)doe(_at_)acme(_dot_)com(_dot_)(_dot_)(_dot_) Executing
"/opt/procmail-3.10/bin/procmail -m /opt/procmail
-3.10/procmailrc root john(_dot_)doe(_at_)acme(_dot_)com(_dot_)procmail"
john(_dot_)doe(_at_)acme(_dot_)com(_dot_)(_dot_)(_dot_) Can't create output
root... aliased to riedt,jeffm,nataliah,anthonyh,pdm
Saving message in //dead.letter
//dead.letter... Can't create output
//dead.letter... aliasing/forwarding loop broken
root(_at_)maracas /etc/mail #
<<END PASTE>>
It seems that on the second invocation, after the e-mail address
has been translated back to john(_dot_)doe(_at_)acme(_dot_)com, sendmail(?) is
having
a problem.
This is a HP-UX 10.10 system and doesn't have a trace() or truss()
command that let's me watch a process execute system calls and
open and close files. I am a little stumped on how to figure out
what is causing this error message.
Does anyone have any suggestions?
-j