5.11.1. Configure Kopano-dagent for delivery via unix socket
-
I’m trying to configure postfix & dagent to work via lmtp:unix and followed the docs but mail is not being delivered by postfix.
core-11.0.2.43
Docs say to do the following:
mkdir -p /var/spool/kopano
chown kopano:kopano /var/spool/kopano
chmod go= /var/spool/kopano
setfacl -m u:postfix:rwx /var/spool/kopanoAfter this is setup update/set the value of lmtp_listen in dagent.cfg to make use of the new socket:
lmtp_listen = unix:/var/spool/kopano/dagent.sock
Set in main.cf
lmtp_listen = unix:/var/spool/kopano/dagent.sockAll above done OK, and checked settings and rights but no joy.
sudo -u postfix ls /var/spool/kopano/dagent.sock
comes back as ls: cannot access ‘dagent.sock’: Permission denied/var/spool/kopano# getfacl /var/spool/kopano
getfacl: Removing leading ‘/’ from absolute path namesfile: var/spool/kopano
owner: kopano
group: kopano
user::rwx
user:postfix:rwx #effective:—
group::—
mask::—
other::—/var/spool/kopano# getfacl /var/spool/kopano/dagent.sock
getfacl: Removing leading ‘/’ from absolute path namesfile: var/spool/kopano/dagent.sock
owner: kopano
group: kopano
user::rw-
group::rw-
other::rw-Am I missing something?
Thanks