Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Roundcube Community Forum
»
News and Announcements
»
General Discussion
»
Multiple account and smtp server
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multiple account and smtp server (Read 4593 times)
acarlomagno
Jr. Member
Posts: 10
Multiple account and smtp server
«
on:
January 04, 2010, 08:50:41 AM »
Hi All,
I am a newbie of RoundCube.
I want use this web client in order to allow the end user to use the his email account.
but, each user/account has the his smtp server.
well, I can do it ? or I must use only smtp server ?
best regards
Antonello
Logged
SKaero
Administrator
Hero Member
Posts: 5,898
Multiple account and smtp server
«
Reply #1 on:
January 04, 2010, 09:00:10 AM »
In the
/config/main.inc.php you can set the $rcmail_config['smtp_server'] put "%h" RoundCube will replace it with the user's IMAP hostname.
Logged
SK
aero
acarlomagno
Jr. Member
Posts: 10
Multiple account and smtp server
«
Reply #2 on:
January 04, 2010, 09:06:20 AM »
thanks, but if the user host name is different of smtp server ?
example:
user1 account:
one@server1.com
pass1: 1234
smtpserver: smtp.server1.com
AND
user2 account:
two@server2.com
pass2: 4321
smtpserver: mail.server2.com
antonello
Logged
JohnDoh
Global Moderator
Hero Member
Posts: 2,866
Multiple account and smtp server
«
Reply #3 on:
January 04, 2010, 01:12:40 PM »
it depends exactly how the smtp server is found. if the users use different urls to access RC then you can generate the value in the config file based on the url. you could also try using the smtp_connect plugin hook (
Plugin_Hooks ? Roundcube Webmail
) using this hook you can change the smtp server to what ever you want right before smtp connect.
Logged
Roundcube Plugins
: Contextmenu, SpamAssassin Prefs, and moreā¦
cdf6073
Newbie
Posts: 2
Multiple account and smtp server
«
Reply #4 on:
January 06, 2010, 07:52:49 AM »
Can you do the same for IMAP
Logged
SKaero
Administrator
Hero Member
Posts: 5,898
Multiple account and smtp server
«
Reply #5 on:
January 06, 2010, 08:30:44 AM »
Yes you can,
http://trac.roundcube.net/wiki/Plugin_Hooks#imap_connect
Logged
SK
aero
Print
Pages: [
1
]
« previous
next »
Roundcube Community Forum
»
News and Announcements
»
General Discussion
»
Multiple account and smtp server