Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Send failed Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
MLF
Newbie
Newbie


Joined: 11 January 2014
Location: United States
Online Status: Offline
Posts: 4
Posted: 11 January 2014 at 10:11am | IP Logged Quote MLF

Hi folks,

I've installed Web Mail Lite with sendmail and dovecot on my Raspberry Pi (raspian os). I can log in and I can receive mail just fine. However, when I attempt to send mail, an error message appears.

From examining the log, it appears the error may relate to a misconfiguration on my part regarding the domain name. I posted a log snippet below my signature. Any ideas how I can correct this?

Thanks,
Mark

Here's a log snippet:

[17:55:52.17] SMTP[DATA]: > RCPT TO:<xxxxx@gmail.com>\r\n
[17:55:52.20] SMTP[DATA]: < 553 5.5.4 <xxxxx@gmail.com>... Domain name required for sender address pi\r\n
[17:55:52.21] SMTP[ERROR]: exception 'MailSo\Smtp\Exceptions\NegativeResponseException' with message 'MailSo-Smtp-Exceptions-NegativeResponseException (SmtpClient.php ~ 639)' in /var/www/afterlogic-webmail/libraries/MailSo/Smtp/SmtpClient.php:639
Stack trace:
#0 /var/www/afterlogic-webmail/libraries/MailSo/Smtp/SmtpClient.php(531): MailSo\Smtp\SmtpClient->validateResponse(Array)
#1 /var/www/afterlogic-webmail/libraries/MailSo/Smtp/SmtpClient.php(278): MailSo\Smtp\SmtpClient->sendRequestWithCheck('RCPT', Array, 'TO:<xxxxx...')
#2 /var/www/afterlogic-webmail/libraries/afterlogic/common/managers/mail/manager.php(836): MailSo\Smtp\SmtpClient->Rcpt('xxxxx...')
#3 /var/www/afterlogic-webmail/libraries/ProjectSeven/Actions.php(739): CApiMailManager->MessageSend(Object(CAccount), Object(MailSo\Mime\Message), 'Sent', 'Drafts', '4')
#4 [internal function]: ProjectSeven\Actions->AjaxMessageSend()
#5 /var/www/afterlogic-webmail/libraries/ProjectSeven/Service.php(95): call_user_func(Array)
#6 /var/www/afterlogic-webmail/libraries/ProjectSeven/Boot.php(5): ProjectSeven\Service->Handle()
#7 /var/www/afterlogic-webmail/index.php(54): include('/var/www/afterl...')
#8 {main}
[17:55:52.21] Previous Exception: MailSo-Smtp-Exceptions-NegativeResponseException (SmtpClient.php ~ 639)
[17:55:52.24] SMTP[DATA]: > QUIT\r\n[17:55:52.20] SMTP[DATA]: < 553 5.5.4 <xxxxx@gmail.com>... Domain name required for sender address pi\r\n
[17:55:52.20] SMTP[DATA]: < 553 5.5.4 <xxxxx@gmail.com>... Domain name required for sender address pi\r\n
[17:55:52.21] SMTP[ERROR]: exception
Back to Top View MLF's Profile Search for other posts by MLF
 
MLF
Newbie
Newbie


Joined: 11 January 2014
Location: United States
Online Status: Offline
Posts: 4
Posted: 12 January 2014 at 3:46pm | IP Logged Quote MLF

Solved: I found the problem disappeared when I logged in using an account that included a domain name.
Back to Top View MLF's Profile Search for other posts by MLF
 
troutlet
Newbie
Newbie


Joined: 30 January 2014
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 30 January 2014 at 1:56am | IP Logged Quote troutlet

I'm also having the same problem but, the main account of the hosting package is unfortunately being used for email which means the username doesn't have the domain.

I've tried toying with the settings to no avail.

Is there away around this problem?
Back to Top View troutlet's Profile Search for other posts by troutlet
 
troutlet
Newbie
Newbie


Joined: 30 January 2014
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 30 January 2014 at 2:07am | IP Logged Quote troutlet

Found this which appears to work:

maeru wrote:
i found the problem, there is to use a login with domain.
i changed the in table awe_account the field email with the email adress.

cheers..


from http://www.afterlogic.com/forum/forum_posts.asp?TID=5261&PN=1

This might be a nice to have feature for future refactor?
Back to Top View troutlet's Profile Search for other posts by troutlet
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 30 January 2014 at 5:20am | IP Logged Quote Alex

http://www.afterlogic.com/wiki/Configuring_WebMail_via_settings.xml_file_%28WebMail_Lite_7%29

See <LoginFormType>Email</LoginFormType> parameter to change login from email address to short login.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
troutlet
Newbie
Newbie


Joined: 30 January 2014
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 30 January 2014 at 7:54am | IP Logged Quote troutlet

Ah, cool, I'll have a look into the declaratives and play around.

I see:

<LoginFormType>Email</LoginFormType>
<LoginAtDomainValue>somedomain.com</LoginAtDomainValue>
<UseLoginWithoutDomain>Off</UseLoginWithoutDomain>

My issue stems from my main email being my main cPanel username hence just login name but, if I set up further emails on the account they then are full domain email address logins. It's either one or the other if I alter the declaratives, yes?

edit: I've actually taken the dive and bought the Pro version too. Note in that forum re: aliases, too there. Once suss out these two things I'll be very happy.
Back to Top View troutlet's Profile Search for other posts by troutlet
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 30 January 2014 at 8:46am | IP Logged Quote Alex

For complex scenarios, adjusting this plugin may help.

http://www.afterlogic.com/wiki/Change_email-to-username_mapping_on_login_%28WebMail_Plugins%29

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

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