Php Email

  • twmspro
  • Expert
  • Expert
  • User avatar
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

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
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3245
  • Loc: South Africa

Post 3+ Months Ago

Just a silly question. Is there any reason that you are bypassing the local mail() function?
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

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
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3245
  • Loc: South Africa

Post 3+ Months Ago

Yeah, lets have a look at the e-mail
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

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
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3245
  • Loc: South Africa

Post 3+ Months Ago

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
  • fourthring
  • Graduate
  • Graduate
  • User avatar
  • Posts: 152
  • Loc: San Diego / Beijing

Post 3+ Months Ago

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
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

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
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3245
  • Loc: South Africa

Post 3+ Months Ago

Did you look at the SMTP config and try to set it up?
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

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
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

Sorry. I tried to send email today and it did not work. it is also giving me smtp relay errors.
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3245
  • Loc: South Africa

Post 3+ Months Ago

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)
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

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
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

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
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

woohooo!! I sent email from the server to gmail. Thanks guys.
  • monster_en_co
  • Novice
  • Novice
  • User avatar
  • Posts: 33

Post 3+ Months Ago

Hello there ive also got my own server running what you run and from my experience ive had no problem at all. best thing to do is

1. Install local SMTP and set the settings like in the - Screenshot Here

2. Set a password for administrator - Screenshot Here

3. Go to phpbb settings and set server to localhost, username to administrator and then password to what you set it as in step 2 - Screenshot Here.


I can confirm that this does work because ive jsut set my server up again.
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

Kick ass!!!!
Freakin thanks. Forum mail works. All I did was set the webmaster account to administrator and set authentication to what you said. Thanks a crap load man. Awesome. Thx.
  • monster_en_co
  • Novice
  • Novice
  • User avatar
  • Posts: 33

Post 3+ Months Ago

glad ur problem was sorted out...... hope to help in the near future.
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

Well. The problem is now that the server does not send out email instantly. I had my settings in my forum set to instantly email notifications and I have yet to recieve them. I tried in gmail to set forwarding to twmsdude@fbscomputer.com and it said "SMTP Error (state 9): 530 5.7.3 Client was not authenticated"
  • monster_en_co
  • Novice
  • Novice
  • User avatar
  • Posts: 33

Post 3+ Months Ago

u been mesing with the settings lol ..... btw when u send an email from localhost through smtp chances are at the other end it is marked as spam so go to the junk mail folders and try looking in there get back to the forum.
  • twmspro
  • Expert
  • Expert
  • User avatar
  • Posts: 591
  • Loc: Indiana

Post 3+ Months Ago

I am having smtp problems now
When ever i send messages from the webmaster account it comes back with a failure saying this:

Code: [ Select ]
This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

    twmsdude@gmail.com





Reporting-MTA: dns;server1.fbscomputer.com
Received-From-MTA: dns;[127.0.0.1]
Arrival-Date: Thu, 3 Mar 2005 19:43:27 -0500

Final-Recipient: rfc822;twmsdude@gmail.com
Action: failed
Status: 5.3.5



Subject:
sdaf
From:
Webmaster <webmaster@fbscomputer.com>
Date:
Thu, 03 Mar 2005 19:44:53 -0500
To:
twmsdude@gmail.com

sdfasdf
  1. This is an automatically generated Delivery Status Notification.
  2. Delivery to the following recipients failed.
  3.     twmsdude@gmail.com
  4. Reporting-MTA: dns;server1.fbscomputer.com
  5. Received-From-MTA: dns;[127.0.0.1]
  6. Arrival-Date: Thu, 3 Mar 2005 19:43:27 -0500
  7. Final-Recipient: rfc822;twmsdude@gmail.com
  8. Action: failed
  9. Status: 5.3.5
  10. Subject:
  11. sdaf
  12. From:
  13. Webmaster <webmaster@fbscomputer.com>
  14. Date:
  15. Thu, 03 Mar 2005 19:44:53 -0500
  16. To:
  17. twmsdude@gmail.com
  18. sdfasdf


incoming mail works perfectly
Its just that smtp does not
I have the webmaster account as
    Administrator, Domain User, and POP3 User

Post Information

  • Total Posts in this topic: 21 posts
  • Users browsing this forum: No registered users and 75 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.