|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
I've installed Threads 7.1 on Windows 2003 with IIS 6. The site is not live yet, but I have been testing before final import of Classic data. Emails fail to deliver to email servers using qmail. Using the information in the server events log, I found the following post which describes a possible cause. Bare Linefeeds in SMTP Does anyone know where I can find the code that generates emails to verify no bare linefeeds are being sent? I tried searching these forums and couldn't find any related posts. Thanks, Jim Quinn
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
I think this is it:
Try: Replace the bare \n's with \r\n
In: Control Panel » Languages » Language Editor » adduser.php
PASS_BODY NEWREGBODY
Unfortunately I cannot search for \n as it's too short. If I find more I'll amend this post.
Last edited by jgeoff; 01/17/2007 2:01 PM.
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
Thanks jgeoff!
I did find raw line feeds in some of the language text. I also found raw line feeds in the ubbthreads.inc.php where it adds a signiture to every email. I commented out the signature and am still having the same problem, so I will keep looking.
I set the IIS Default SMTP Service log file options to show more detial and have confirmed that the destination email server is still rejecting email due to \n.
I'll post an update if I find a solution.
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
Update:
First of all, our server has Threads version 7.0.2 intsalled, I was mistaken in my first post.
After clearing the SMTP cache, I was able to use the UBB.Classic software to generate emails and successfully deliver to qmail servers. I still can't get the Threads forum to deliver for qmail servers only.
If anyone else is experiencing this problem with Threads 7.0.2 on Win 2003 IIS6, please let me know. It's possible that others are having this problem and don't even realize it. One would have to look through SMTP logs to even know that there is a problem, unless they are contacted by a registrant who didn't recieve their registration email.
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
I've been working on a problem discovered after installing 7.0.2 on a Windows 2003 server. I posted in the "General Assistance" forum: Initial Post I can email from the server to qmail servers, and UBB.Classic is also successful, the threads version produces emails that are rejected by qmail servers due to raw linefeeds. I've tried finding any instances of '\n' in the language files and also in other files replacing each instance with '\r\n', still no luck.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Why use qmail? Windows Server 2003 has it's own SMTP.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I have merged your two threads Jim, since they're both for the same issue.
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
ntdoc, We are using the Windows 2003 SMTP. The problem only occurs when threads sends an email to users hosted on a qmail server. See this page
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
Gizmo,
Thanks for the merge and sorry for posting in the bug forum. If you know of anyone running 7.0.2 on Win 2003 and IIS 6 successfully, please let me know.
Thanks
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I believe NT uses 2003, not sure of any others offhand... at least that come forward for my windows vs linux arguements ... I've not heard of this issue before so I'm nto entirely sure what to say...
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Is there an error message by chance?
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Gizmo,
Thanks for the merge and sorry for posting in the bug forum. If you know of anyone running 7.0.2 on Win 2003 and IIS 6 successfully, please let me know.
Thanks I'm running UBBT 7.02 on Windows Server 2003 Standard Edition with IIS 6, PHP 5.20 and MySQL 5.027 and we send mail just fine. The problem only occurs when threads sends an email to users hosted on a qmail server. If you can send mail to all EXCEPT Qmail then I'd say it's an issue for users on Qmail, not UBB or MS Server 2003 It might be possible to find an issue in how the mail is sent but sure sounds weird to me that as a recepient that mail would bounce or not come to me due to a line feed in the mail. .
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
If you can send mail to all EXCEPT Qmail then I'd say it's an issue for users on Qmail, not UBB or MS Server 2003 thats what i was thinking; but then I took to thought that i think he said hotmail users are rejected?
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
Gizmo,
Thanks for the info. I registered in NT's forum with an address served by qmail. I haven't received a verification email yet, but he might have the registration queue enabled. I will check back later to see if it goes through.
BTW: I would prefer linux for the forums or anything PHP, but it's not always an option when working for customers who have everything else on Windows.
Thanks
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
ntdoc,
It is an issue only for qmail hosted email accounts, but the forums I am working for are international and large. The email address I used to register in your forums is hosted by godaddy, secureserver.net handles email for a large number of sites. Unfortunatley, it appears that qmail is the only email service that is currently enforcing 822bis section 2.3. From my research, it seems that this qmail standard is very old, and hasn't been an issue with IIS 5, but IIS 6 doesn't convert the \n into \r\n.
I hope you don't mind me using your forums to test my theory. If my suspiciouns are correct, you will find my registration email stuck in your SMTP queue (Inetpub/mailroot/Queue, or recieve a failed delivery notification depending on your server setup.
Thanks
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
I haven't recieved any emails from NT's forum, so it looks like my theory is correct.
From the SMTP log file (I changed the sender and to: addresses to post here):
09:15:21 64.202.166.11 - - 250-pre-smtp28-02.prod.mesa1.secureserver.net+ 0 09:15:21 64.202.166.11 MAIL - FROM:<admin@forumdomain.com>+SIZE=1002 0 09:15:21 64.202.166.11 - - 354+go+ahead+punk,+make+my+day 0 09:15:21 64.202.166.11 - - 250+ok 0 09:15:21 64.202.166.11 RCPT - TO:<member@qmail-server.com> 0 09:15:21 64.202.166.11 - - 250+ok 0 09:15:21 64.202.166.11 DATA - - 0 09:15:21 64.202.166.11 - - 354+go+ahead+punk,+make+my+day 0 09:15:21 64.202.166.11 - - 451+See+http://pobox.com/~djb/docs/smtplf.html. 0 09:15:21 64.202.166.11 QUIT - - 0
If you go to the pobox.com link it is clear that Threads is sending out bare linefeeds.
Last edited by Jim; 01/19/2007 5:48 PM.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
What name and time did you register with ?
There are a lot of undelivered messages but most of the ones I tried fail when sent from any mail provider.
.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
I have 3 mail delivery failures in the past 4 days. All of them are to some accounts in France.
I currently have 3 retries (for France in the que) Nothing from or to you as a failure that I see.
.
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
I registered with jquinn. Thanks for checking ntdoc.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Are you sure some spam filter didn't block it or delete it?
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
My SMTP does not appear to have any obvious mailing issues. I've enabled a CC to another account whenever there is a bad e-mail address now instead of just a log. Received: from xxxxx ([127.0.0.1]) by xxxxxx with Microsoft SMTPSVC(6.0.3790.1830); Thu, 18 Jan 2007 09:34:59 +0100 Subject: Thank you for registering at KiXtart.org - official site! To: xxxxx@xxx.com Date: Thu, 18 Jan 2007 09:34:59 +0100 Return-Path: no-reply@kixtart.org From: "KiXtart.org - official site" <no-reply@kixtart.org> Message-ID: <bf139ee0a1df09c1ade984f4059b82e0@www.kixtart.org> X-Priority: 3 X-Mailer: PHPMailer [version 1.73] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" X-OriginalArrivalTime: 18 Jan 2007 08:34:59.0021 (UTC) FILETIME=[89F62FD0:01C73ADB]
Last edited by ntdoc; 01/19/2007 10:37 PM.
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
Yes, there is no spam filtering set on the domain of the address I used.
If you don't mind, check your control panel registration queue [ MusicPlayer Forums » Control Panel » Member Management]. If you have a jquinn in there pending email verification, try the Re-send Verification option to send another email, then you can watch it's progress in your SMTP Queue.
Your help is much appreciated.
Thanks
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
ntdoc,
I replied to your previous message and then realized yuo posted another one.
My email headers being generated look different. I am going to look into it, maybe the server admins setup a different configuration.
It still doesn't explain why my registration didn't go through on your site.
This issue is driving me crazy.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
I'll try and take a further look into it this weekend if I get time.
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
Long story short, I figured out how to make this work for my configuration. If anyone is interested in how I figured it out, I will elaborate.
The solution:
Call phpmailer IsSMTP() in ubbthreads.inc.php MAILER CLASS extender.
// ######################################################################## // MAILER CLASS // Define class for sending email // ######################################################################## class mailer extends PHPMailer {
var $to_email; var $From = null;
// ###################################################################### // headers // ###################################################################### function send_mail($htmlmail="",$from="",$to="",$subject="",$body="",$bcc=array()) {
global $mailer,$config,$ubbt_lang; $this->IsSMTP(); // telling the class to use SMTP if ($from) { $this->From = $from; $this->FromName = $from; } else { $this->From = $config['SITE_EMAIL']; $this->FromName = $config['COMMUNITY_TITLE']; }
I realize that this might be an issue with the installation and configuration. I did not install the software and am not sure what options where selected during the install process. However, I am still concerned that my registration in ntdoc's forum had the same problem.
This problably isn't a big issue for most Threads admins, but I would like to share my findings with anyone who is interested.
Again, to my knowledge, this only affects 7.0.2 installed on Windows 2003 using IIS6 when forum generated emails are sent to addresses hosted on qmail servers.
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Glad you sorted it out, and hope it helps others w/ the same problem!
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
I'll try to check on my setup tomorrow and see how it goes. Don't have time tonight as have to be getting to bed soon - wife wants to go some place at like 8 in the morning
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
wife wants to go some place at like 8 in the morning Eww. Toss her the keys and roll over. Although that may not work well in the long run.
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Can you say DOG HOUSE
Thanks but no thanks - I don't care for them cold shoulder times.
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Eh. Leaves more time for football.
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Now I see why you changed careers Not quite a Dr. Phil attitude
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
LMAO! Well, he's a fraud - I tell it like it is. haha Oops, sorry... So, how do you feel about that?
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Theres an 8 in the morning? And I think i'm in a permanent dog house
|
|
|
|
Joined: Jan 2004
Posts: 41
Newbie
|
Newbie
Joined: Jan 2004
Posts: 41 |
Eh. Leaves more time for football. I'm in Chicago... GO BEARS!!!
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
you guys watch football, i'll sit in the back room and get trashed :nod:
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
you guys watch football, i'll sit in the back room and get trashed :nod: What's wrong w/ multitasking?
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
you guys watch football, i'll sit in the back room and get trashed :nod: That isn't football - it is a bunch of guys prancing around in padded suits ... runs away
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
What's wrong w/ multitasking? I like how you think
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
What's wrong w/ multitasking? I find football utterly pointless and staged, like "professional wrestling"... Now if we where watching Aussie Rules or Rugbee I'd be in front of the 62" LCOS television in a heartbeat...
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Geoff),
1,018
guests, and
215
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|