Page Index Toggle Pages: [1] 2 3 ... 8 Send TopicPrint
Very Hot Topic (More than 25 Replies) SMTP Authorization V2 (Read 31631 times)
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
SMTP Authorization V2
May 6th, 2003 at 3:15pm
Print Post  
I did it again Grin

One of the biggest "problems" with YaBB on non *nix servers is the fact that most SMTP servers now require AUTH (authorisation) login before you can use the SMTP server to send or relay mail.

Version 2.0

This mod allows the use of SMTP servers that require relay AUTH (authorization).
It uses base64 encoding of the password to allow secure login to the SMTP server.
This should basically allow the use of almost any private account on any host.
It also fixes several discrepancies which were not according to RFC protocols in the original code.

NOTE
This mod is for SMTP server that need AUTH for relaying mail to outside email addresses.
It will not fix server authentication by reversed DNS lookup of the receiving SMTP server.

Installation
THIS MOD ONLY WORKS AS A CLEAN INSTALL AND IS NOT MENT TO BE AN UPDATE FOR EARLIER RELEASED
Apply the mod, upload the changed files, go into Board Preferences and check Authorization Required.
Fill out username and password for the SMTP server and save your settings.
Logout and do a forgot password to test if the server accepts AUTH.

Version History
1.0
Initial Release

1.1
Added EHLO/HELO greeting exchange to work with MS Exchange server (needed for other SMTP servers too)

2.0
Complete rewite of the YaBB Sendmail subroutines to comply to latest RFC's and have detailed error logging.

Get the mod here

MOD UPDATE 2-1-2004 to fix error report on empty email addresses in mass mailing list
« Last Edit: Jan 2nd, 2004 at 4:10pm by Spikecity »  

Nothing to add here Smiley
Back to top
 
IP Logged
 
SuBZer0
New Member
*
Offline


:/

Posts: 6
Location: Costa Mesa
Joined: May 5th, 2003
Gender: Male
Re: SMTP Authorisation
Reply #1 - May 6th, 2003 at 7:43pm
Print Post  

Awesome idea for a mod!  Smiley

I encountered errors though Sad

I'm running version 1.3.1

Log
Step 1 ... failed - ERR(10): The search string is empty! However an empty <search for> argument is not allowed because it would make the mod unremoveable.
Step 2 ... ok
Step 3 ... failed - ERR(10): The search string is empty! However an empty <search for> argument is not allowed because it would make the mod unremoveable.
Step 4 ... ok
Step 5 ... ok
Step 6 ... ok
Step 7 ... ok
Step 8 ... ok

Mods already installed
YaBB 1 Gold - SP 1.3\addsmilies2_sp13.mod
YaBB 1 Gold - SP 1.3\add_more_membergroups_sp13_13FIX.mod
YaBB 1 Gold - SP 1.3\Polls_3_SP13.mod
YaBB 1 Gold - SP 1.3\recent_users_list.mod
YaBB 1 Gold - SP 1.3\extended_profiles_v12_sp13.mod
YaBB 1 Gold - SP 1.3\StickyGroup.mod
YaBB 1 Gold - SP 1.3\chat_v1_98_SP_1_3.mod
YaBB 1 Gold - SP 1.3\add_more_mess_icons.mod
YaBB 1 Gold - SP1 Stats__and_LatestUser_in_News.mod
YaBB 1 Gold - SP 1.3\mbc2_sp13.mod
YaBB 1 Gold - SP 1.3\menuitems_v_1_5_SP_1_3.mod
YaBB 1 Gold - SP 1.3\yesterday.mod
YaBB 1 Gold - SP 1.3\Enhancedcolordark10SP13.mod
  
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: SMTP Authorisation
Reply #2 - May 6th, 2003 at 9:20pm
Print Post  
Fixed, missing linefeed in the mod, should work now Grin
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
ttaito
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 18
Location: Savonlinna
Joined: Oct 13th, 2002
Gender: Male
Re: SMTP Authorisation
Reply #3 - May 6th, 2003 at 9:30pm
Print Post  
Step 1 ... ok

Step 2 ... ok

Step 3 ... failed - ERR(10): The search string is empty! However an empty <search for> argument is

not allowed because it would make the mod unremoveable.

Step 4 ... ok

Step 5 ... ok

Step 6 ... ok

Step 7 ... ok

Step 8 ... ok



installed mods

YaBB 1 Gold - SP 1.3\advanced_imbox_2_sp13.mod

YaBB 1 Gold - SP 1.3\yams_403_sp13.mod

YaBB 1 Gold - SP 1.3\yams_403_profil_add_ip.mod

YaBB 1 Gold - SP 1.3\Polls_3_SP13.mod

YaBB 1 Gold - SP 1.3\quick_reply_box_13.mod

YaBB 1 Gold - SP 1.3\moderationupdate_sp13.mod

YaBB 1 Gold - SP 1.3\mbc2_sp13.mod

YaBB 1 Gold - SP 1.3\Recycle_Users.mod

YaBB 1 Gold - SP 1.3\search_log_SP13.mod

YaBB 1 Gold - SP 1.3\StickyGroup.mod

YaBB 1 Gold - SP 1.3\search_update_SP13.mod

YaBB 1 Gold - SP 1.3\newcalendar3_7a_SP_1_3.mod

YaBB 1 Gold - SP 1.3\rebuild_index_SP13.mod

YaBB 1 Gold - SP 1.3\multidel15sp13.mod

YaBB 1 Gold - SP 1.3\greetplus_v_1_0a.mod

YaBB 1 Gold - SP 1.3\userstoday_English.mod
  
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: SMTP Authorisation
Reply #4 - May 6th, 2003 at 9:36pm
Print Post  
you just missed it, the latest version is from 23:33 GMT-2 Grin
It now installs with boardmod 2.5.3
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
ttaito
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 18
Location: Savonlinna
Joined: Oct 13th, 2002
Gender: Male
Re: SMTP Authorisation
Reply #5 - May 6th, 2003 at 9:39pm
Print Post  
Quote:
you just missed it, the latest version is from 23:33 GMT-2 Grin
It now installs with boardmod 2.5.3



Lips Sealed Lips Sealed Lips Sealed Lips Sealed Lips Sealed

thanx
  
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: SMTP Authorisation
Reply #6 - May 7th, 2003 at 8:15pm
Print Post  
Update !

Tested now on several private pop3/smtp accounts and passed without any problem the authorisation according RFC guidelines.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
rob_uk
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 3
Joined: May 25th, 2003
Re: SMTP Authorisation
Reply #7 - May 25th, 2003 at 11:55pm
Print Post  
ive added the smtp AUTH mod to my forum and i have the new password and username but when i put them in click on save and go back to the admin preferences there not there anymore.. ????and i get this when i try sending mysef my password SMTP AUTH fatal error: 503 5.5.2 Send hello first. .. any ideas

BTW i dident encounter any error when using boardmod and i was getting emails myself from the board using sendail but the other members werent so i figured it must be because my isp need AUTH http://help.blueyonder.co.uk/html/web/locations.shtml
  
Back to top
WWW  
IP Logged
 
jill
New Member
*
Offline


I'm standing up to say
"I Listen To Books!"

Posts: 6
Location: West Olive
Joined: Apr 23rd, 2003
Gender: Female
Re: SMTP Authorisation
Reply #8 - May 27th, 2003 at 6:18pm
Print Post  
OK,  here I go sounding like a newbie AGAIN....

I installed the mod and have the same problem with losing my user name and password in my admin settings.

This is what I have set up in the settings and preferences area:
Location of Sendmail Program: /usr/sbin/sendmail
SMTP-Server: mail.myisp.com
The SMTP server needs authorisation: checked
Send Mails using: sendmail

I put in my username and password from myisp.com - iltb@myisp.com is how my isp has my account name, so that is what I have listed as my account name. And then I insert my password and click save.

When I try to send an email through my board, for notifications, etc, nothing happens, and then when I go back to the admin screen, both my username and password have disappeared.

This was my next hope in getting my email to work, since we have Exchange running on port 25 and trying to hard-code in port 2525 wasn't working to hit our local smtp server either.

Thanks in advance for any help you can offer me.
  

Happy Listening…

Jill Hamann
Webmaster, IlistenToBooks.com
http://www.ilistentobooks.com
Back to top
WWW  
IP Logged
 
Matt@BroncoII4x4
New Member
*
Offline



Posts: 28
Joined: May 5th, 2002
Gender: Male
Re: SMTP Authorisation
Reply #9 - May 29th, 2003 at 3:34pm
Print Post  
I'm also having problems with this mod. As stated above, my username and password are not saved. It doesn't work with my exchange 2K or my ISP's (verizon) smtp server.

I did edit settings.pl and add my username and password. When I did that, the Yabb admin shows the username and password as if they had been saved. The board seems to send out passwords for new users, and e-mails from the admin console, but seems to fail when it needs to send out reply notifications, which results in the users getting smtpauth errors.

Is this mod working for anyone ?

Win2K / IIS / YaBB sp1.1

Edit - Is this mod not compatible with sp1.1? Guess I need to update  Wink
  
Back to top
WWW  
IP Logged
 
jill
New Member
*
Offline


I'm standing up to say
"I Listen To Books!"

Posts: 6
Location: West Olive
Joined: Apr 23rd, 2003
Gender: Female
Re: SMTP Authorisation
Reply #10 - May 29th, 2003 at 7:17pm
Print Post  
Matt@BroncoII4x4 wrote on May 29th, 2003 at 3:34pm:
I did edit settings.pl and add my username and password. When I did that, the Yabb admin shows the username and password as if they had been saved.



I did the same thing and I get absolutely no response. YaBB says it has successfully sent the password or whatever email function I chose, but I never receive an email from YaBB.

I also am dealing with an Exchage Server, so I can't send out directly from my website. I'm using Win2K / IIS / YaBB sp1.3

If it appears that there is no way for me to use email on my server with YaBB, then please tell me. I don't know enough about perl to try and figure out a work-around either. Sad I'll just have to find some way to use the board and let my members know that they cannot use any of the email functions. Or set the board up on a remote site somewhere else.

Thanks again for any advice you can offer me!
  

Happy Listening…

Jill Hamann
Webmaster, IlistenToBooks.com
http://www.ilistentobooks.com
Back to top
WWW  
IP Logged
 
Matt@BroncoII4x4
New Member
*
Offline



Posts: 28
Joined: May 5th, 2002
Gender: Male
Re: SMTP Authorisation
Reply #11 - May 30th, 2003 at 2:42pm
Print Post  
I upgraded to SP1.3.1 last night. This mod was the first mod applied. User name and password are still NOT saved in the admin center. However, once I manually edit settings.pl, it seems to be working.

I check permissions and all is good in that deptarment. I suspect this may be a win2k thing..... file locking issue maybe?
  
Back to top
WWW  
IP Logged
 
Matt@BroncoII4x4
New Member
*
Offline



Posts: 28
Joined: May 5th, 2002
Gender: Male
Re: SMTP Authorisation
Reply #12 - Jun 2nd, 2003 at 3:09am
Print Post  
Well...my users are still getting occassional smtp auth errors...... Is anyone out there?
  
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: SMTP Authorisation
Reply #13 - Jun 2nd, 2003 at 11:10am
Print Post  
At least pick up the version from last week (on the same link in the first message) as there seem to be a problem with the previous mod where one block of code vanished so the username and password were not saved in the Settings.
It now should save those and no SMTP AUTH errors should arise anymore.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Matt@BroncoII4x4
New Member
*
Offline



Posts: 28
Joined: May 5th, 2002
Gender: Male
Re: SMTP Authorisation
Reply #14 - Jun 2nd, 2003 at 4:55pm
Print Post  
I didn't notice you had updated. I applied the new update, and it saves username/password now. It also seems to be working with my ISP's server(verizon), but still doesn't work with my Exchange2k server. Gives the following error.

SMTP AUTH fatal error: 503 5.5.2 Send hello first.

Thanks for the update!

  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 3 ... 8
Send TopicPrint