Mimedefang is great I didn't think of doing it there!
-----Original Message-----
From: owner-nolug@joeykelly.net [mailto:owner-nolug@joeykelly.net] On Behalf
Of -ray
Sent: Tuesday, July 13, 2004 4:44 PM
To: 'nolug@joeykelly.net'
Subject: RE: [Nolug] Sendmail Rules
Ahhh, got it. Definitely a job for procmail, as Scott said. You'd need
to add it to the global procmail file, usually /etc/procmailrc.
Or if you had mimedefang setup, this is a easy job in the filter_end
function:
if ($sender =~ /^<?bob\@aol\.com>?$/i) {
foreach $recip (@Recipients) {
$res = delete_recipient($recip);
}
add_recipient("hr\@localdomain.com");
}
On Tue, 13 Jul 2004, Wimprine, Thomas wrote:
> He is trying to send email to people in the company which passes through
my
> server. Problem is I can't just discard his email because it may be
useful,
> so HR needs to make sure he isn't bad mouthing the boss that just fired
him.
>
>
> -----Original Message-----
> From: owner-nolug@joeykelly.net [mailto:owner-nolug@joeykelly.net] On
Behalf
> Of Scott Harney
> Sent: Tuesday, July 13, 2004 3:57 PM
> To: nolug@joeykelly.net
> Subject: Re: [Nolug] Sendmail Rules
>
> Wimprine, Thomas wrote:
> > We need mail from bob@aol.com to be viewed by the HR department, and
> > forwarded if "approved". So unfortunately this rules out just adding the
> > BCC.
>
> Is 'bob@aol.com' absolutely using your mailserver to send his outgoing
> mail? You can't control if bob@aol.com sends to random individuals
> using aol's mail servers from his aol-connected PC. if he sends
> outgoing mail through your mailserver (presumably through smtp+auth+TLS
> submission on tcp 587) then you have some control. Take a look at
> TMDA http://tmda.sourceforge.net . Specifically the tmda-ofmipd link.
>
>
>
>
>
>
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Ray DeJean http://www.r-a-y.org Systems Engineer Southeastern Louisiana University IBM Certified Specialist AIX Administration, AIX Support =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ___________________ Nolug mailing list nolug@nolug.org ___________________ Nolug mailing list nolug@nolug.orgReceived on 07/13/04
This archive was generated by hypermail 2.2.0 : 12/19/08 EST