Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: smtp authentication failed Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
udgd66
Valued Community Member
Valued Community Member
Avatar

Joined: 06 December 2010
Location: Italy
Online Status: Offline
Posts: 98
Posted: 28 February 2011 at 5:07am | IP Logged Quote udgd66

Hi,
i saw that you have re-enabled the "Advanced login" mode.
But i still have a problem with my old account created on version 5 (it's not in domain).
I have no problem with POP3 but this account requires smtp authentication and i cannot send emails.

Code:

[12:53:36.74] [SMTP] Connecting to server smtp.xxxx.it on port 25
[12:53:36.83] [SMTP] <<: 220 mx04.xxxx.it
[12:53:36.84] [SMTP] >>: EHLO xxxx.it
[12:53:36.88] [SMTP] <<: 250-mx04.xxxx.it
[12:53:36.88] [SMTP] <<: 250-PIPELINING
[12:53:36.89] [SMTP] <<: 250-SIZE 52430000
[12:53:36.90] [SMTP] <<: 250-VRFY
[12:53:36.91] [SMTP] <<: 250-ETRN
[12:53:36.92] [SMTP] <<: 250-AUTH PLAIN LOGIN
[12:53:36.92] [SMTP] <<: 250-AUTH=PLAIN LOGIN
[12:53:36.93] [SMTP] <<: 250 8BITMIME
[12:53:36.94] [SMTP] >>: AUTH LOGIN
[12:53:36.97] [SMTP] <<: 334 VXglcg5hgWU6
[12:53:36.99] [SMTP] Sending encoded login
[12:53:36.99] [SMTP] >>: bWFyaW9Ag2gtZgNsgWIgaXQ=
[12:53:37.02] [SMTP] <<: 334 UGgzg3gvgmg6
[12:53:37.03] [SMTP] Sending encoded password
[12:53:37.04] [SMTP] >>: Mg1gNgYg
[12:53:37.07] [SMTP] <<: 535 Error: authentication failed
[12:53:37.08] [SMTP] Error <<: 535 Error: authentication failed
[12:53:37.09] XML Result >
<?xml version="1.0" encoding="utf-8"?><webmail><error><![CDATA[Impossibile inviare il messaggio.]]></error></webmail>


My settings.xml is this:
Code:

<OutgoingMailAuth>AuthCurrentUser</OutgoingMailAuth >
....
<LoginFormType>Email</LoginFormType>
<LoginAtDomainValue />
<UseLoginAsEmailAddress>Off</UseLoginAsEmailAddress >
<UseAdvancedLogin>On</UseAdvancedLogin>



When i have to connect on my account i choose "Advanced login", i set pop3 and smtp, different than the xml file because my primary account is another and not have smtp authentication.
How can i solve this problem? It's possible or not?

Tanks



Back to Top View udgd66's Profile Search for other posts by udgd66
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 28 February 2011 at 6:42am | IP Logged Quote Igor

In awm_accounts database table for this particular account, do you have the same values for mail_inc_login
and mail_out_login? From the log file, it sounds like they have some non-latin characters, is that the case?

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
udgd66
Valued Community Member
Valued Community Member
Avatar

Joined: 06 December 2010
Location: Italy
Online Status: Offline
Posts: 98
Posted: 28 February 2011 at 7:28am | IP Logged Quote udgd66

Igor wrote:
In awm_accounts database table for this particular account, do you have the same values for mail_inc_login
and mail_out_login?
Yes i have the same values (i suppose it's encrypted)
From the log file, it sounds like they have some non-latin characters, is that the case?
No, this isn't the case.

This is the full log when i trying to send message
[code]
[16:23:55.49] [POST(4)] /webmail/adminpanel/index.php?submit
[16:23:55.49] POST > [form_id, ch_EnableDebugLogging, selVerbosity, submit_btn]
[16:23:55.49]
[16:23:55.49] Location: index.php
[16:23:55.52] # script shutdown

[16:23:55.64] /webmail/adminpanel/index.php
[16:23:55.64]
[16:23:55.64] call CWebMailModule->PopulateData->ServicesLogging()
[16:23:55.66] # script shutdown

[16:23:58.71] [POST(1)] /webmail/processing.php
[16:23:58.71] POST > [xml]
[16:23:58.71]
[16:23:58.71] # start script
[16:23:58.88] POST[xml] = <?xml version="1.0" encoding="utf-8"?><webmail><param name="action" value="send"/><param name="request" value="message"/><message id="-1" from_acct_id="8" sensivity="0" size="0" priority="3" save_mail="1"><uid><![CDATA[]]></uid><headers><from><![CDATA["Mario Gent" <mario@xxxxx.it>]]></from><to><![CDATA["mario" <mario.xxxx@xxxx.it>, ]]></to><cc><![CDATA[]]></cc><bcc><![CDATA[]]></bcc><subject><![CDATA[prova] ]></subject><groups></groups></heade rs><body is_html="1"><![CDATA[<br>TESTING Send mail with SMTP authentication!<br><font face="Helvetica"><font size="-1"><br>


</font>
</font>

]]></body><attachments></attachments>&l t;/message></webmail>
[16:23:58.94] CAppServer->DoSendMessage
[16:23:58.96] DB : connected to root@localhost
[16:23:58.97] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `deleted`, `def_acct`, `mailing_list`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `def_order`, `getmail_at_login`, `mail_mode`, `mails_on_server_days`, `signature`, `signature_type`, `signature_opt`, `delimiter`, `mailbox_size`, `namespace` FROM awm_accounts WHERE `id_acct` = 8
[16:23:59.00] DB[2] > SELECT `id_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `last_login`, `logins_count`, `def_skin`, `def_lang`, `def_editor`, `save_mail`, `layout`, `incoming_charset`, `def_timezone`, `def_time_fmt`, `def_date_fmt`, `question_1`, `question_2`, `answer_1`, `answer_2`, `enable_fnbl_sync` FROM awm_settings WHERE `id_user` = 1
[16:23:59.01] INI_SET: memory_limit/set_time_limit = 200M/3000
[16:23:59.03] DB[3] > SELECT p.id_folder, p.id_parent, p.type, p.name, p.full_path, p.sync_type, p.hide, p.fld_order, p.flags,
     COUNT(messages.id) AS message_count, COUNT(messages_unread.seen) AS unread_message_count,
     SUM(messages.size) AS folder_size, MAX(folder_level) AS level
FROM (awm_folders as n, awm_folders_tree as t, awm_folders as p)
LEFT OUTER JOIN awm_messages AS messages ON p.id_folder = messages.id_folder_db
LEFT OUTER JOIN awm_messages AS messages_unread ON
     p.id_folder = messages_unread.id_folder_db AND
     messages.id = messages_unread.id AND messages_unread.seen = 0
WHERE n.id_parent = -1
     AND n.id_folder = t.id_parent
     AND t.id_folder = p.id_folder
     AND p.id_acct = 8
GROUP BY p.id_folder
ORDER BY p.fld_order
[16:23:59.05] [SMTP] Connecting to server smtp.xxxxx.it on port 25
[16:23:59.17] [SMTP] <<: 220 mx09.xxxxx.it
[16:23:59.18] [SMTP] >>: EHLO xxxxxx.it
[16:23:59.21] [SMTP] <<: 250-mx09.xxxxx.it
[16:23:59.22] [SMTP] <<: 250-PIPELINING
[16:23:59.22] [SMTP] <<: 250-SIZE 52430000
[16:23:59.23] [SMTP] <<: 250-VRFY
[16:23:59.23] [SMTP] <<: 250-ETRN
[16:23:59.24] [SMTP] <<: 250-AUTH PLAIN LOGIN
[16:23:59.24] [SMTP] <<: 250-AUTH=PLAIN LOGIN
[16:23:59.25] [SMTP] <<: 250 8BITMIME
[16:23:59.26] [SMTP] >>: AUTH LOGIN
[16:23:59.29] [SMTP] <<: 334 VXNgck53bdU6
[16:23:59.29] [SMTP] Sending encoded login
[16:23:59.30] [SMTP] >>: bhFhaW9hZjFtehNsgWIgaXQ=
[16:23:59.33] [SMTP] <<: 334 UGfzcfdv6fe5
[16:23:59.33] [SMTP] Sending encoded password
[16:23:59.34] [SMTP] >>: Uhgwkj2q
[16:23:59.42] [SMTP] <<: 535 Error: authentication failed
[16:23:59.42] [SMTP] Error <<: 535 Error: authentication failed
[16:23:59.43] XML Result >
<?xml version="1.0" encoding="utf-8"?><webmail><error><![CDATA[Impossibile inviare il messaggio.]]></error></webmail>
[16:23:59.43] # script shutdown
[16:23:59.44] DB : diconnect from root@localhost

[16:24:03.09] /webmail/adminpanel/index.php?pop&type=dllog
[16:24:03.09]
[16:24:03.09] call CWebMailModule->StandardPopAction->Services()
[16:24:03.12] # script shutdown

[16:24:06.19] /webmail/adminpanel/index.php?pop&type=log&action=view
[16:24:06.19]
[16:24:06.19] call CWebMailModule->StandardPopAction->Services()

[/doce]

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 28 February 2011 at 7:53am | IP Logged Quote Igor

Quote:
In awm_accounts database table for this particular account, do you
have the same values for mail_inc_login and mail_out_login?

Yes i have the same values (i suppose it's encrypted)


I'm sorry, but are you certain you were looking at correct database fields?
While passwords, for obvious reasons, are encrypted indeed - login should not be encrypted.

For testing purposes, try clearing mail_out_login and mail_out_pass fields - does that help?

--
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