Roundcube Community Forum

 

Automx Plugin

Started by projectmyst, June 02, 2011, 01:42:31 PM

Previous topic - Next topic

projectmyst

Has any one got this plugin to work? I have tried every thing but it will not work and i can't find any info on it.

On the config/main.inc.php i have it as localhost and on the plugins/automx/config.inc.php i have the list of the host that i want for it to connect to (white list)

If the host that i'm connecting is on the localhost then it will connect but if the host that i'm trying to connect isn't then it just fails.

Any ides?

:(

atomlab

I have some problem.

atomlab

I have same problem.

atomlab

#3
#nslookup -type=mx   example.org
Server:         192.168.0.1
Address:        192.168.0.1#53

example.org     mail exchanger = 10 smtp.mailserver.org.

/config/main.inc.php
$rcmail_config['default_host'] = '';
$rcmail_config['plugins'] = array('automx');

/plugins/automx/config.inc.php
$rcmail_config['automx_whitelist'] = array("*.mailserver.org");

http://roundcube
login:[email protected]
password:****

Works!!!:)

projectmyst

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..

atomlab

Quote from: projectmyst;35156Hi 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.

[email protected]

When 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 :)