On 1/3/22 11:03, Wietse Venema wrote:
There's a 'bare' ::1 where [::1] is needed.
To find these in main.cf or master.cf:

postconf | grep  '[^[]::1'
postconf -P | grep '[^[]::1'

The 'bare' ::1 may also appear in a /file/name that is referenced
by mynetworks or by some other Postfix feature. There's no simple
grep command for that.

ah.  didn't clue in that that error suggests 'bare' IPv6 :-/

grep'ing, found bare '::1' in both

        smtpd_authorized_xclient_hosts
        smtpd_authorized_xforward_hosts

in docs,

        Note: IP version 6 address information must be specified inside [] in the 
smtpd_authorized_xclient_hosts value, and in files specified with "/file/name". IP version 6 
addresses contain the ":" character, and would otherwise be confused with a "type:table" 
pattern.

i'd taken care of 'mynetworks', but not those.

i'd searched on the error-referenced "type:name" _in_ the docs, but the 
'smtpd_authorized_xclient_hosts' & 'smtpd_authorized_xforward_hosts' entries @ 
http://www.postfix.org/postconf.5.html mention "type:table" rather than "type:name".

now that I know, it's not an issue for me; if practical, could be useful for others 
to tie the error to the docs' " ...

mail's flowing again, now _with_ IPv6 in place.

thanks!


Reply via email to