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 PostFix set up and everything is working, except I can't send emails. Now I know most ISPs ports block port 25, as can be seen in this error log entry:
Jan 2 04:29:08 mail postfix/smtp[5835]: connect to gmail-smtp-in.l.google.com[74.125.134.27]:25: Connection timed out
but I know there are alternate ports, like 587. How do I change PostFix so that it tries to connect to gmail-smtp-in.l.google.com on port 587 instead of 25?
This post explains you how to “Sending Mail using SMTP and PHP” using SMTP credentials. In this post will show you how to send email using Gmail’s SMTP server. You need to install two pear packages, Mail and SMTP. Code is quite [self-explanatory][3]. example ...
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 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!
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 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.