sendmail access

Neal Hogan nealhogan at gmail.com
Fri Jun 11 00:10:32 UTC 2010


On Thu, Jun 10, 2010 at 3:40 PM, kalin m <kalin at 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            OK
>
> and did make. then changed /etc/defaults/rc.conf to
> sendmail_enable="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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list