Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: maltek on September 03, 2012, 10:20:36 AM

Title: Assign different SMTP Server to a user
Post by: maltek on September 03, 2012, 10:20:36 AM
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?
Title: Re: Assign different SMTP Server to a user
Post by: SKaero on September 04, 2012, 06:51:37 AM
You can do it with a plugin, look at the accounts plugin as an example.