Php Email

  • twmspro
  • Expert
  • Expert
  • User avatar
  • Joined: Nov 03, 2003
  • Posts: 591
  • Loc: Indiana
  • Status: Offline

Post February 15th, 2005, 7:48 pm

I have recently setup my website on a local computer on my network. The server is running Windows Server 2003 Enterprise Edition and is setup with :
    File Server, IIS, mail server, vpn server, domain controller, dns, and media server.


I am recieving a authentication error when trying to send mail from the forum. I have included 2 images explaining the phpbb mail settings and what error i'm recieving when i try to mass email to a group set to only myself.

email settings

email error i'm recieving
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 15th, 2005, 7:48 pm

  • Rabid Dog
  • Cheese Monkey
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3188
  • Loc: South Africa
  • Status: Offline

Post February 18th, 2005, 5:46 am

Just a silly question. Is there any reason that you are bypassing the local mail() function?
My Software Development Company
Music I have recorded (fixed now :))
Image
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Joined: Nov 03, 2003
  • Posts: 591
  • Loc: Indiana
  • Status: Offline

Post February 18th, 2005, 2:13 pm

the local mail function works but i want to have an account seperate for the forum mail sending. Thanks

I can include an email from a friend that is telling me what to do. If you would like me to reply saying so.
  • Rabid Dog
  • Cheese Monkey
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3188
  • Loc: South Africa
  • Status: Offline

Post February 20th, 2005, 11:24 pm

Yeah, lets have a look at the e-mail
My Software Development Company
Music I have recorded (fixed now :))
Image
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Joined: Nov 03, 2003
  • Posts: 591
  • Loc: Indiana
  • Status: Offline

Post February 21st, 2005, 9:08 am

Heres the email-

This looks like a relaying error. Ping server1.fbscomputer.com from your PHPBB machine. Does it go to the outside IP address? Are you letting all the authenication back into your DMZ. You may need to port forward authenication to server1.

Or, put an entry in the host file of your PHPBB machine to go to the 192 address of your email server. Make sure you open up smtp relaying on server1 to all your private IP addresses (192.168.0.0).

//The thing is that I only have one server. I am running Windows Server 2003 Enterprise.
  • Rabid Dog
  • Cheese Monkey
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3188
  • Loc: South Africa
  • Status: Offline

Post February 21st, 2005, 11:59 pm

I think it might have something todo with your mail server config.

Check out the instructions at http://www.microsoft.com/resources/docu ... r_role.asp

for further info

Setting up relays can be found at http://www.microsoft.com/resources/docu ... d_SMTP.asp

HTH
My Software Development Company
Music I have recorded (fixed now :))
Image
  • fourthring
  • Graduate
  • Graduate
  • User avatar
  • Joined: Oct 28, 2004
  • Posts: 152
  • Loc: San Diego / Beijing
  • Status: Offline

Post February 22nd, 2005, 11:09 am

Hey I had the same problem a few weeks ago migrating a site from Apache to IIS. I evenutally downloaded and installed this class for php email:

http://phpmailer.sourceforge.net/


It allows you to specify an SMTP relay server with authentication (user and password).

Works like a charm.
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Joined: Nov 03, 2003
  • Posts: 591
  • Loc: Indiana
  • Status: Offline

Post February 22nd, 2005, 2:39 pm

Thanks Guys

But the thing is that i do not see default smtp virtual server in inetmgr

The only thing it has is IIS. Under that is my server. Under the server it has app. pools, web sites, and web service extention.
  • Rabid Dog
  • Cheese Monkey
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3188
  • Loc: South Africa
  • Status: Offline

Post February 22nd, 2005, 10:54 pm

Did you look at the SMTP config and try to set it up?
My Software Development Company
Music I have recorded (fixed now :))
Image
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Joined: Nov 03, 2003
  • Posts: 591
  • Loc: Indiana
  • Status: Offline

Post February 23rd, 2005, 2:17 pm

Rabid Dog wrote:
Did you look at the SMTP config and try to set it up?


I cannot see any smtp config. It simply isnt there. I can although logon and send email from the email account no problem.
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Joined: Nov 03, 2003
  • Posts: 591
  • Loc: Indiana
  • Status: Offline

Post February 24th, 2005, 3:16 pm

Sorry. I tried to send email today and it did not work. it is also giving me smtp relay errors.
  • Rabid Dog
  • Cheese Monkey
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3188
  • Loc: South Africa
  • Status: Offline

Post February 24th, 2005, 10:18 pm

Some servers are configured to do POP3 authentication before allowing access to the SMTP server. This is to prevent Mail Relay by Spamming Agents.

The only solution I can see is to set up an e-mail account call something like webmaster@forum.com with standard authentication and then send mail through that account. This will allow the PO3 authentication to succeed.

I had a similiar problem on a windows 2000 server and that is how I resolved the issue although it wasn' for a forum.

Check out the Windows 2003 Server site and see if the errors match anything in the KB

You might want to (just for sanity sake) check that the smtp and pop3 servers are actually installed and running (Probably throught the services panel)
My Software Development Company
Music I have recorded (fixed now :))
Image
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Joined: Nov 03, 2003
  • Posts: 591
  • Loc: Indiana
  • Status: Offline

Post February 25th, 2005, 2:47 pm

Ok. I went into user admin and set my two email accounts for pop3 and domain users. I can still not send email from the accounts but i can send email to them from an outside account like gmail.

I have yet to check the kb. I'll do that now.
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Joined: Nov 03, 2003
  • Posts: 591
  • Loc: Indiana
  • Status: Offline

Post February 25th, 2005, 3:06 pm

I got on the kb and got the smtp virtual to install in IIS Manager. I'll mess around with that.
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Joined: Nov 03, 2003
  • Posts: 591
  • Loc: Indiana
  • Status: Offline

Post February 25th, 2005, 3:08 pm

woohooo!! I sent email from the server to gmail. Thanks guys.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 25th, 2005, 3:08 pm

Post Information

  • Total Posts in this topic: 21 posts
  • Users browsing this forum: No registered users and 311 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2010 Unmelted, LLC. Driven by phpBB © 2010 phpBB Group.