OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Frustration...
From: William Yodlowsky (wyodlowsnj.devry.edu)
Date: Wed Aug 02 2000 - 19:49:28 CDT


On Thu, 3 Aug 2000, Craig Sanders wrote:

> On Thu, Jul 27, 2000 at 09:22:17AM -0400, William Yodlowsky wrote:
> > On Thu, 27 Jul 2000, Thomas Andres wrote:
> >
> > > > Right, but I wanted it to verify that it's a valid user... In
> > > > other words, I can't send mail as doesntexistmydomain.dom unless
> > > > there's a user "doesntexist" in my passwd file.
> >
> > True. But we are a school, and policies come down from above. For
> > instance, I would rather not have to deal some student sending mail
> > as <expletivemydomain.dom> and the recipient bringing some kind of
> > action against us.
>
> IMO, it's not worth worrying about. but if you really want to do it,
> you could write a script which read in /etc/passwd and /etc/aliases and
> generated a map file called, say, "validusers" with lines like:
>
> user1your.domain OK
> user2your.domain OK
> user3your.domain OK
> .
> .
> .
> your.domain REJECT
>
> then use it in smtpd_recipient_restrictions like so:
>
> check_sender_access hash:/etc/postfix/validusers
[snip]
> note: the above idea is untested. it might even work. experiment until
> it does :)

Heh, that's not bad. You folks have basically convinced me not to worry
about it, but when I get a spare second or two I may well try this.

If it's successful, I'll report back here. If not, I'll flame Craig
privately.

[just kidding Craig!]

Thanks for the idea.

`-
William Yodlowsky
<wyodlowsnj.devry.edu>