On Mon, 29 Mar 2004, Wimprine, Thomas wrote:
> I have an email gateway that all my company email is filtered through. I
> would like to use a former employee's email addresses as spamtraps, however
> I'm having some problems getting this to work properly.
>
>
>
> I have a former employee Bob, and rather than have his email get bounced
> around a few times, I would like the gateway to have the email address
> bob@domain.com <mailto:bob@domain.com> changed to spam@gateway.domain.com
> <mailto:spam@gateway.domain.com> , and be directly delivered to the spam box
> for parsing etc. I have tried to modify the virtusertable and it doesn't
> seem to be working, are there any other suggestions?
Check out the genericstable feature and GENERICS_DOMAIN commands. That
should do the rewriting you want. genericstable can be a hash just like
virtusertable, or you can use ldap like we do:
GENERICS_DOMAIN_FILE(`@ldap:-k (&(objectClass=sendmailClassObject)(sendmailClassName=G)) -v sendmailClassValue')
FEATURE(`genericstable', `LDAP: -k (|(sendmailAliasKey=%0)(uid=%0)) -v sendmailRewriteValue')dnl
ray
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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
Received on 03/29/04
This archive was generated by hypermail 2.2.0 : 12/19/08 EST