Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Can’t change outgoingmailport Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
phloks
Newbie
Newbie


Joined: 08 January 2016
Location: Netherlands
Online Status: Offline
Posts: 5
Posted: 08 January 2016 at 2:27am | IP Logged Quote phloks

Hi,

I tried setting my SMTP variables to the values my provider uses in settings.xml.
I believe the relevant part is as follows :

<OutgoingMailServer>smtp.ziggo.nl</OutgoingMailServer>
<OutgoingMailPort>587</OutgoingMailPort>
<OutgoingMailAuth>AuthSpecified</OutgoingMailAuth>
<OutgoingMailLogin>my_user_id</OutgoingMailLogin>
<OutgoingMailPassword>my_password</OutgoingMailPassword>
<OutgoingMailUseSSL>On</OutgoingMailUseSSL>
<OutgoingSendingMethod>Specified</OutgoingSendingMethod>

(Had to type the stuff above...wasn't able to copy/paste, so if there are errors, they are typo's)

In the adminpanel I can see that port 587 is configured, however, when I try to send an email, I see in the debug logging that webmail still wants to setup a connection to smtp.ziggo.nl:25.

I tried logging off and on again, restarting apache, but that didn't help.

Is there anything else I should do ?

Thanks.
Back to Top View phloks's Profile Search for other posts by phloks
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 January 2016 at 1:42am | IP Logged Quote Igor

If you change default settings of the installation, they only apply to new accounts created in WebMail database upon changing those settings. For accounts you already have accessed with your WebMail install, the settings should be updated in settings of those accounts. You can delete and recreate the account in WebMail to have default settings applied.

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


Joined: 08 January 2016
Location: Netherlands
Online Status: Offline
Posts: 5
Posted: 12 January 2016 at 2:39am | IP Logged Quote phloks

Hi Igor,

Makes sense.
I just changed it the way you said, but it still isn't working.
In the log I can see that the connection to my provider on port 587 is initiated, but a bit later I get the error: 553 Incorrect authentication data.

Given the settings in my first post (except that I changed <OutgoingMailUseSSL>On</OutgoingMailUseSSL> to <OutgoingMailUseSSL>Off</OutgoingMailUseSSL> )

what needs to be in the fields mail_out_pass, mail_out_auth and mail_out_ssl in the table awm_accounts ?
Or are the database settings overridden by what is in settings.xml ?

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 12 January 2016 at 2:51am | IP Logged Quote Igor

I understand you're attempting to specify custom SMTP login details on global installation level but that's not supported. It only works in WebMail Pro, on domain level, while under Default settings this approach is disabled.

However, you can still supply custom credentials on account level. mail_out_pass is usually empty and mail_out_auth is set to 2, which means using incoming mail credentials for SMTP.

If you're looking for supplying custom password on the database level, we recommend to check EncodePassword and DecodePassword functions found in libraries/afterlogic/common/utils.php file, they transform passwords from clear text to format used for storing in the database and back from it.

Hope this helps.

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


Joined: 08 January 2016
Location: Netherlands
Online Status: Offline
Posts: 5
Posted: 12 January 2016 at 8:06am | IP Logged Quote phloks

Thanks for answering my questions.
I'm not quite clear what I need to do here.
I understand I can't configure this because I use the lite version.
In awm_accounts I can see my mail_out_login in plain text reflecting the correct username I have to use for logging in to the SMTP server.
In the debug log I can see that this username is coded into base64.
The password looks to be encoded using bin2hex, so I bin2hexed my password and updated the database.
I still get "incorrect authentication data".
mail_out_auth is set to 1, and mail_out_ssl is set to 0.

Are these settings correct ?
Is there a way to see wat password is being sent to my provider (now it says: SMTP[Secure]: ***** ?

Thank you,
Hans
Back to Top View phloks's Profile Search for other posts by phloks
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 12 January 2016 at 8:22am | IP Logged Quote Igor

No idea, sorry. Answering that would require involving the developers, which isn't something available for WebMail Lite users, the product is provided on AS IS basis. Thank you for understanding.

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


Joined: 08 January 2016
Location: Netherlands
Online Status: Offline
Posts: 5
Posted: 14 January 2016 at 6:46am | IP Logged Quote phloks

Igor,

I understand you have a commercial product that has more features than the lite version.
Before considering buying the full product, however, I would like to be able to test if the two most important things of the package will work for me, i.e. receiving and reading mail one one hand, and sending mail on the other.

The first works perfectly, but I still can't send any mails, rendering the product more or less useless at the moment.

Forget my question if it is possible to see the sent password in plain text, but
can you answer the following, please ?

1) Is it possible to send mail using the lite version, and configure it using custom credentials ?
2) If custom credentials are possible, is the only way to configure to enter them directly in the database ?
3) The exact format of OutgoingMailLogin and OutgoingMailPasword have not been disclosed (in the Pro documentation). Is this intentional ?

Hope you can (are allowed) to answer these questions.

Regards,
Hans
Back to Top View phloks's Profile Search for other posts by phloks
 
phloks
Newbie
Newbie


Joined: 08 January 2016
Location: Netherlands
Online Status: Offline
Posts: 5
Posted: 15 January 2016 at 7:24am | IP Logged Quote phloks

Never mind,

I figured out how to properly encode the password and update the database.

I can send mail now.

Thanks,
Hans
Back to Top View phloks's Profile Search for other posts by phloks
 

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