Helpful Docs to read before posting: (All Docs) | Config Docs | General FAQ | Mailing List Sending FAQ | Error FAQ

Problems with SMTP Sending in 4.03

How do I...

Problems with SMTP Sending in 4.03

Postby mattrhodes » Mon Mar 15, 2010 1:06 pm

Did not have any problems upgrading from 4.01 to 4.02, but 4.02 to 4.03 is giving me problems with SMTP mail sending. Using Send a Message yields no messages, although Monitor Your Mailing says it completed. Tried to test SMTP settings in Sending Preferences, but Save Then Test button doesn't do anything. Save button does seem to save the settings, because I can navigate away & come back to find the changes in place. Sending Preferences page loads with an error about mail.cgi in IE8. IE8 message is:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Mon, 15 Mar 2010 19:44:44 UTC

Message: Expected ':'
Line: 480
Char: 34
Code: 0
URI: http://www.cranburypres.org/cgi-bin/dad ... references


Looked at line 480. Best guess is that PATH_INFO is messed up somehow. Not exactly sure where that comes from. PROGRAM_URL? Still same as in 4.02.

Switched to Discussion List Options to try Test Saved POP3 Login Information. Page loads without errors. Save Changes appears to work on it's own as changes persist after navigating away & back. Test Saved runs, but complains about a password failure. The password works with 4.02, though. I did try hardcoding the PROGRAM_URL for dada_bridge.pl, but no luck there.

At this point, I'm not sure if it's some configuration setting I didn't copy over correctly or some kind of bug. Any hints would be greatly appreciated.
mattrhodes
 
Posts: 5
Joined: Thu Feb 04, 2010 10:53 am

Re: Problems with SMTP Sending in 4.03

Postby justin » Mon Mar 15, 2010 5:18 pm

Tried to test SMTP settings in Sending Preferences, but Save Then Test button doesn't do anything.


Here's the issue:

http://github.com/justingit/dada-mail/i ... d#issue/31

There's a patch:

http://github.com/justingit/dada-mail/c ... deb3fcf0f8

and a fix (you can just swap this file out, if you can't figure out how to manually patch it)

http://github.com/justingit/dada-mail/r ... creen.tmpl

At this point, I'm not sure if it's some configuration setting I didn't copy over correctly or some kind of bug. Any hints would be greatly appreciated.



Try fixing up the problem with the above stuff, but also set up the error log,

http://dadamailproject.com/support/docu ... _error_log

and perhaps turn on tracing for the SMTP stuff of Dada Mail,

http://dadamailproject.com/support/docu ... _settings_

See if there's anything interesting in there,
User avatar
justin
 
Posts: 4581
Joined: Wed Feb 13, 2008 8:41 pm
Location: Denver, CO

Re: Problems with SMTP Sending in 4.03

Postby mattrhodes » Tue Mar 16, 2010 12:51 pm

Thanks, the fix for the Save then Test button got the test of SMTP running again. For some reason I'm not getting any output to the error log file, although I did set NET_SMTP to 1 in config.pm. Seem like I turned on error message to the browser somewhere. Maybe that diverts them. Here's the status display that appears after testing on the Sending Preferences page:

Your changes have been saved successfully!

Testing SMTP Sending...

Results:
<<< 250-AUTH PLAIN LOGIN Looks like Plain SASL Authentication is Supported!

<<< 535 Incorrect authentication data Looks like there's something wrong with your username/password - double check that you entered them right.

Raw Log:
Net::SMTP_auth>>> Net::SMTP_auth(0.08)
Net::SMTP_auth>>> Net::SMTP(2.31)
Net::SMTP_auth>>> Net::Cmd(2.29)
Net::SMTP_auth>>> Exporter(5.58)
Net::SMTP_auth>>> IO::Socket::INET(1.31)
Net::SMTP_auth>>> IO::Socket(1.29)
Net::SMTP_auth>>> IO::Handle(1.25)
Net::SMTP_auth=GLOB(0x8f062d8)<<< 220 ESMTP Tue, 16 Mar 2010 15:28:30 -0400: UCE strictly prohibited
Net::SMTP_auth=GLOB(0x8f062d8)>>> EHLO cranburypres.org
Net::SMTP_auth=GLOB(0x8f062d8)<<< 250-bosauthsmtp02.eigbox.net Hello cranburypres.org [66.96.128.63]
Net::SMTP_auth=GLOB(0x8f062d8)<<< 250-SIZE 34603008
Net::SMTP_auth=GLOB(0x8f062d8)<<< 250-PIPELINING
Net::SMTP_auth=GLOB(0x8f062d8)<<< 250-AUTH PLAIN LOGIN
Net::SMTP_auth=GLOB(0x8f062d8)<<< 250-STARTTLS
Net::SMTP_auth=GLOB(0x8f062d8)<<< 250 HELP
Net::SMTP_auth=GLOB(0x8f062d8)>>> AUTH PLAIN
Net::SMTP_auth=GLOB(0x8f062d8)<<< 334
Net::SMTP_auth=GLOB(0x8f062d8)>>> bmV3c0BjcmFuYnVyeXByZXMub3JnAG5ld3NAY3JhbmJ1cnlwcmVzLm9yZwA7Z6V2iuLnTscK6Sm2B4/poBRls3AUeMkQP5886saVr1NiZDHQxGbEnswZVql2hmtNN9PH
Net::SMTP_auth=GLOB(0x8f062d8)<<< 535 Incorrect authentication data
[Tue Mar 16 15:28:29 2010] mail.cgi: Problems sending SASL authorization to SMTP server, make sure your credentials (username, password) are correct. at /DADA/App/Messages.pm line 169
Net::SMTP_auth=GLOB(0x8f062d8)>>> MAIL FROM:<bouncednews@cranburypres.org>
Net::SMTP_auth=GLOB(0x8f062d8)<<< 550 bosauthsmtp02: Host 66.96.128.63: No unauthenticated relaying permitted
[Tue Mar 16 15:28:29 2010] mail.cgi: problems sending FROM:<> command to SMTP server. at /DADA/App/Messages.pm line 169
[Tue Mar 16 15:28:29 2010] mail.cgi: problems sending FROM:<> command to SMTP server. at /DADA/App/Messages.pm line 169
Net::SMTP_auth=GLOB(0x8f062d8)>>> RSET
[Tue Mar 16 15:28:29 2010] mail.cgi: Net::SMTP_auth: Unexpected EOF on command channel at /DADA/Mail/Send.pm line 582
[Tue Mar 16 15:28:29 2010] mail.cgi: problems sending, "RSET" command to SMTP server. at /DADA/App/Messages.pm line 169
Check your email inbox for, listmanager@cranburypres.org to see if you've received a message from Pro Dada.

If a message has been received, email sending for your list is working properly!


Bottom line is that it complains that either the username or the password is incorrect. I also tried running "Test Saved POP3 Login Information" on the Discussion Lists page. That one generates this text in the errors log file:

[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 <- +OK Hello there.
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 -> CAPA
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 <- +OK Here's what I can do:
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 <- TOP
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 <- USER
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 <- LOGIN-DELAY 10
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 <- PIPELINING
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 <- UIDL
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 <- IMPLEMENTATION Courier Mail Server
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 <- .
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 -> USER news@cranburypres.org
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 <- +OK Password required.
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: POP3 -> PASS “§fe°ÙP¹¬É§ÙfZgzISM¸Ê”
[Tue Mar 16 14:59:15 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:20 2010] dada_bridge.pl: POP3 <- -ERR Login failed.
[Tue Mar 16 14:59:20 2010] dada_bridge.pl: at ..//DADA/App/POP3Tools.pm line 79
[Tue Mar 16 14:59:20 2010] dada_bridge.pl: POP3 -> QUIT
[Tue Mar 16 14:59:20 2010] dada_bridge.pl: at /home/users/web/b2512/ipw.cranbury/public_html/cgi-bin/dada/plugins/dada_bridge.pl line 1543
[Tue Mar 16 14:59:20 2010] dada_bridge.pl: POP3 <- +OK Better luck next time.
[Tue Mar 16 14:59:20 2010] dada_bridge.pl: at /home/users/web/b2512/ipw.cranbury/public_html/cgi-bin/dada/plugins/dada_bridge.pl line 1543
[Tue Mar 16 14:59:20 2010] dada_bridge.pl: Connection to 'pop.cranburypres.org' wasn't successful: PASS failed: -ERR Login failed.
at ..//DADA/App/POP3Tools.pm line 81.


The POP3 test generates an "ERR Login failed" message. When I switch back to 4.02, both of these tests succeed & I can manually log into the accounts with webmail, so I know the username & password is correct.

One clue might be the password display in 4.02 vs. 4.03. Both black out my password, but in 4.02 after saving, the password is correctly shown as having 9 characters. In 4.03, the Discussion List page switches to showing 19 characters instead of my original 9 character length, while the Sending Preferences page puts up 23 characters. Maybe the extra characters mean it's using an encrypted password without decrypting it? Or it's been stored in hex instead of ascii? Just a guess, but the password seems to be where the problem is.

Thanks for all your help.
mattrhodes
 
Posts: 5
Joined: Thu Feb 04, 2010 10:53 am

Re: Problems with SMTP Sending in 4.03

Postby mattrhodes » Mon May 17, 2010 11:48 am

This is successfully resolved by the 4.05 release.
mattrhodes
 
Posts: 5
Joined: Thu Feb 04, 2010 10:53 am


Return to Upgrading Dada Mail

Who is online

Users browsing this forum: No registered users and 0 guests

Loading