Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 48096

Re: Multiple servers and LMTP configuration

$
0
0
ZhangHuangbin wrote:

You can simply create this column to solve this issue. Just like existing one: mailbox.enablesmtp.

Ok,
I'll try that :-)
Can you explain one more thing to me ?
I guess it has to do something with /etc/dovecot/dovecot-mysql.conf file and below query:

user_query = SELECT \
    '%u' AS master_user, \
    CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, \
    CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule \
FROM mailbox,domain \
WHERE mailbox.username='%u' \
    AND mailbox.domain='%d' \
    AND mailbox.`enable%Ls%Lc`=1 \
    AND mailbox.domain=domain.domain \
    AND domain.backupmx=0 \
    AND domain.active=1 \
    AND mailbox.active=1

Unluckilly I have no idea what enable%Ls%Lc`=1 stands for.


Viewing all articles
Browse latest Browse all 48096

Trending Articles