Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Mail cannot be sent Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
tedo
Newbie
Newbie


Joined: 07 January 2013
Location: Germany
Online Status: Offline
Posts: 1
Posted: 07 January 2013 at 7:46am | IP Logged Quote tedo

Hi

I just installed Webmail Lite.


If sending an email, the following error message appears.


Kann nicht zum SMTP server verbinden. Überprüfen Sie die SMTP server Einstellungen.

(Cannot connect to SMTP server. Check your SMTP server configuration.)

Server address and port (25) are correct configured at user and admin account, also enabling authentication.

My email address and login are different Could this be the cause?

Regards

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 08 January 2013 at 1:51am | IP Logged Quote Igor

Looks like it's not about SMTP authentication, WebMail cannot connect to SMTP server. Maybe SMTP server name was misspelled, or there's a firewall preventing access.

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


Joined: 15 January 2013
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 15 January 2013 at 4:29pm | IP Logged Quote fletcjas

Im having the same problem, But my phone connects fine.
Heres the debug log:

[00:28:46.41] [POST(1)] /webmail/processing.php
[00:28:46.41] POST > [xml]
[00:28:46.41]
[00:28:46.41] POST[xml] = <?xml version="1.0" encoding="utf-8"?><webmail><param name="token" value="8a875c74092613fae82b81e0ae8bdcfc"/><param name="action" value="send"/><param name="request" value="message"/><message id="67" x-fid="" from_acct_id="1" from_identity_id="-1" sensivity="0" size="0" priority="3" save_mail="1" autosave="0"><uid><![CDATA[]]></uid><headers><from><![CDATA["System Admin" <admin@fletchers-home.net>]]></from><to><![CDATA[admin@fletchers-home.net]]></to><cc><![CDATA[]]></cc><bcc><![CDATA[]]></bcc><subject><![CDATA[Hh]]></subject><groups></groups></headers><body is_html="1"><![CDATA[<FONT size=2 face=Tahoma><FONT size=2 face=Tahoma><FONT size=2 face=Tahoma><FONT size=2 face=Tahoma><FONT size=2 face=Tahoma><FONT size=2 face=Tahoma>Hhfgg</FONT> nn</FONT> </FONT></FONT></FONT></FONT>]]></body><attachments></attachments></message></webmail>
[00:28:46.45] DB : connected to root@localhost
[00:28:46.47] DB[1] > SELECT `id_domain`, `id_realm`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `site_name`, `lang`, `def_user_timezone`, `def_user_timeformat`, `def_user_dateformat`, `allow_registration`, `allow_pass_reset`, `allow_webmail`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_auth`, `mail_out_login`, `mail_out_pass`, `mail_out_ssl`, `mail_out_method`, `check_interval`, `skin`, `msgs_per_page`, `allow_change_interface_settings`, `allow_change_account_settings`, `allow_users_add_acounts`, `allow_new_users_register`, `layout`, `xlist`, `allow_contacts`, `contacts_per_page`, `global_addr_book`, `allow_calendar`, `cal_show_weekends`, `cal_workday_starts`, `cal_workday_ends`, `cal_show_workday`, `cal_week_starts_on`, `cal_default_tab` FROM awm_domains WHERE `url` = 'fletchers-home.net'
[00:28:46.52] CAppServer->DoSendMessage
[00:28:46.53] DB[2] > SELECT `id_acct`, `id_user`, `id_domain`, `id_realm`, `deleted`, `def_acct`, `mailing_list`, `quota`, `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`, `custom_fields` FROM awm_accounts WHERE `id_acct` = 1
[00:28:46.57] DB[3] > 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`, `client_timeoffset`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 1
[00:28:46.60] DB[4] > 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 = 1
GROUP BY p.id_folder
ORDER BY p.fld_order
[00:28:46.63] [SMTP] Connecting to server 127.0.0.1 on port 25
[00:28:46.64] [SMTP] <<: 220 server1.fletchers-home.net Microsoft ESMTP MAIL Service, Version: 6.0.3790.4675 ready at Wed, 16 Jan 2013 00:28:46 +0000
[00:28:46.66] [SMTP] >>: EHLO fletchers-home.net
[00:28:46.67] [SMTP] <<: 250-server1.fletchers-home.net Hello [127.0.0.1]
[00:28:46.69] [SMTP] <<: 250-TURN
[00:28:46.70] [SMTP] <<: 250-SIZE 2097152
[00:28:46.72] [SMTP] <<: 250-ETRN
[00:28:46.73] [SMTP] <<: 250-PIPELINING
[00:28:46.75] [SMTP] <<: 250-DSN
[00:28:46.76] [SMTP] <<: 250-ENHANCEDSTATUSCODES
[00:28:46.77] [SMTP] <<: 250-8bitmime
[00:28:46.79] [SMTP] <<: 250-BINARYMIME
[00:28:46.80] [SMTP] <<: 250-CHUNKING
[00:28:46.82] [SMTP] <<: 250-VRFY
[00:28:46.83] [SMTP] <<: 250 OK
[00:28:46.85] [SMTP] >>: AUTH LOGIN
[00:28:46.86] [SMTP] <<: 504 5.7.4 Unrecognized authentication type
[00:28:46.88] [SMTP] Error <<: 504 5.7.4 Unrecognized authentication type
[00:28:46.89] XML Result >
<?xml version="1.0" encoding="utf-8"?><webmail><error><![CDATA[Can't send message.]]></error></webmail>
[00:28:46.91] DB : disconnect from root@localhost

[00:28:49.07] [POST(1)] /webmail/check-mail.php?param=0.19665091399953127
[00:28:49.07] POST > [Type]
[00:28:49.07]
[00:28:49.07] DB : connected to root@localhost
[00:28:49.13] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_realm`, `deleted`, `def_acct`, `mailing_list`, `quota`, `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`, `custom_fields` FROM awm_accounts WHERE `id_acct` = 1
[00:28:49.17] 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`, `client_timeoffset`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 1
[00:28:49.20] CM: Check mail type = 2
[00:28:49.27] 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 = 1
GROUP BY p.id_folder
ORDER BY p.fld_order
[00:28:49.30] POP3 : start connect to fletchers-home.net:110
[00:28:49.37] POP3 < +OK Microsoft Windows POP3 Service Version 1.0 <87195515@server1.fletchers-home.net> ready.\r\n
[00:28:49.40] POP3 > USER admin@fletchers-home.net
[00:28:49.42] POP3 < +OK\r\n
[00:28:49.45] POP3 > PASS fled42
[00:28:49.51] POP3 < +OK User successfully logged on\r\n
[00:28:49.53] POP3 > STAT
[00:28:49.56] POP3 < +OK 4 29507\r\n
[00:28:49.59] POP3 > UIDL
[00:28:49.61] POP3 < +OK 4 messages (29507 octets)\r\n
[00:28:49.64] POP3 < 1 20130112191351006900000007\r\n
[00:28:49.66] POP3 < 2 20130112212708011100000001\r\n
[00:28:49.69] POP3 < 3 20130115102335049700000001\r\n
[00:28:49.71] POP3 < 4 20130116002201072700000003\r\n
[00:28:49.74] POP3 < .\r\n
[00:28:49.77] DB[4] > SELECT str_uid AS uid
                         FROM awm_reads
                         WHERE id_acct = 1
[00:28:49.80] POP3 > STAT
[00:28:49.83] POP3 < +OK 4 29507\r\n
[00:28:49.85] POP3 > LIST
[00:28:49.88] POP3 < +OK 4 messages (29507 octets)\r\n
[00:28:49.90] POP3 < 1 9858\r\n
[00:28:49.93] POP3 < 2 935\r\n
[00:28:49.95] POP3 < 3 4333\r\n
[00:28:49.98] POP3 < 4 14381\r\n
[00:28:50.00] POP3 < .\r\n
[00:28:50.03] DB[5] > SELECT SUM(mailbox_size) AS mailboxes_size
                         FROM awm_accounts WHERE id_user = 1 AND mailing_list = 0
[00:28:50.06] DB[6] > SELECT id_filter, `field`, `condition`, `filter`, `action`, id_folder, `applied`
                         FROM `awm_filters`
                         WHERE id_acct = 1
                         ORDER BY `action`
[00:28:50.09] DB[7] > SELECT SUM(size) AS mailbox_size
                         FROM awm_messages WHERE id_acct = 1
[00:28:50.11] DB[8] > UPDATE awm_accounts
                         SET mailbox_size = 30531
                         WHERE id_acct = 1 AND mailing_list = 0
[00:28:50.19] POP3 > QUIT
[00:28:50.23] POP3 < +OK Microsoft Windows POP3 Service Version 1.0 <87195515@server1.fletchers-home.net> signing off.\r\n
[00:28:50.26] DB : disconnect from root@localhost

[00:28:50.41] /webmail/adminpanel/index.php?pop&type=log&action=view
[00:28:50.41]
[00:28:50.41] call CWebMailModule->StandardPopAction->Services


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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 16 January 2013 at 1:40am | IP Logged Quote Igor

According to the following log extract, the particular SMTP server doesn't have SMTP authentication enabled, AUTH is never mentioned:

Code:
[00:28:46.67] [SMTP] <<: 250-server1.fletchers-home.net Hello [127.0.0.1]
[00:28:46.69] [SMTP] <<: 250-TURN
[00:28:46.70] [SMTP] <<: 250-SIZE 2097152
[00:28:46.72] [SMTP] <<: 250-ETRN
[00:28:46.73] [SMTP] <<: 250-PIPELINING
[00:28:46.75] [SMTP] <<: 250-DSN
[00:28:46.76] [SMTP] <<: 250-ENHANCEDSTATUSCODES
[00:28:46.77] [SMTP] <<: 250-8bitmime
[00:28:46.79] [SMTP] <<: 250-BINARYMIME
[00:28:46.80] [SMTP] <<: 250-CHUNKING
[00:28:46.82] [SMTP] <<: 250-VRFY
[00:28:46.83] [SMTP] <<: 250 OK


Note that WebMail (PHP) supports only one SMTP authentication method, AUTH LOGIN. If SMTP authentication is enabled but that particular method is not supported, mail cannot be sent:

Code:
[00:28:46.85] [SMTP] >>: AUTH LOGIN
[00:28:46.86] [SMTP] <<: 504 5.7.4 Unrecognized authentication type


In your particular case, however, you just need to disable SMTP auth in account or domain settings.

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


Joined: 15 January 2013
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 16 January 2013 at 7:39am | IP Logged Quote fletcjas

I have just tried it with no auth, and still having the same problem. I'm using Windows server 2003 with IIS - Thanks
Back to Top View fletcjas's Profile Search for other posts by fletcjas
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 17 January 2013 at 2:56am | IP Logged Quote Igor

I'd like to see the log recorded when no auth is used. Make sure SMTP auth is actually disabled for the specific account.

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