ok, im subscribed to the list now.. no need to send me a direct copy.. :)
(thanks to all of those who did!)
On Wed, 29 Apr 1998, Philip Guenther wrote:
to make a long story short, i've boned up on m4.. i like it :)
i've thrown this into my .mc file:
LOCAL_RULE_0
R$*<@$+>$* $#procmail $@/etc/procmailrc $:$1(_at_)$2procmail$3
R$*<@$*.procmail>$* $1@<$2>$3 map back of procmail copy
it puts it in S98..
# If you haven't extracted the envelope sender from $@ already:
SENDER = $1
SHIFT = 1
what im wondering is, does it throw it into the right place, in regards to
using the above suggestion?
# Resend the message, with the original envelope sender address,
# to the original recipients. The recipient addresses will have
# been munged by the sendmail rules so that this won't loop. The
# "--" in the action is so that someone can't send a message to
# "-C/some/file/name" and have sendmail use a different
# configuration file, which would be an easy way to break root
# for any local user, and possibly remote users as well!
:0
! -f "$SENDER" -- "$@"
im still getting the same errors..
Apr 30 12:47:29 dipper sendmail[11696]: MAA11696: from=abeck, size=80,
class=0, pri=30080, nrcpts=1,
msgid=<199804301947(_dot_)MAA11696(_at_)dipper(_dot_)norshore(_dot_)wednet(_dot_)edu>,
relay=root(_at_)localhost
Apr 30 12:47:29 dipper sendmail[11698]: MAA11696: to=bob(_at_)falcon(_dot_)org,
ctladdr=abeck (766/100), delay=00:00:00, xdelay=00:00:00, mailer=procmail,
relay=/etc/procmailrc, stat=Can't create output: Error 0
Apr 30 12:47:29 dipper sendmail[11698]: MAA11696: MAA11698: DSN: Can't
create output: Error 0
Apr 30 12:47:30 dipper sendmail[11698]: MAA11698: to=abeck,
delay=00:00:01, xdelay=00:00:01, mailer=local, stat=Sent
in the bounce of the email sent out, it has this:
Final-Recipient: RFC822;
bob(_at_)falcon(_dot_)org(_dot_)procmail@dipper.norshore.wednet.edu
changing the ruleset around leads to similar results.. any ideas?
note: since all of the mail is going through procmail, it affects every
piece of mail...