Hi,

I am using Roundcube for webmail users, version 1.6.0 at the moment.
I'd like to use one instance for more domains, i.e., user1@domain1,
user2@domain2, etc. As mail servers for domains allowed may differ, I
am using simple pattern - mail.domain for IMAP and smtp.domain for
SMTP. This, translated into config, is

$config['imap_host'] = 'tls://mail.%s:143';
$config['smtp_host'] = 'tls://smtp.%s:587';

Nice, simple, but... not working. To be precise, IMAP host used for
login and mail message retrieval works well, SMTP host used for mail
sending does not work. If I put name without %s there, everything is
OK, but not universal, limiting full usage only for users in that
domain.

Is there anything I can try? Any (known) way to debug?

By the way, error message is 'SMTP Error (): Connection to server
failed'. In smtp.log, there is 'Connecting to localhost:587...' line,
which means smtp.%s somehow turns into localhost, where nothing listens
on port 587. Why? Is there any workaround? Patch to test?

Regards,
Milan
_______________________________________________
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to