[Please keep your lines to fewer than 72 characters long. The wrapping
is quite unpleasent.]
Marco Jakobs <mj(_at_)cycos(_dot_)com> writes:
It becomes a nightmare - my autoresponder sent back all mail to the procmail m
ailing-list to their senders
(someone of you noticed me - thank you!)
Now the problem:
I pick up my mail with following line:
:0
* ^To: mj
! .........
The problem is, that the "To:"-field contains
"procmail(_at_)informatik(_dot_)rwth-aachen
.de", so the mail cannot be
filtered. What lines do i have to use to look on the envelope, so that this ma
il would be correctly forwarded?
The envelope recipient is not 'normally' included in the header. However,
sendmail can be convinced to do so by tweaking the config file slightly
(add one line and tweak a couple others). Indeed, I believe that some of
the virtual domain setups going around the net enable this for their own
nefarious purposes, so it may be already be done for you. You should
consult with whoever maintains your sendmail setup as to the status of
this.
The question however arises: if this procmailrc for an account or alias
which is the target of a virtual domain? If so, that's fine, talk with
your sendmail admin as mentioned above. If not, why are you doing this
checking? -- all the mail going through this procmailrc is to you by
definition.
I'd give an example of what the sendmail.cf mods should look like, but
I can't recall the exact macro used in the header definition, so someone
else will have to tell you that.
Philip Guenther