[oclug] Sendmail access with SASL
Paul Faure
paul at porkchop.org
Tue Feb 13 01:41:36 EST 2001
But they log on thru sendmail (SMTP and SASL). And sendmail has no way of
running a script to update the file on the fly.
On Mon, 12 Feb 2001, Dan Cardamore wrote:
>
> I was thinking you could update that file when people log on.
>
> Dan
>
> On Mon, Feb 12, 2001 at 09:44:44PM -0500, Paul Faure wrote:
> > But I only want it to RELAY if a valid SASL username and password has been
> > provided. SASL uses PAM to authenticate, so basically, only RELAY if the
> > user has an account.
> >
> > Thanks
> >
> > On Mon, 12 Feb 2001, Dan Cardamore wrote:
> >
> > > 192.168.1.6 RELAY
> > >
> > > You would need to have that access file update the access.db file.
> > > There is a Makefile which comes with RH7 which does all those files in
> > > /etc/mail (maybe all..). Here is what it looks like in case you don't
> > > have it:
> > >
> > > ##############################################################
> > >
> > > all: virtusertable.db access.db domaintable.db mailertable.db
> > >
> > > %.db : %
> > > @makemap hash $@ < $<
> > >
> > >
> > > clean:
> > > @rm -f *.db *~
> > >
> > > ##############################################################
> > >
> > > Dan
> > >
> > >
> > >
> > > On Mon, Feb 12, 2001 at 08:24:01PM -0500, Paul Faure wrote:
> > > > I just setup sendmail to use SASL so that people can login to sendmail
> > > > to send mail (outgoing).
> > > >
> > > > I would like to set it up so that sendmail relays mail for people only if
> > > > they logged in.
> > > >
> > > > What is the format for /etc/mail/access to do such a thing ?
> > > >
> > > > Thanks
> > > >
> > > > --
> > > > Paul Faure paul at paulfaure.com
> > > > Carleton University Systems Engineer 3rd Year paul at engsoc.org
> > > > EngSoc Admin/BOG Technical Director 613-266-3286
> > > >
> > > > _______________________________________________
> > > > oclug mailing list
> > > > oclug at lists.oclug.on.ca
> > > > http://www.oclug.on.ca/mailman/listinfo/oclug
> > > ________________________________________________________________
> > > Dan Cardamore wombat at hld.ca http://www.hld.ca
> > > GnuPGP Key: mailto:wombat at hld.ca?subject=sendpgpkey
> > > Email Stats: http://www.hld.ca/~wombat/emailStats
> > > Opensource projects: http://www.hld.ca/opensource
> > > My Groupware project: http://www.gwpeople.com
> > > ________________________________________________________________
> > > _______________________________________________
> > > oclug mailing list
> > > oclug at lists.oclug.on.ca
> > > http://www.oclug.on.ca/mailman/listinfo/oclug
> > >
> >
> > --
> > Paul Faure paul at paulfaure.com
> > Carleton University Systems Engineer 3rd Year paul at engsoc.org
> > EngSoc Admin/BOG Technical Director 613-266-3286
> >
> > _______________________________________________
> > oclug mailing list
> > oclug at lists.oclug.on.ca
> > http://www.oclug.on.ca/mailman/listinfo/oclug
> ________________________________________________________________
> Dan Cardamore wombat at hld.ca http://www.hld.ca
> GnuPGP Key: mailto:wombat at hld.ca?subject=sendpgpkey
> Email Stats: http://www.hld.ca/~wombat/emailStats
> Opensource projects: http://www.hld.ca/opensource
> My Groupware project: http://www.gwpeople.com
> ________________________________________________________________
> _______________________________________________
> oclug mailing list
> oclug at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug
>
--
Paul Faure paul at paulfaure.com
Carleton University Systems Engineer 3rd Year paul at engsoc.org
EngSoc Admin/BOG Technical Director 613-266-3286
More information about the OCLUG
mailing list