Re: [Nolug] Sendmail Rules

From: Scott Harney <scotth_at_scottharney.com>
Date: Tue, 13 Jul 2004 15:45:50 -0500
Message-ID: <40F449FE.3060306@scottharney.com>

-ray wrote:
> On Tue, 13 Jul 2004, Wimprine, Thomas wrote:
>
>
>>I have a need to do some sendmail rules for my HR department. (I don't like
>>it it's my job.) If bob@aol.com <mailto:bob@aol.com> sends an email I need
>>the recipients replaced with HR@localdomain.com <mailto:HR@localdomain.com>
>>. Does anyone have a clue how to accomplish this? I have the bat book open
>>but it looks like Greek right now, it just doesn't make sense.
>
>
> You need the *recipient* addresses replaced? That would be complicated in
> sendmail and probably easier to do with the MUA. (send to
> hr@localdomain.com and bcc everyone else).

If he really needs *recipient* addresses replaced on inbound email,
something like procmail is the answer. Or perhaps a milter that checks
envelope senders for "bob@aol.com" and adds the "hr@localdomain.com" to
the recipient list.

-- 
Scott Harney <scotth@scottharney.com>
"Asking the wrong questions is the leading cause of wrong answers"
gpg key fingerprint=7125 0BD3 8EC4 08D7 321D CEE9 F024 7DA6 0BC7 94E5
___________________
Nolug mailing list
nolug@nolug.org
Received on 07/13/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST