[Mimedefang] OT: How to keep sendmail from using /etc/passwd
Kelsey Cummings
kgc at corp.sonic.net
Fri Mar 2 21:13:43 EST 2007
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.
--
Kelsey Cummings - kgc at corp.sonic.net sonic.net, inc.
System Architect 2260 Apollo Way
707.522.1000 Santa Rosa, CA 95407
More information about the MIMEDefang
mailing list