Date: Thu, 10 Jun 2010 19:10:30 -0500 From: Neal Hogan <nealhogan@gmail.com> To: kalin m <kalin@el.net> Cc: freebsd-questions@freebsd.org Subject: Re: sendmail access Message-ID: <AANLkTinbFnIeu79jvLq_9LelCoVqosdMYGWU2TwHq5OT@mail.gmail.com> In-Reply-To: <4C114DAC.5070006@el.net> References: <4C114DAC.5070006@el.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 10, 2010 at 3:40 PM, kalin m <kalin@el.net> wrote: > > > > hi all... > reading > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html > > i did get an access file set up. it doesn't do anything thought... > i have only entry like this: > > some.domain.com =A0 =A0 =A0 =A0 =A0 =A0OK > > and did make. then changed /etc/defaults/rc.conf to > sendmail_enable=3D"YES".... > > restarted sendmail. cool. so far. now mail is a accepted from everywhere = not > only the entry in access: some.domain.com > > why? > As far as I understand it, the access file makes more fine-grained "decisions." That is, sendmail allows everything and the access file allows you to discriminate more precisely. Notice that the example has (something like) : spam.com REJECT . . . okay.spam.com OK So, if you only want to allow emails only from some.domain.com then you have to REJECT all other domains . . . good luck ;-) > thanks... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinbFnIeu79jvLq_9LelCoVqosdMYGWU2TwHq5OT>