Topic: Multiple servers and LMTP configuration
==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue:
====
I want to use configuration with two MXservers and one storage node. For this test I've chosen mysql backend.
I've configured LMTP (in transport_maps) and servers are talking to each other, unless I have some problem with SQL structure.
On MX I can see in maillog:
to=<user@domain.ltd>, relay=10.10.10.10[10.10.10.10]:24, delay=569, delays=568/0.03/0/0.04, dsn=4.3.0, status=deferred (host 10.10.10.10[10.10.10.10] said: 451 4.3.0 <user@domain.ltd> Internal error occurred. Refer to server log for more information. (in reply to RCPT TO command))
In dovecot.log on storage server I can see:
Jan 26 02:14:18 auth-worker: Info: mysql(127.0.0.1): Connected to database vmail
Jan 26 02:14:18 auth-worker: Error: mysql: Query failed, retrying: Unknown column 'mailbox.enablelmtp' in 'where clause'
Jan 26 02:14:18 auth-worker: Error: sql(user@domain.ltd,10.10.10.10): User query failed: Unknown column 'mailbox.enablelmtp' in 'where clause'
Jan 26 02:14:18 lmtp(4785): Error: user user@domain.ltd: Auth USER lookup failed
I cannot see column enablelmtp in the database.
I have tested similar configuration with LDAP (AD) and it worked fine.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.