[oclug] Sendmail access with SASL
Dan Cardamore
wombat at hld.ca
Tue Feb 13 09:28:25 EST 2001
Ahhhh... I was thinking this was an engsoc thing and you wanted to have
them ssh in and then be able to send.
According to this page: http://www.sendmail.org/~ca/email/auth.html
you don't need to update your access file since authenticated users are
by default allowed to relay. Here is a quote:
SMTP AUTH allows relaying for senders who have successfully
authenticated themselves. Per default, relaying is allowed for any user
who authenticated via a trusted mechanism, i.e., one that is defined via
TRUST_AUTH_MECH(`list of mechanisms')
Dan
On Tue, Feb 13, 2001 at 01:41:36AM -0500, Paul Faure wrote:
> 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
>
> _______________________________________________
> 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
________________________________________________________________
More information about the OCLUG
mailing list