procmail
[Top] [All Lists]

Re: procmail/sendmail general filter question

1998-04-30 19:13:39
abeck(_at_)falcon(_dot_)org writes:
ok, im subscribed to the list now.. no need to send me a direct copy.. :)
(thanks to all of those who did!)

If you don't want the direct copy, you should, if you can, put a

        Reply-To: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de

header in your outgoing messages.


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.. 

Looks good.



     # 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?  

Does what throw what where?  I'm not sure what the pronouns in the
above sentence are each refering to.



     # 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[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

Your procmailrc is still falling off the end without delivering the
message.  This is an error in your procmailrc, not the sendmail.cf.
What are the _exact_ contents of the involved procmailrc?


Philip Guenther