Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (Iann128, GregK, SteveS, SD, ayawkho), 39 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/21/08
Posts: 224
Top Posters (30 Days)
Ruben 61
SD 52
Gizmo 48
gliderdad 33
Dunny 21
driv 18
dbremer 16
Mark S 13
Stan 12
Iann128 10
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 4 1 2 3 4 >
Topic Options
#173957 - 01/16/07 09:35 PM Verification Email Formatting?
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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
_________________________
http://forums.musicplayer.com
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#174034 - 01/17/07 12:36 PM Re: Verification Email Formatting? [Re: Jim]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
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.


Edited by jgeoff (01/17/07 01:01 PM)
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#174144 - 01/18/07 02:03 AM Re: Verification Email Formatting? [Re: jgeoff]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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.
_________________________
http://forums.musicplayer.com
Top
#174390 - 01/19/07 01:44 AM Re: Verification Email Formatting? [Re: Jim]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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.
_________________________
http://forums.musicplayer.com
Top
#174397 - 01/19/07 02:21 AM 7.0.2 - Forum Generated Emails to servers using qmail
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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.
_________________________
http://forums.musicplayer.com
Top
#174399 - 01/19/07 02:41 AM Re: Verification Email Formatting? [Re: Jim]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
Why use qmail? Windows Server 2003 has it's own SMTP.
Top
#174402 - 01/19/07 02:59 AM Re: Verification Email Formatting? [Re: ntdoc]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
I have merged your two threads Jim, since they're both for the same issue.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#174407 - 01/19/07 03:26 AM Re: Verification Email Formatting? [Re: Gizmo]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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
_________________________
http://forums.musicplayer.com
Top
#174409 - 01/19/07 03:35 AM Re: Verification Email Formatting? [Re: Jim]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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
_________________________
http://forums.musicplayer.com
Top
#174412 - 01/19/07 03:57 AM Re: Verification Email Formatting? [Re: Jim]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
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...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#174413 - 01/19/07 03:57 AM Re: Verification Email Formatting? [Re: Gizmo]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
Is there an error message by chance?
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#174415 - 01/19/07 05:01 AM Re: Verification Email Formatting? [Re: Jim]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
 Originally Posted By: Jim
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.

 Quote:
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.

.
Top
#174416 - 01/19/07 05:02 AM Re: Verification Email Formatting? [Re: ntdoc]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
 Originally Posted By: ntdoc
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?
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#174448 - 01/19/07 06:24 AM Re: Verification Email Formatting? [Re: Gizmo]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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
_________________________
http://forums.musicplayer.com
Top
#174450 - 01/19/07 06:45 AM Re: Verification Email Formatting? [Re: Jim]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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
_________________________
http://forums.musicplayer.com
Top
#174513 - 01/19/07 04:48 PM Re: Verification Email Formatting? [Re: Jim]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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.




Edited by Jim (01/19/07 04:48 PM)
_________________________
http://forums.musicplayer.com
Top
#174518 - 01/19/07 06:08 PM Re: Verification Email Formatting? [Re: Jim]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
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.

.
Top
#174522 - 01/19/07 07:13 PM Re: Verification Email Formatting? [Re: ntdoc]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
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.

.
Top
#174555 - 01/19/07 08:27 PM Re: Verification Email Formatting? [Re: ntdoc]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
I registered with jquinn. Thanks for checking ntdoc.
_________________________
http://forums.musicplayer.com
Top
#174565 - 01/19/07 08:35 PM Re: Verification Email Formatting? [Re: Jim]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
Are you sure some spam filter didn't block it or delete it?
Top
#174597 - 01/19/07 09:36 PM Re: Verification Email Formatting? [Re: Jim]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
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.


 Quote:
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]



Edited by ntdoc (01/19/07 09:37 PM)
Top
#174605 - 01/19/07 10:42 PM Re: Verification Email Formatting? [Re: ntdoc]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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
_________________________
http://forums.musicplayer.com
Top
#174606 - 01/19/07 10:49 PM Re: Verification Email Formatting? [Re: Jim]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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.
_________________________
http://forums.musicplayer.com
Top
#174607 - 01/19/07 11:48 PM Re: Verification Email Formatting? [Re: Jim]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
I'll try and take a further look into it this weekend if I get time.
Top
#174734 - 01/21/07 03:03 AM Re: Verification Email Formatting? [Re: Jim]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
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.
_________________________
http://forums.musicplayer.com
Top
#174736 - 01/21/07 03:12 AM Re: Verification Email Formatting? [Re: Jim]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

Glad you sorted it out, and hope it helps others w/ the same problem!
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#174737 - 01/21/07 03:24 AM Re: Verification Email Formatting? [Re: Jim]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
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 \:\(
Top
#174740 - 01/21/07 03:27 AM Re: Verification Email Formatting? [Re: ntdoc]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
 Originally Posted By: ntdoc
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. \:D
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#174741 - 01/21/07 03:28 AM Re: Verification Email Formatting? [Re: jgeoff]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
Can you say DOG HOUSE

Thanks but no thanks - I don't care for them cold shoulder times.
Top
#174742 - 01/21/07 03:30 AM Re: Verification Email Formatting? [Re: ntdoc]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

Eh. Leaves more time for football. \:D
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#174745 - 01/21/07 03:33 AM Re: Verification Email Formatting? [Re: jgeoff]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
Now I see why you changed careers ;\)

Not quite a Dr. Phil attitude \:D
Top
#174748 - 01/21/07 03:36 AM Re: Verification Email Formatting? [Re: ntdoc]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

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.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#174752 - 01/21/07 03:38 AM Re: Verification Email Formatting? [Re: jgeoff]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
Theres an 8 in the morning? And I think i'm in a permanent dog house ;\)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#174806 - 01/21/07 04:32 AM Re: Verification Email Formatting? [Re: jgeoff]
Jim Offline
newbie
Registered: 01/19/04
Posts: 39
Loc: Chicago
 Originally Posted By: jgeoff

Eh. Leaves more time for football. \:D



I'm in Chicago... GO BEARS!!!
_________________________
http://forums.musicplayer.com
Top
#174807 - 01/21/07 04:35 AM Re: Verification Email Formatting? [Re: Jim]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
you guys watch football, i'll sit in the back room and get trashed :nod:
Top
#174845 - 01/21/07 12:12 PM Re: Verification Email Formatting? [Re: Gizmo]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
 Originally Posted By: Gizmo
you guys watch football, i'll sit in the back room and get trashed :nod:


What's wrong w/ multitasking? \:D
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#174848 - 01/21/07 12:39 PM Re: Verification Email Formatting? [Re: Gizmo]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
 Originally Posted By: Gizmo
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 ;\)
Top
#174853 - 01/21/07 01:15 PM Re: Verification Email Formatting? [Re: jgeoff]
gliderdad Offline
Registered: 06/08/06
Posts: 1438
Loc: NY
 Originally Posted By: jgeoff


What's wrong w/ multitasking? \:D


I like how you think \:D
Top
#174875 - 01/21/07 04:44 PM Re: Verification Email Formatting? [Re: jgeoff]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
 Originally Posted By: jgeoff
What's wrong w/ multitasking? \:D
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...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 1 of 4 1 2 3 4 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Edit Post
by Bert
Today at 01:19 PM
A positive note
by SteveS
Yesterday at 09:36 PM
How to locate links to particular site if they are only used in images?
by Conrad
02/10/12 09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Forum Stats
10214 Members
36 Forums
33667 Topics
180917 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image