On 20/09/2021 12:13 pm, Carl Brewer wrote:
I'm trying to get Postfix 3.7 running on a FreeBSD 13 server, with Cyrus
IMAP 3.4.2
The instructions on the Cyrus website
https://www.cyrusimap.org/quickstart.html
say I need this line in main.cf :
virtual_mailbox_maps = socketmap:unix:/var/imap/socket/smmap
When I RTFM for this :
http://www.postfix.org/socketmap_table.5.html
It says :
SYNOPSIS
postmap -q "string" socketmap:inet:host:port:name
postmap -q "string" socketmap:unix:pathname:name
postmap -q - socketmap:inet:host:port:name <inputfile
postmap -q - socketmap:unix:pathname:name <inputfile
So I have a pathname, but not a name?
I changed it to this :
virtual_mailbox_maps = socketmap:unix:/var/imap/socket/smmap:smmapd
Which matches what's in cyrus.conf :
smmap cmd="smmapd" listen="/var/imap/socket/smmap" prefork=0
And Lo! It started working.
I think that solved that problem. I think the Cyrus doco needs updating.
Thank you
Carl