Author |
|
dwasifar Newbie
Joined: 29 December 2011
Online Status: Offline Posts: 7
|
Posted: 29 December 2011 at 7:09am | IP Logged
|
|
|
UPDATE to the below:
It seems Webmail Lite is trying to use the user login to connect to the outbound relay even though I have "Use Specified Login" selected in the Admin panel. That's why it looked like it was ignoring my settings changes. If I go in to the Settings page as a user, and change the login and password fields to the relay's login/pass, it sends the message successfully. But of course that controls the IMAP login too, so then I can't read mail anymore until I change it back.
Here is the relevant section of settings.xml:
<AllowWebMail>On</AllowWebMail>
<IncomingMailProtocol>IMAP4</IncomingMailProtocol>
<IncomingMailServer>127.0.0.1</IncomingMailServer>
<IncomingMailPort>143</IncomingMailPort>
<IncomingMailUseSSL>Off</IncomingMailUseSSL>
<OutgoingMailServer>204.13.248.72</OutgoingMailServer>
<OutgoingMailPort>465</OutgoingMailPort>
<OutgoingMailAuth>AuthSpecified</OutgoingMailAuth>
<OutgoingMailLogin>xXxXxXxX</OutgoingMailLogin>
<OutgoingMailPassword>xXxXxXxX</OutgoingMailPassword>
<OutgoingMailUseSSL>On</OutgoingMailUseSSL>
<OutgoingSendingMethod>Specified</OutgoingSendingMethod>
Seems like this is the auth info it should be using for outgoing mail, but it ignores this and tries to use the user login instead.
----Original message below this line ------
I'm trying to solve the "Can't send message" problem.
I'm using a relay at outbound.mailhop.org that requires authentication. Originally I set it up to go to ssl://outbound.mailhop.org, SSL checked, port 465. This resulted in Can't send message. The logs say authentication is failing. So I changed the settings: unchecked SSL, use port 2525 (one of their alternates), and for good measure changed the server address to use an IP instead of a name.
This change is visible in /data/settings/settings.xml. But the logs still show Webmail using the previous values: ssl://outbound.mailhop.org, port 465 and SSL authentication.
Why isn't it picking up the configuration changes?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 December 2011 at 11:22pm | IP Logged
|
|
|
Can you please confirm if this is about PHP or ASP.NET version of WebMail Lite? What version number is used?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
dwasifar Newbie
Joined: 29 December 2011
Online Status: Offline Posts: 7
|
Posted: 30 December 2011 at 6:39am | IP Logged
|
|
|
This is version 6.3.6 PHP running on Linux.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 01 January 2012 at 10:57pm | IP Logged
|
|
|
I'll need to speak to the developers on this one. But first, please confirm the following: if you go to user account settings, delete the account from there and re-create it by logging in again, does the issue persist?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
dwasifar Newbie
Joined: 29 December 2011
Online Status: Offline Posts: 7
|
Posted: 02 January 2012 at 7:02pm | IP Logged
|
|
|
Yes, the issue persists if the account is deleted and recreated.
I also tried manually inserting a domain record into the awm_domains table, because I saw that this table contained fields for mail_out values; and updating awm_accounts table to populate outbound parameter fields such as username and password that were previously empty. Aside from giving me another domain to work with in the admin page (which I assume is a Pro feature that I just inadvertently unlocked), these changes did not affect the issue.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 02 January 2012 at 11:35pm | IP Logged
|
|
|
I have tested this by selecting "Use specified login" option and supplying invalid authentication details, messages are still sent out and the log file contains base64-encoded login/password of incoming mail. I will make sure developers look into this once they're back from New Year holidays (that is, after 10th Jan 2012).
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
dwasifar Newbie
Joined: 29 December 2011
Online Status: Offline Posts: 7
|
Posted: 03 January 2012 at 6:14am | IP Logged
|
|
|
Thanks Igor, I will check back periodically for updates.
|
Back to Top |
|
|
dwasifar Newbie
Joined: 29 December 2011
Online Status: Offline Posts: 7
|
Posted: 03 January 2012 at 7:19pm | IP Logged
|
|
|
Hi Igor,
I have temporarily worked around the problem by changing these two lines of code in common/class_smtp.php:
Line 212: $result = CSmtp::ExecuteCommand($link, base64_encode($mailOutLogin), $out);
Line 218: $result = CSmtp::ExecuteCommand($link, base64_encode($mailOutPassword), $out);
I substituted literals containing the actual login and password for the $mailOut variables shown.
However, I am still interested in what the developers discover.
Thanks.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 11 January 2012 at 3:23am | IP Logged
|
|
|
I spoke to the developers on this, and upon deep investigation, it looks like the feature was added to default domain properties by mistake. This setting can apply to some domain you add in AdminPanel, but that's not supported by WebMail Lite. In future releases, this option will be hidden from default domain configuration.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
promidec Newbie
Joined: 04 June 2013
Online Status: Offline Posts: 5
|
Posted: 04 June 2013 at 9:22am | IP Logged
|
|
|
in the verion 7, we don't have directory and file common/class_smtp.php
for this same problem how can fix that ?
|
Back to Top |
|
|
promidec Newbie
Joined: 04 June 2013
Online Status: Offline Posts: 5
|
Posted: 04 June 2013 at 9:33am | IP Logged
|
|
|
fixed ! brute force
webmail\libraries\afterlogic\common\managers\mail\manager.php
Line 826: $oSmtpClient->Log in($sOutgoingMailLogin, $sOutgoingMailPassword);
$oSmtpClient->Login('uniqueLogin', 'uniquePwd');
|
Back to Top |
|
|