Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have used Cloudflare for quite a while, but recently, I have bought a mail server with my domain.
I am unsure of how to "root the traffic" through cloudflare - because at the moment, I am unable to receive mail, but I can SEND mail.
I know I need to use MX Records, but I do not know how to get it working.
These are the settings for my mail serve:
Mail Server Username: help#domain.im
Incoming Mail Server: mail.domain.im
Incoming Mail Server: (SSL) mail.au.syrahost.com
Outgoing Mail Server: mail.domain.im (server requires authentication) port 25
Outgoing Mail Server: (SSL) mail.au.syrahost.com (server requires authentication) port 25
Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS (SSL/TLS)
Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS)
Any help is greatly appreciated. Sorry if I have not explained enough!
If I understand your question correctly you have been using Cloudflare with your website and you are now wondering how to setup your new mail server on Cloudflare.
The mail details you give are for configuring an email client, but what you need are the MX details which are used to specify how to route email for your domain.
To find out MX details start by asking whoever is supplying your mail server.
They typically look something like:
MX priority 10 domain-x
MX priority 20 doman-y
.....
domain-x and domain-y may or may not be the same as your actual website domain.
Once you have the MX details, login to Cloudflare, click the settings icon for the domain and choose DNS settings. Add details of your new MX records and check if there may be outdated MX records there which you need to delete.
Good luck!
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I created a mail server using postfix and dovecot on ubuntu 20.04. I'm using a valid trusted SSL certificate from let's encrypt, but my mail goes to spam on Gmail and other mail services. I'm sending the email's with port 587 so what's my problem?
I recently configured my server using following manual:
https://ubuntu.tutorials24x7.com/blog/install-mail-server-on-ubuntu-20-04-lts-using-postfix-dovecot-and-roundcube
There are few possible areas which can cause your emails in Junk folder (spam folder).
SPF, DKIM settings in your domain (DNS settings). If not configured properly, mail servers can suspect spoofing and warn their users.
You can send email to your Gmail mailbox and review "Show Original" to review SPF, DKIM, DMARC.
Additionally you can use:
https://www.mail-tester.com/ - to get audit of problems: just simply send to a generated email address email from your server.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am using Hmailserver as a mail server, and it is working normally for mail clients using a standard internet connection (wired or wireless).
But when using a mobile device in 3G mode, suddenly it is not possible to send emails anymore. In the mail client there is a non saying error message (such as unknown error ocurred). Is there any reason for this?
It is quite hard to say; however, e-mail usually travels over port 25 when using SMTP. Likely your 3G provider is blocking outgoing port 25 connections.
You can verify this by using telnet (a Google for "Windows telnet" will provide some Microsoft documentation) to connect to a well-known mail server (these are advertised in DNS MX records). On Windows, I believe the syntax at the command line would be: "telnet <host> 25" (for Google a valid mail-host is alt2.aspmx.l.google.com).
If your provider is blocking port 25 traffic, you will see a connection denied message. Usually ISP's prefer you connect to their SMTP server -- so that they can prevent SPAM from emanating from their network.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have configured ejabberd server on localhost. I am able to connect to local host like admin#localhost, but i am not able to connect gtalk server. Some one please help me how to connect to gtalk server.
Thanks in advance,
sathi
In order for you to talk to GoogleTalk, they have to be able to talk back to you using Dialback. There are several steps you'll need to do:
Rename your server to a fully-qualified domain name. (e.g. example.com)
Open a hole in your firewall in both directions to your server on port 5269/tcp.
Add an SRV record to your DNS pointing at that firewall hole. If your domain was example.com, your SRV might have _xmpp-server._tcp.example.com pointing to 10 0 5269 myserver.example.com.
At some point in the future, you may also need an X.509 certificate for doing TLS.
I almost lost hope, but this thread was really helpful:
Short summary - disable google apps for domain, it can be the reason of getting 404 errors in ejabberd log.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a mail server in our local network that run through Kerio firewall. I open tcp 110 port, and try to get mail from Mdaemon to Gmail, but all in vain.
Thanks in advance.
I'm sure that this question's been abandoned... But, I'm waiting for a server to reboot and there's nothing better to do atm.... MDaemon's a good product that we've used for quite some time (with some headbanging, unfortunately).
TCP Port 110 is used by the POP protocol, normally (but not always) used by mail clients to read email from a mail server.
There's nothing special about how MDaemon uses POP, other than that it can be turned of for the entire server or for individual accounts.
POP isn't what's used to get mail from your MDaemon server to Gmail, though (unless you're telling your gmail account to ALSO check mail on an outside mail server). In most situations, you'll use SMTP over port 25 to exchange mail between servers. (MDaemon supports a feature called "DomainPOP" where you can use Port 110 to collect mail from another server for local distribution based on other headers, but it's not used very often.)
The question sounds like you're trying to SEND email from your local server to an account on Gmail. You'll need to have TCP port 25 open outbound through your firewall to send mail. That doesn't mean that the remote host has to accept mail from you -- but it will make the initial handshake possible.
Usually, a fully configured mail server will have a public IP address and DNS name that directs SMTP traffic to it. It's strongly reccommended that your domain DNS have an MX record that points to your mail server. Ideally, there should be a reverse DNS pointer for the mail server.
Because of all the SPAM in the world, many mail servers refuse connections from other hosts that don't have a DNS record and a reverse pointer. That's not the only reason they refuse connections, of course, but it's one.
Anyways, I expect the original user had one of three possibilities: 1) They needed SMTP open in their firewall when they opened POP instead;
2) They had POP turned off for their MDaemon account (can gmail even be configured to act as a pop client for another account?); or 3) they got blocked because of a bad dns record/pointer combination.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a strange requirement, any website user(not linux system user) will be getting a email id, say jack#mywebsite.com,sarah#mywebsite.com with which they are going to have a inbox feature built into their dashboard. Any outside user(can be anyone on the planet/not precisely my website user) can email this jack#mywebsite.com and jack receives email at her inbox(built into her dashboard). To accomplish this, I think, the following are the prerequisites:
I need to put MX records pointing to my production machine for mywebsite.com
I need to have a smtp server(can be Postfix) running on my prod machine
Along with these, do I need to setup any sort of mail accounts with MTA? I dont want create these website users as actual system users(I hat doing "useradd -s /sbin/nologin username
") How can I accomplish this entire behaviour?
In sendmail this can be done via virtusertable.
For postfix this is the virtual alias table.
So setup an MX record for the domain to point to your host with the postfix SMTP server setup.
Then config postfix to accept *#mywebsite.com and deliver it to a local mail box.
Details in the Virtual Domain How To
Add the virtual domain (mywebsite.com) to the main.cf file, and then an entry for #mywebsite.com to point to a real account, say "webmail".
Then setup a real linux account for "webmail" and configure procmail in that account to process all incoming email and do whatever is necessary to put it into their web dashboard.