Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Webmail ignores specified login settings Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dwasifar
Newbie
Newbie


Joined: 29 December 2011
Online Status: Offline
Posts: 7
Posted: 29 December 2011 at 7:09am | IP Logged Quote dwasifar

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 View dwasifar's Profile Search for other posts by dwasifar
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 29 December 2011 at 11:22pm | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 
dwasifar
Newbie
Newbie


Joined: 29 December 2011
Online Status: Offline
Posts: 7
Posted: 30 December 2011 at 6:39am | IP Logged Quote dwasifar

This is version 6.3.6 PHP running on Linux.
Back to Top View dwasifar's Profile Search for other posts by dwasifar
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 01 January 2012 at 10:57pm | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 
dwasifar
Newbie
Newbie


Joined: 29 December 2011
Online Status: Offline
Posts: 7
Posted: 02 January 2012 at 7:02pm | IP Logged Quote dwasifar

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 View dwasifar's Profile Search for other posts by dwasifar
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 02 January 2012 at 11:35pm | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 
dwasifar
Newbie
Newbie


Joined: 29 December 2011
Online Status: Offline
Posts: 7
Posted: 03 January 2012 at 6:14am | IP Logged Quote dwasifar

Thanks Igor, I will check back periodically for updates.
Back to Top View dwasifar's Profile Search for other posts by dwasifar
 
dwasifar
Newbie
Newbie


Joined: 29 December 2011
Online Status: Offline
Posts: 7
Posted: 03 January 2012 at 7:19pm | IP Logged Quote dwasifar

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 View dwasifar's Profile Search for other posts by dwasifar
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 January 2012 at 3:23am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 
promidec
Newbie
Newbie


Joined: 04 June 2013
Online Status: Offline
Posts: 5
Posted: 04 June 2013 at 9:22am | IP Logged Quote promidec

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 View promidec's Profile Search for other posts by promidec
 
promidec
Newbie
Newbie


Joined: 04 June 2013
Online Status: Offline
Posts: 5
Posted: 04 June 2013 at 9:33am | IP Logged Quote promidec

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 View promidec's Profile Search for other posts by promidec
 

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