Roundcube Community Forum

 

Assign different SMTP Server to a user

Started by maltek, September 03, 2012, 10:20:36 AM

Previous topic - Next topic

maltek

Hi!
Is there any possibility to assign a smtp server based on the userid from a database or something?
Does overwriting the smtp_host varible upon login solve the problem? Background is, that I need to distinguish between 2 different account types and one of them needs some different mailserver/port for them.

Any ideas?

SKaero

You can do it with a plugin, look at the accounts plugin as an example.