Trying to set up a domain name under cPanel server... so far so good, the problem comes once I am trying to point this domain to an external Kerio Mail server.
Even though from ssh user root can telnet the Kerio Mail server, when the user/domain tries to sent email using this server, get's smtp connection timed out.
Wondering is there's more than DNS changes that need to be made or something else is needed in cPanel firewall (CSF)
To allow SMTP connection to another server, any thoughts ?
If you are trying to send mail from your server and getting timeout then you need to check your firewall. First I will suggest you please try to disable your server firewall and test your mail again.
Related
I'm having trouble connecting to an Active Directory server from my computer and server. I get "The server is not operational" error when trying to connect. The server I'm trying to connect to is in a different country than me.
LDAP Url is in the usual format:
LDAP://ip_address:389/CN=Users,DC=domain_name,DC=local
I've added the application that connects to the AD to the firewall (even disabled the firewall briefly to test) and added the IP to my hosts file but I can't seem to get past the error.
Now usually at this point, I would conclude that the issue is on the AD server side (or their server firewall) that is blocking requests from our server, however, the person in charge of the AD server has tested the same LDAP url using the same utility I'm using from an external network in their country and is able to authenticate without issues.
Any ideas on what we can try next?
Ok, it turns out the client's ISP was blocking international traffic over port 389. They had to write a letter to request the ISP to allow international traffic over that port. It is now working after they've done that.
Didn't know ISPs block traffic, but I suppose ISPs for corporate clients might as in this case.
When there genuinely is no web server installed on a machine, and the user types in the machine's IP address or FQDN into the web browser, the user will get a genuine "can't connect to the server" message from the web browser.
However, after installing the Apache web server, the direct IP address and the FQDN (i.e. archimedes.example.com) will now show the default "It works!" page. How can I make my server act as if there is no server in these places (for the IP and the FQDN)?
Note that a 404 error does not qualify, because that makes it clear that a web server is available.
Is this even possible to do in the first place?
The goal of this is that I just want my regular websites, say genuinewebsite.com, that is genuinely supposed to be on this server to be recognized. All the other "default" addresses (the IP address and FQDN) that really have no connection to any websites should just act as if there is no web server there in the first place.
No, it is not possible, because to get the hostname the browser used for the request, the browser first has to connect successfully and send it in the request. By that time, you can't really refuse the connection; the best you can do is close it on them which will appear as a connection reset error.
I have one domain on my server and a mailbox (with the same domain ending) on a different server. I configured the mail and MX fields of DNS of that server to the proper value. All is working. But as I send an email from the website contact form (configured with SMTP = localhost) sending an email to the email address on the other server, the email will not reach the mail box ..Even no error is generated..Simply the mail server receives nothing. On the other hand from the contact form I can send email to different mailboxes.
How to solve this ?
I solved the issue by setting in the first panel for the SMTP settings in MailEnable, the host values to 200.x.x.x which should redirect all the traffic outside the server.
I have a windows server running an application which sends mail via PHP. Some of the people who should be recieving the emails are complaining they are not getting them. I think they are using Comcast or AOL. What can I do to my SMTP settings and/or DNS to allow these to go through?
Investigate SPF (Sender Protection Framework) to increase the authenticity of your emails.
using the Code Snippet for sending email in VB.Net I have successfully sent an email from my local machine, but when I Upload it to my server I get a message that the email failed. We have a national relay server that is running SMTP and I am pointed at that server in both instances. The only differance that jump out at me between the two machines is that the server is not running SMTP. Do I need SMTP to be running on the server if I am using a relay server to send the email that is running SMTP?
Dim message As New MailMessage("DoNotReply#faa.gov", My.Settings.NotifyList, "Starting FalconCMSOffloader # " & My.Settings.FacID & " - " & Now, "NM")
Dim emailClient As New SmtpClient(My.Settings.EmailServerAddress)
emailClient.Send(message)
You shouldn't need SMTP running locally, as the VB.Net code should just be using basic TCP/IP to communicate directly to the relay server.
It would be useful to see the error message, it is possible that the server does not have access to port 25 on the relay server (eg. due to the firewall configuration). Note that you can test this connectivity to some degree by launching telnet from the command line (on the server) as follows:
telnet RelayServerAddress 25
There is also a chance that there is some authentication happening with the relay server when you run the code locally on your machine under your domain account that isn't able to happen when the code is running on the server under a local account (I'm making some big assumptions here).
You should not need an smtp server on the server if you specify the relay server. Double check that My.Settings.EmailServerAddress is indeed pointing to the relay server.