Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Login with aliases Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mcoelho80
Newbie
Newbie


Joined: 03 April 2014
Location: Brazil
Online Status: Offline
Posts: 28
Posted: 03 April 2014 at 5:58am | IP Logged Quote mcoelho80

Hi folks,

My server setup allows users to login using their domain aliases, but, as webmail doesn't know what domain is an alias or not, it creates a profile for each different e-mail address.

I'm trying to create a plugin to allow user to log in using an e-mail alias, but with a single profile in webmail, so all user data, such as contacts and calendar be exactly the same for different e-mail addresses.

Using the hook api-integrator-login-to-account, I'm able to change user's e-mail address, but that is not the behavior I want, I'd like to keep the e-mail address in the aliased form, but using the same user id.

Is this possible? How to get that?

Thank you in advance.
Back to Top View mcoelho80's Profile Search for other posts by mcoelho80
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6087
Posted: 03 April 2014 at 6:46am | IP Logged Quote Igor

If I got that correctly, you need to have multiple server users (as in IMAP login IDs) point to the same email address. And if so, you can try using this plugin, but modify login depending on email, not vice versa. As long as email has the same value, it will be the same account regardless of login value. Of course, since WebMail has no idea about aliasing, you need to provide that mapping in plugin's code.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
mcoelho80
Newbie
Newbie


Joined: 03 April 2014
Location: Brazil
Online Status: Offline
Posts: 28
Posted: 03 April 2014 at 8:04am | IP Logged Quote mcoelho80

This is not exactly what I need. Let me show an example:

1) flowers-company.net is an alias to flowers-company.com.

2) John can use 2 different e-mail address to access webmail, IMAP and SMTP.

- john@flowers-company.com
- john@flowers-company.net


If John uses john@flowers-company.com to log into the webmail, and after one month, decides to access it using john@flowers-company.net, his calendar and contacts will be gone.

I'd like to let him use either e-mail addresses, but with a single profile in webmail.
Back to Top View mcoelho80's Profile Search for other posts by mcoelho80
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6087
Posted: 03 April 2014 at 8:15am | IP Logged Quote Igor

In this scenario implemented within WebMail Pro, john@flowers-company.com and john@flowers-company.net are logins, not emails. One of those needs to be assigned primary email - if it's the .com one, user can log with .com or .net but john@flowers-company.com is the email address displayed in the interface and used as "From" header. Contacts, calendars and such are tied to specific account identified by its email address, so you can log in with different login IDs but the email used in the interface must stay the same. That is the only way you can achieve something like that in WebMail Pro, at least without modifying the architecture substantially.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide