Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: SMTP Error Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
pureplant
Newbie
Newbie


Joined: 13 September 2015
Online Status: Offline
Posts: 4
Posted: 13 September 2015 at 9:41pm | IP Logged Quote pureplant

Code:

[04:31:28.05][7b58cc9c] DB[5] > SELECT `id_identity`, `id_user`, `id_acct`, `def_identity`, `enabled`, `email`, `friendly_nm`, `signature`, `signature_type`, `use_signature` FROM awm_identities WHERE id_identity = 100000
[04:31:28.07][7b58cc9c] IMAP[NOTE]: Start connection to "tcp://mail.domain.com:143"
[04:31:28.08][7b58cc9c] IMAP[DATA]: < * OK domain.com IMAP4rev1 Mercury/32 v4.74 server ready.\r\n
[04:31:28.08][7b58cc9c] IMAP[DATA]: > TAG1 CAPABILITY\r\n
[04:31:28.08][7b58cc9c] IMAP[DATA]: < * CAPABILITY IMAP4rev1 STARTTLS AUTH=PLAIN X-MERCURY-1\r\n
[04:31:28.08][7b58cc9c] IMAP[DATA]: < TAG1 OK CAPABILITY complete.\r\n
[04:31:28.08][7b58cc9c] IMAP[SECURE]: > TAG2 LOGIN "mailaccount" "********"\r\n
[04:31:28.08][7b58cc9c] IMAP[DATA]: < TAG2 OK LOGIN completed.\r\n
[04:31:28.10][7b58cc9c] SMTP[NOTE]: Start connection to "tcp://mail.domain.com:25"
[04:31:28.10][7b58cc9c] SMTP[DATA]: < 220 mail.domain.com ESMTP server ready.\r\n
[04:31:28.10][7b58cc9c] SMTP[DATA]: > EHLO mail.domain.com\r\n
[04:31:28.10][7b58cc9c] SMTP[DATA]: < 250-mail.domain.com Hello mail.domain.com; ESMTPs are:\r\n
[04:31:28.10][7b58cc9c] SMTP[DATA]: < 250-TIME\r\n
[04:31:28.10][7b58cc9c] SMTP[DATA]: < 250-SIZE 0\r\n
[04:31:28.10][7b58cc9c] SMTP[DATA]: < 250-8BITMIME\r\n
[04:31:28.10][7b58cc9c] SMTP[DATA]: < 250 HELP\r\n
[04:31:28.11][7b58cc9c] SMTP[NOTICE]: exception 'MailSo\Smtp\Exceptions\LoginBadMethodException' with message 'MailSo-Smtp-Exceptions-LoginBadMethodException (SmtpClient.php ~ 259)' in C:\xampp\htdocs\mail\libraries\MailSo\Smtp\SmtpClient.php:259
Stack trace:
#0 C:\xampp\htdocs\mail\libraries\afterlogic\common\managers\mail\manager.php(1155): MailSo\Smtp\SmtpClient->Login('mailaccount', '12345')
#1 C:\xampp\htdocs\mail\libraries\ProjectCore\Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#2 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#3 C:\xampp\htdocs\mail\libraries\ProjectCore\Service.php(290): call_user_func(Array)
#4 C:\xampp\htdocs\mail\libraries\ProjectCore\Boot.php(12): ProjectCore\Service->Handle()
#5 C:\xampp\htdocs\mail\index.php(104): include('C:\\xampp\\htdocs...')
#6 {main}
[04:31:28.11][7b58cc9c] Previous Exception: MailSo-Smtp-Exceptions-LoginBadMethodException (SmtpClient.php ~ 259)
[04:31:28.11][7b58cc9c] SMTP[DATA]: > QUIT\r\n
[04:31:28.11][7b58cc9c] SMTP[DATA]: < 221 mail.domain.com Service closing channel.\r\n
[04:31:28.11][7b58cc9c] SMTP[NOTE]: Disconnected from "tcp://mail.domain.com:25" (success)
[04:31:28.12][7b58cc9c] exception 'CApiManagerException' with message 'Unknown error' in C:\xampp\htdocs\mail\libraries\afterlogic\common\managers\mail\manager.php:1179
Stack trace:
#0 C:\xampp\htdocs\mail\libraries\ProjectCore\Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#1 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#2 C:\xampp\htdocs\mail\libraries\ProjectCore\Service.php(290): call_user_func(Array)
#3 C:\xampp\htdocs\mail\libraries\ProjectCore\Boot.php(12): ProjectCore\Service->Handle()
#4 C:\xampp\htdocs\mail\index.php(104): include('C:\\xampp\\htdocs...')
#5 {main}

Next exception 'ProjectCore\Exceptions\ClientException' with message 'MailSo-Smtp-Exceptions-LoginBadMethodException (SmtpClient.php ~ 259)' in C:\xampp\htdocs\mail\libraries\ProjectCore\Actions.php:1618
Stack trace:
#0 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#1 C:\xampp\htdocs\mail\libraries\ProjectCore\Service.php(290): call_user_func(Array)
#2 C:\xampp\htdocs\mail\libraries\ProjectCore\Boot.php(12): ProjectCore\Service->Handle()
#3 C:\xampp\htdocs\mail\index.php(104): include('C:\\xampp\\htdocs...')
#4 {main}
[04:31:28.12][7b58cc9c] INFO[MEMORY]: Memory peak usage: 7.75MB
[04:31:28.12][7b58cc9c] INFO[TIME]: Time delta: 0.33123302459717
[04:31:28.12][7b58cc9c] DB : disconnect from root@127.0.0.1
[04:31:28.12][7b58cc9c] IMAP[DATA]: > TAG3 LOGOUT\r\n
[04:31:28.12][7b58cc9c] IMAP[DATA]: < * BYE IMAP4rev1 server terminating connection.\r\n
[04:31:28.12][7b58cc9c] IMAP[DATA]: < TAG3 OK LOGOUT completed.\r\n
[04:31:28.12][7b58cc9c] IMAP[NOTE]: Disconnected from "tcp://mail.domain.com:143" (success)


SMTP Server is Mercury/32
How to solve?
Back to Top View pureplant's Profile Search for other posts by pureplant
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 14 September 2015 at 4:06am | IP Logged Quote Igor

It looks like SMTP authentication is not configured on that server. Try disabling SMTP auth in account or domain settings and see if that helps.

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


Joined: 13 September 2015
Online Status: Offline
Posts: 4
Posted: 14 September 2015 at 5:49am | IP Logged Quote pureplant

Code:

<Common>
          <!-- Default title that will be shown in browser's header (Default domain settings). -->
          <SiteName>WebMail</SiteName>
          <!-- License key is supplied here. -->
          <LicenseKey />
          <AdminLogin>admin</AdminLogin>
          <AdminPassword>xxxxx</AdminPassword>
          <DBType>MySQL</DBType>
          <DBPrefix />
          <DBHost>127.0.0.1</DBHost>
          <DBName>afterlogic</DBName>
          <DBLogin>root</DBLogin>
          <DBPassword>xxxx</DBPassword>
          <UseSlaveConnection>Off</UseSlaveConnection>
          <DBSlaveHost>127.0.0.1</DBSlaveHost>
          <DBSlaveName />
          <DBSlaveLogin>root</DBSlaveLogin>
          <DBSlavePassword />
          <DefaultLanguage>Korean</DefaultLanguage>
          <DefaultTimeZone>62</DefaultTimeZone>
          <DefaultTimeFormat>F12</DefaultTimeFormat>
          <DefaultDateFormat>MM/DD/YYYY</DefaultDateFormat>
          <AllowRegistration>Off</AllowRegistration>
          <RegistrationDomains />
          <RegistrationQuestions />
          <AllowPasswordReset>Off</AllowPasswordReset>
          <EnableLogging>On</EnableLogging>
          <EnableEventLogging>Off</EnableEventLogging>
          <LoggingLevel>Full</LoggingLevel>
          <EnableMobileSync>Off</EnableMobileSync>
          <TenantGlobalCapa />
          <LoginStyleImage />
          <AppStyleImage />
          <InvitationEmail />
          <DefaultTab>mailbox</DefaultTab>
          <RedirectToHttps>Off</RedirectToHttps>
          <PasswordMinLength>0</PasswordMinLength>
          <PasswordMustBeComplex>Off</PasswordMustBeComplex>
     </Common>
     <WebMail>
          <AllowWebMail>On</AllowWebMail>
          <IncomingMailProtocol>IMAP4</IncomingMailProtocol>
          <IncomingMailServer>127.0.0.1</IncomingMailServer>
          <IncomingMailPort>143</IncomingMailPort>
          <IncomingMailUseSSL>Off</IncomingMailUseSSL>
          <OutgoingMailServer>127.0.0.1</OutgoingMailServer>
          <OutgoingMailPort>25</OutgoingMailPort>
          <OutgoingMailAuth>NoAuth</OutgoingMailAuth>
          <OutgoingMailLogin />
          <OutgoingMailPassword />
          <OutgoingMailUseSSL>Off</OutgoingMailUseSSL>
          <OutgoingSendingMethod>Specified</OutgoingSendingMethod>
          <UserQuota>0</UserQuota>
          <ShowQuotaBar>On</ShowQuotaBar>
          <AutoCheckMailInterval>0</AutoCheckMailInterval>
          <DefaultSkin>Default</DefaultSkin>
          <MailsPerPage>20</MailsPerPage>
          <AllowUsersChangeInterfaceSettings>On</AllowUsersChangeInterfaceSettings>
          <AllowUsersChangeEmailSettings>On</AllowUsersChangeEmailSettings>
          <EnableAttachmentSizeLimit>Off</EnableAttachmentSizeLimit>
          <AttachmentSizeLimit>102400000</AttachmentSizeLimit>
          <ImageUploadSizeLimit>10240000</ImageUploadSizeLimit>
          <AllowLanguageOnLogin>On</AllowLanguageOnLogin>
          <FlagsLangSelect>Off</FlagsLangSelect>
          <LoginFormType>Email</LoginFormType>
          <LoginSignMeType>DefaultOff</LoginSignMeType>
          <LoginAtDomainValue>domain.com</LoginAtDomainValue>
          <UseLoginWithoutDomain>On</UseLoginWithoutDomain>
          <AllowNewUsersRegister>On</AllowNewUsersRegister>
          <AllowUsersAddNewAccounts>Off</AllowUsersAddNewAccounts>
          <AllowOpenPGP>Off</AllowOpenPGP>
          <AllowIdentities>On</AllowIdentities>
          <AllowInsertImage>On</AllowInsertImage>
          <AllowBodySize>Off</AllowBodySize>
          <MaxBodySize>600</MaxBodySize>
          <MaxSubjectSize>255</MaxSubjectSize>
          <Layout>Side</Layout>
          <AlwaysShowImagesInMessage>Off</AlwaysShowImagesInMessage>
          <SaveMail>Always</SaveMail>
          <IdleSessionTimeout>0</IdleSessionTimeout>
          <UseSortImapForDateMode>On</UseSortImapForDateMode>
          <UseThreadsIfSupported>On</UseThreadsIfSupported>
          <DetectSpecialFoldersWithXList>On</DetectSpecialFoldersWithXList>
          <EnableLastLoginNotification>Off</EnableLastLoginNotification>
          <ExternalHostNameOfLocalImap />
          <ExternalHostNameOfLocalSmtp />
          <ExternalHostNameOfDAVServer />
     </WebMail>


this is my settings.xml

what should i change?
Back to Top View pureplant's Profile Search for other posts by pureplant
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 14 September 2015 at 5:56am | IP Logged Quote Igor

It looks good on global configuration level:

Code:
<OutgoingMailAuth>NoAuth</OutgoingMailAuth>


But you need to make sure you don't have "Use SMTP authentication" checkbox selected in account settings.

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


Joined: 13 September 2015
Online Status: Offline
Posts: 4
Posted: 14 September 2015 at 6:16am | IP Logged Quote pureplant

i checked it.

but afterlogic is still trying to auth.
Back to Top View pureplant's Profile Search for other posts by pureplant
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 14 September 2015 at 6:24am | IP Logged Quote Igor

If you try deleting the account from WebMail and recreating it, does the issue persist?

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


Joined: 13 September 2015
Online Status: Offline
Posts: 4
Posted: 14 September 2015 at 6:31am | IP Logged Quote pureplant

oh! it works with that!!

Thanks Igor. ;)

Back to Top View pureplant's Profile Search for other posts by pureplant
 

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