[Mimedefang] OT: How to keep sendmail from using /etc/passwd

Jeff Rife mimedefang at nabs.net
Fri Mar 2 22:58:17 EST 2007

On 2 Mar 2007 at 18:13, Kelsey Cummings wrote:

> On Fri, Mar 02, 2007 at 05:38:07PM -0800, David Nelson wrote:
> > I know this question is better for a sendmail user group, but hopefully
> > it's a quick and easy answer.
> > 
> > I need to know if there's a way to tell sendmail to not consider using
> > /etc/passwd for the LHS and to strictly rely on aliases and
> > virtusertable.  I have e-mail addresses like mike at somedomain.com, but
> > the username in /etc/passwd is mblack.  The problem is that
> > mblack at somedomain.com works as a valid address.
> Add
> @somedomain.com	error:5.1.1:550 User unknown
> to the virtusertable, it'll prevent it from falling through to local user.

I believe this will also stop it from falling through to aliases as
well, at least in the default sendmail configuration that requires a 
domain for non-local mail.

Jeff Rife |  
          | http://www.nabs.net/Cartoons/Dilbert/Win95CatOnMonitor.gif 

More information about the MIMEDefang mailing list