Author Topic: Automx Plugin  (Read 6944 times)

Offline projectmyst

  • Jr. Member
  • **
  • Posts: 30
Automx Plugin
« on: June 02, 2011, 01:42:31 PM »
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?

:(

Offline atomlab

  • Newbie
  • *
  • Posts: 3
Automx Plugin
« Reply #1 on: June 03, 2011, 11:28:17 AM »
I have some problem.

Offline atomlab

  • Newbie
  • *
  • Posts: 3
Automx Plugin
« Reply #2 on: June 03, 2011, 11:29:04 AM »
I have same problem.

Offline atomlab

  • Newbie
  • *
  • Posts: 3
Automx Plugin
« Reply #3 on: June 04, 2011, 03:32:27 PM »
#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:username@example.org
password:****

Works!!!:)
« Last Edit: June 04, 2011, 03:42:30 PM by atomlab »

Offline projectmyst

  • Jr. Member
  • **
  • Posts: 30
Automx Plugin
« Reply #4 on: June 04, 2011, 03:51:18 PM »
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..

Offline atomlab

  • Newbie
  • *
  • Posts: 3
Automx Plugin
« Reply #5 on: June 04, 2011, 07:07:19 PM »
Quote from: projectmyst;35156
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.ru

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