Postfix, dns, and hosts.allow

Pollywog lists-fbsd at
Wed Nov 14 08:27:21 PST 2007

On Wednesday 14 November 2007 05:01:58 jekillen wrote:
> Hello:
> I have a question about Postfix and
> hosts.allow:
> Sendmail and exim are mentioned in the
> file and I assume that Sendmail would
> refer to Postfix sendmail as well as Sendmail.
> But Since Postfix runs smtp.d, how would I
> do Postfix in hosts.allow?

I believe you would refer to it as "smtp" if that is what you have 
in /etc/services

> I also have a question about how postfix
> would resolve names outside of the local
> domain, Does it use resolve.conf, hosts.equiv,
> nsswitch or does it need a local name server.

The nameserver does not need to be local.  It can use the ones in resolv.conf
Make sure you use numeric hosts in resolv.conf   I know that is obvious but I 
have seen people put textual hostnames in the file and then wonder why it 
does not work.

More information about the freebsd-questions mailing list