You are here

Ports upgrade broke my mail server

A day or two ago I upgraded the ports in my jails. This stopped postfix from accepting mail. The problem was that postgrey, which listens for postfix on [geshifilter-code]tcp/10023[/geshifilter-code] stopped running. It produced an error about not being able to bind to [geshifilter-code]::1[/geshifilter-code]. I got it back running again by altering the flags in the startup script ([geshifilter-code]/usr/local/etc/rc.d/postfix[/geshifilter-code]) from:

[geshifilter-code]postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} --inet=10023 -d --user=postgrey --group=postgrey --dbdir=/var/db/postgrey --x-greylist-header=${postgrey_greylist_header}"}[/geshifilter-code]


[geshifilter-code]postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} --inet= -d --user=postgrey --group=postgrey --dbdir=/var/db/postgrey --x-greylist-header=${postgrey_greylist_header}"}[/geshifilter-code]

This forces binding to the IPv4 port only.

Add new comment

Simple Copyright Policy: If you want to reproduce anything on this site, get my permission first.