Posfix and Amavisd-new in FreeBSD jail

James B. Byrne byrnejb at harte-lyne.ca
Thu Jun 28 13:35:25 UTC 2018


Dose anyone on the list run Postfix with amavisd inside a FreeBSD
jail?  I am running into this problem:

/usr/local/sbin/amavisd[42231]: (!)DENIED ACCESS from IP 127.0.32.1,
policy bank ''

The cloned lo interface used by the jail is assigned address 127.0.32.1:

lo2: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet 127.0.32.1 netmask 0xffffffff
	inet6 ::32 prefixlen 128
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	groups: lo

The postfix and amavisd configuration files refer only to 127.0.0.1

The hosts file contains this:

::1               localhost localhost.harte-lyne.ca
127.0.0.1         localhost localhost.harte-lyne.ca

Does anyone have this working properly inside a jail.  What do I need
to do to get it to work?



-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3



More information about the freebsd-questions mailing list