Configuring sendmail to drop invalid users
Mike Tremaine
mgt at STELLARCORE.NET
Wed Sep 29 00:12:08 IST 2004
On Tue, 2004-09-28 at 13:54, Rob wrote:
This probably belongs on the sendmail news group but here goes...
> if I need to have 2 robs at a domain.com I simply create system user rob2
> and forward rob at domain.com to rob2 in my virtualusertable file, and leave
> the original rob there, where any other rob at domain2.com will go.
>
I get the feeling you are using this as a gateway? If not then what are
the real usernames on the system level?
> But I would like to simply have a set up where I can have multiple robs on
> multiple domains without doing this and if email is sent to rob at domain.com
> and there is no rob at domain.com but there is at domain2.com I want the email
> rejected for rob at domain.com
>
/etc/mail/virtualusertable [As you know] is pretty powerful generally I
do this for each virtual domain
bob at domain.com blastname
rob at domain.com rlastname
@domain.com error:nouser No such user here
rob at domain2.com rdifferntname
@domain2.com error:nouser No such user here
That maps the alias at domain to the localuser and stops "bleed through".
Critical so you don;t get all the webmaster and postmaster and root
@domain junk.
But I think you know this and are actually asking about something
else...
Mike
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
More information about the MailScanner
mailing list