cyrus stopped delivery

Dan White dwhite at
Wed Sep 23 18:27:16 EDT 2009

I'm CCing the list.

On 23/09/09 14:56 -0700, rvh wrote:
> Over the last several restarts of cyrus the database error has
> not come up so that might have been resolved. Now it's just the:
> unable to create imap listener socket: Address family not supported by protocol
> I'll include the cyrus.conf file below.
>        # --- Normal cyrus spool, or Murder backends ---
>        # add or remove based on preferences
>        imap            cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
>        #imaps          cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100
>        pop3            cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
>        #pop3s          cmd="pop3d -s -U 30" listen="pop3s" prefork=0 maxchild=50
>        # At least one form of LMTP is required for delivery
>        # (you must keep the Unix socket name in sync with imap.conf)
>        lmtp            cmd="lmtpd -a" listen="localhost:lmtp" prefork=0 maxchild=20
>        # lmtpunix      cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20
>        # ----------------------------------------------
>        # useful if you need to give users remote access to sieve
>        # by default, we limit this to localhost in Debian
>        sieve           cmd="timsieved" listen="localhost:sieve" prefork=0 maxchild=100
>        # this one is needed for the notification services
>        notify          cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1

It appears to be complaining about your imap line in SERVICES. It's saying
that the address family is not supported. I assume that it's trying to
listen on tcp6 socket.

Try adding "proto=tcp4", like this:

imap            cmd="imapd -U 30" listen="imap" proto=tcp4 prefork=0 maxchild=100

If that works for imap, you'll need to replicate for pop3, lmpt and sieve.

See the man page for cyrus.conf for more information.

Dan White

More information about the Info-cyrus mailing list