Hi atomlab
I've been looking at you post but i just can't make heads or tails of it, can you try to explain to someone that doesn't know much about it..
For example, I have mail in the domain example.ru.
bob@example.ruWhen I try login, By default Roundcube connected to example.ru:143 (imap protocol)
But MX server for domain
example.ru is
smtp.example.ru.
I can learn about it Having executed command in console(Linux or Windows):
#nslookup -type=mx example.ru...
example.ru mail exchanger = 10
smtp.example.ru.
Let's check up
#telnet smtp.example.ru. 143 Trying 199.28.221.71...
Connected to
smtp.example.ru.
Escape character is '^]'.
* OK IMAP.EXAMPLE.RU Cyrus IMAP4 v2.2.13-Debian-2.2.13-10+etch4 server ready
automx automatically defines mx record
smtp.example.ru for domain
example.ru and Rouncube connected to
smtp.example.ru:143
In file /plugins/automx/config.inc.php I have listed allowed mx server's.
$rcmail_config['automx_whitelist'] = array("smtp.example.ru"); # Аllowed connected to only
smtp.example.ru MX server
or
$rcmail_config['automx_whitelist'] = array("*"); # Аllowed connected to any MX server.
P.S: I hope have correctly understood your problem