Author |
|
colins Newbie
Joined: 16 April 2011 Location: United States
Online Status: Offline Posts: 5
|
Posted: 24 September 2013 at 6:08pm | IP Logged
|
|
|
We have used V5.1.8 for years with success. But some bugs have been causing us grief, so we are thinking of upgrading.
Experimenting with Webmail Lite suggests that it cannot deal correctly with accounts where the account name is not the same as the left part of the email address. We have many such accounts. If you configure it to only need the account name in the login, rather than the full address, it works, but when you send email from it it does not fill in the full sender email (because it does not know it) and hence the receiving MTA will reject it for failing sender verification.
But if you require a full email address and the left part is not the same as the account name it won't (obviously) be able to login.
This seems like an insurmountable problem. As the old V5.1.8 required both the account and email address to be entered, along with the password, it did not suffer from the problem.
So my questions are:
- Am I right in my assessment?
- Is there a workaround?
- Does the Pro version solve this problem?
- If so, how?
Finally, I find the descriptions of the pricing for Pro confusing, and cannot determine if I am eligible for the $99 version or not. We are an ISP that runs a Postfix email server with UW IMAP and POP3.
Thanks!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 25 September 2013 at 2:46am | IP Logged
|
|
|
Current version of WebMail, be it Lite or Pro, supports two scenarios: mail server login should match either full email address or its username part. To set which approach should be used, UseLoginAsEmailAddress is set to either On or Off in data/settings/settings.xml file. The scenario when mail server login matches neither email nor its username part is not supported directly as login form has email and password fields only.
Still, you might be able to achieve what you require, with the Pro version: it supports adding users through AdminPanel, with both login and email entered there. Feel free to check if that works for you with the trial copy of the Pro, but keep in mind that this scenario wasn't tested and you'll be using it at your own risk.
As for licensing-related question, per-server license is a special offer for hosting providers, who are willing to offer WebMail Pro to their customers, and it's assumed they run a hosting management panel of some kind. The way I see, this matches your case perfectly.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
colins Newbie
Joined: 16 April 2011 Location: United States
Online Status: Offline Posts: 5
|
Posted: 25 September 2013 at 7:26am | IP Logged
|
|
|
Igor,
Thank you for the quick response. I have to say that I am surprised that WebMail in either form does not deal with the situation where the left of an email address is not the account name. This must happen all the time, and certainly does here.
The only explanation I can think of is that mainstream IMAP/POP3/SMTP servers now allow the email address as the login and can look up the associated account. The somewhat limited UW IMAP we use can't do this.
It seems like a backward step when the latest version of WebMail has less capability than earlier versions. Surely if you set UseLoginAsEmailAddress to Off don't you need to be able to specify the email address somewhere else (for "Reply To" if nothing else)?
I hate having to hack code to make it do what we want, as it interferes with updates, but feel now that the only way to get this to work is to maintain a separate( ie: outside of WebMail) table relating emails to account names, and then hack the login routine in Lite to take the given email address and translate it to an account name prior to logging into the server. Do you see anything wrong with that, and can you guide me to the location(s) of the IMAP/POP3/SMTP login function(s)?
Thanks again,
Colin
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 25 September 2013 at 7:57am | IP Logged
|
|
|
Quote:
Surely if you set UseLoginAsEmailAddress to Off don't you need to be able to specify the email address somewhere else (for "Reply To" if nothing else)? |
|
|
Indeed you don't, because in either scenario you supply email address on login, it's only about whether it's used in full or just its username bit.
Quote:
Do you see anything wrong with that, and can you guide me to the location(s) of the IMAP/POP3/SMTP login function(s)? |
|
|
That's not going to work that way, I'm afraid, as things are not limited to logging in. WebMail needs email address for supplying it in email message, but it also needs username for authentication on IMAP and SMTP. So even if you make user log into WebMail, part of its functionality won't work as it should, as the approach you described doesn't eliminate the main problem: WebMail needs to know both username and email address.
To make WebMail work the way you require, you would have to tell it how to determine login based on email address. In libraries/afterlogic/common/utils.php file, there's a method called GetAccountNameFromEmail, and hacking that method would probably be the most straightforward way to achieve what you need.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
colins Newbie
Joined: 16 April 2011 Location: United States
Online Status: Offline Posts: 5
|
Posted: 25 September 2013 at 9:12am | IP Logged
|
|
|
Quote:
To make WebMail work the way you require, you would have to tell it how to determine login based on email address. In libraries/afterlogic/common/utils.php file, there's a method called GetAccountNameFromEmail, and hacking that method would probably be the most straightforward way to achieve what you need. |
|
|
I guess I did not explain my plan well enough. What you suggest is exactly what I plan. The user logs in with a full email and password, I then hack to look up the account name associated with that email and use that to log in. WebMail uses the full email for reply to etc, and I translate it for log in. Sounds like hacking GetAccountNameFromEmail would allow just that.
Not wanting to beat a dead horse, but a system that does not allow an email address that is not based on the account name to work seems like a curious limitation.
Thanks again for your speedy replies.
Colin
|
Back to Top |
|
|