Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Strizzy
New to forums
Posts: 6 https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Feb 17, 2017 12:57 pm
Post
by Strizzy » Fri Feb 17, 2017 1:17 pm
I've tried changing the port and various other things such as switching it from tsl to ssl and I'm still getting errors,
I posted the error below but any help would be appreciated.
Code: Select all
» EMAIL/PHP/mail()
/adm/index.php
Errno 2: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() at [ROOT]/includes/functions_messenger.php line 1799
Edge100x
Founder
Posts: 13128 Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:
Post
by Edge100x » Fri Feb 17, 2017 10:51 pm
You may need to install a local mail server, such as ssmtp, to handle outbound email.
Strizzy
New to forums
Posts: 6 Joined: Fri Feb 17, 2017 12:57 pm
Post
by Strizzy » Sun Feb 19, 2017 4:20 pm
Like which program should I use exactly to handle the local mail server, because I was trying to use hmail but failed.
Edge100x
Founder
Posts: 13128 Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:
Post
by Edge100x » Sun Feb 19, 2017 11:10 pm
There are many options. The one I previously mentioned is recommended for new Gentoo installs and should also work well on other distributions.
Strizzy
New to forums
Posts: 6 Joined: Fri Feb 17, 2017 12:57 pm
Post
by Strizzy » Sun Feb 19, 2017 11:40 pm
Yeah, I see that but I'll report back here on an update.
Because at the moment I have everything running through a Windows Server which is the 2012 R2 one.
And the one you suggested is mostly for unbutu which incompatible with my current setup.
Edge100x
Founder
Posts: 13128 Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:
Post
by Edge100x » Mon Feb 20, 2017 1:39 am
Ah, Windows. It's less common to see phpBB run from a Windows install, so I was not expecting that.
If you have webhosting with us, you could potentially use it for the outbound email, if it's fairly low volume. You might also try a web search for a Windows email server -- I see that the top Google result is
https://www.hmailserver.com/ . I haven't tried that one (or any other Windows ones) myself, but it might be worth looking at.
Strizzy
New to forums
Posts: 6 Joined: Fri Feb 17, 2017 12:57 pm
Post
by Strizzy » Mon Feb 20, 2017 11:24 am
Ok I managed to get a mail server setup,
But it's refusing my ports and somebody told me it was because of my host. So is the port 587 blocked by any chance?
because this is the error I'm running into.
Code: Select all
Ran into problems sending email at Line 1553. Response: 535 Authentication failed: Bad username / password
.
Backtrace
Connecting to smtp.sendgrid.net:2525
LINE: 1096 <- 220 SG ESMTP service ready at ismtpd0003p1lon1.sendgrid.net
# EHLO
LINE: 1443 <- 250-smtp.sendgrid.net
LINE: 1443 <- 250-8BITMIME
LINE: 1443 <- 250-PIPELINING
LINE: 1443 <- 250-SIZE 31457280
LINE: 1443 <- 250-STARTTLS
LINE: 1443 <- 250-AUTH PLAIN LOGIN
LINE: 1443 <- 250 AUTH=PLAIN LOGIN
# STARTTLS
LINE: 1488 <- 220 Begin TLS negotiation now
# EHLO
LINE: 1443 <- 250-smtp.sendgrid.net
LINE: 1443 <- 250-8BITMIME
LINE: 1443 <- 250-PIPELINING
LINE: 1443 <- 250-SIZE 31457280
LINE: 1443 <- 250-STARTTLS
LINE: 1443 <- 250-AUTH PLAIN LOGIN
LINE: 1443 <- 250 AUTH=PLAIN LOGIN
# AUTH PLAIN
LINE: 1546 <- 334
# Omitting sensitive information
LINE: 1553 <- 535 Authentication failed: Bad username / password
Edge100x
Founder
Posts: 13128 Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:
Post
by Edge100x » Mon Feb 20, 2017 1:18 pm
We do not block 587. That output also shows that you aren't using 587. It gives an error that you aren't using a valid login/password.
Strizzy
New to forums
Posts: 6 Joined: Fri Feb 17, 2017 12:57 pm
Post
by Strizzy » Mon Feb 20, 2017 1:46 pm
Yeah, I understand that it saying the password/username is incorrect but it's not.
So Idk what to do.
Strizzy
New to forums
Posts: 6 Joined: Fri Feb 17, 2017 12:57 pm
Post
by Strizzy » Mon Feb 20, 2017 3:06 pm
I got it working thanks for the help.