Hello,
I have a problem with round cube and my network.
I have 3 ips and the OS is Linux Debian:
- eth0 - 46.55.253.244 - Ethernet
- eth0:0 - 46.55.253.245- Ethernet (Virtual)
- eth0:1 - 46.55.253.246- Ethernet (Virtual)
When adding the virtual networks round cube is connecting and sending
e-mails from x.x.x.245. Pls see the following log:
Apr 10 11:12:05 ns1 dovecot: imap-login: Login:
user=<office(a)pcexpert.bg>, method=PLAIN, rip=46.55.253.245,
lip=46.55.253.244, mpid=11257, session=<9wjJ+xww5gAuN/31>
When the virtual networks are down, then roundcube works fine:
Apr 10 11:32:05 ns1 dovecot: imap-login: Login:
user=<office(a)pcexpert.bg>, method=PLAIN, rip=46.55.253.244,
lip=46.55.253.244, mpid=11257, session=<9wjJ+xww5gAuN/31>
In config.ins.php the code is:
$config['default_host'] = 'pcexpert.bg';
When the code changes to $config['default_host'] = 'localhost' ,
roundcube is connecting 127.0.0.1, but sending e-mails from
46.55.253.245
Log:
Apr 10 11:32:05 ns1 dovecot: imap-login: Login:
user=<office(a)pcexpert.bg>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
mpid=11257, session=<9wjJ+xww5gAuN/31>
Pls advise, how can roundcube connect and send e-mails to the real ip
46.55.253.244, when having vitual networks.
Best Regards,
Svilen