Email

Tutorials, projects, and Q&A related to running a mail server on a Droplet using tools such as PostFix, iRedMail, and Exim.

Email subscription active
You will receive email notifications for new publications on Email.
805 Results
  • Question

    How to send emails from a bash script using ssmtp?

    I was recently working on a script to monitor some the TCP connections on one of my DigitalOcean servers and I wanted to receive an email every time the connections count was greater than 200. As I wanted to use SMTP ...
    Accepted Answer: Introduction SSMTP is a tool that delivers emails from a computer or a server to a configured mail host. SSMTP is not an email server itself and does not receive emails or manage a queue. One of its primary uses is ...
    1 By bobbyiliev Linux Basics Linux Commands Email
  • Question

    Postfix/smtpd hostname does not resolve to ip (but it does!)

    Hello; I've been searching and reading through numerous posts, but can't seem to find a resolution to my email issue. I'm seeing the following in my logs, every few minutes; Apr 10 23:53:50 toronto01 postfix/smtpd[24...
    Accepted Answer: Everything was working, so this wasn't urgent and I kinda back-burnered it for a while. It seems I resolved it today when I ran into a discussion about setting up /etc/hosts and the purpose of 127.0.1.1. That led me ...
    2 By kylestubbins Email Ubuntu
  • Question

    How to add name.com email details?

    I got this from name.com MX Record: fawterne.com IN MX 300 10 mx.fawterne.com.cust.b.hostedemail.com CNAME Record: mail.fawterne.com IN CNAME 300 mail.fawterne.com.cust.b.hostedemail.com Once I added them I got t...
    Accepted Answer: Hello, @infodara2018 All DNS changes might take up to 48 hours in order to fully update. This is due to ISP DNS cache and general DNS propagating as well. This usually happens a lot faster but will still take at leas...
    1 By infodara2018 Email
  • Question

    My server sends e-mail, but does not receive e-mail

    My server sends e-mail, but does not receive e-mail, it was working normally until days ago, I use Exim4 with Sendgrid. I've already validated everything, and apparently it's ok. I saw something about blocking, can so...
    Accepted Answer: Hey, I solved the problem and I'm going to share it here. It was an MX record that was duplicated and with wrong information, causing the email server to get lost. I removed the MX and after 20 hours + - started recei...
    3 By 90lteixeira Email DNS
  • Question

    Outgoing Port 25 is blocked, How can I enable it?

    I have tried everything but Outgoing Port 25 still disable or Deny, Can you please reply me on my support Ticket #479378, Really your support is terrible and you wast lots of my time :( *``` root@iMaker-test:~# telnet...
    Accepted Answer: My issue has been solved by Digitalocean support team, Thank you all Who tried to solve my issue...
    8 By iMaker Networking Email Ubuntu 16.04
  • Question

    I have an existing hardware server with simple web and email. What is the easiest way to get started?

    The current system hosts two domains, one that has web and email and the second is an information only website. The site uses CentOS ver 6.x with Apache. It runs majordomo for a list server. There is no other special ...
    Accepted Answer: Hi @daBUZ, From your explanation about the server you currently use, you'll need mainly a <^>LAMP stack<^> server and an <^>Email service - Postfix or Exim.<^> Web Server Let's start with the LAMP stack, this will i...
    1 By daBUZ CentOS Email Getting Started Apache
  • Question

    How to setup MX records with DigitalOcean?

    I just pointed my 1and1 domain and nameservers to my new DigitalOcean droplet and the DNS propagated and the domain is pointing to the droplet just fine. Emails aren't working though, and I have no idea what MX record...
    Accepted Answer: @Jazcash Have you setup a mail server on your DigitalOcean droplet? Otherwise you need to point to somewhere that handles your email. DigitalOcean does not run a mail-service, like many other webhosting companies, si...
    5 By Jazcash Email Ubuntu 16.04
  • Question

    Fail to send Email to Gmail ....

    I've actually configured postfix as on this tutorial: How to Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 16.04 (http://https://www.digitalocean.com/community/tutorials/how-to-install-and-configu...
    Accepted Answer: Hi @jiapei1000 , These days there are alot of servers setup as spam mailserver. Because of that, e-mail providers like Outlook, Gmail, etc. do alot of checking before allowing anything to come in. If you like to setup...
    2 By jiapei1000 Email Ubuntu 18.04
  • Question

    Postfix + Microsoft Outlook [Connects to incoming server, but not outgoing]

    I followed this tutorial (http://https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin) to install Postfix to prepare myself to be able to once ag...
    Accepted Answer: @tylerdd91d55f77 - Now that your config settings work, you need to set up your SPF, DKIM, and DMARC records for gmail to not mark your mail as spam. Look in the bottom of this page with the "Related Questions" section...
    1 By tylerdd91d55f77 Email Apache Let's Encrypt
  • Question

    How to enable CENT OS SMTP ports

    Hello Guys, how i can enable SMTP mail server on my WHM / cpanel. i want to use cpanel web mail to send mails. regards,
    Accepted Answer: Hello, Here's a step by step guide on how to do that: https://my.kualo.com/knowledgebase/?kbcat=0&article=1072 Hope that this helps! Bobby (https://bobbyiliev.com)
    2 By jnasser DigitalOcean Email Security CentOS
  • Question

    How to send & receive emails after my webapp is migrated to DigitalOcean?

    Hello, my webapp is installed and running in DigitalOcean, but I want to have the ability to send and receive emails using my domain name and using my shared hosting. I have followed a tutorial here : https://www.digi...
    Accepted Answer: I have contacted shared hosting support and they told me to : 1. Add the domain in CPANEL 2. In CPANEL, go to zone editor and create a new A record called mx1 pointing shared hosting IP 3. In CPNALE , go to zone edito...
    1 By GabrielVB Email Ubuntu 16.04
  • Question

    How to change Ubuntu user email address

    My Ubuntu droplet is sending emails for things like cron output to email address my-user-name@ubuntu. The emails pile up in file /var/mail/my-user-name. How can I change this so the emails go to my external email addr...
    Accepted Answer: You can forward root's mail inbox to your email address. To do this, you can open the /etc/aliases file with your editor. You will find this inside the file. ``` See man 5 aliases for format postmaster: root ``` Ad...
    2 By JigsawBob Email Ubuntu 16.04
  • Question

    How to make outgoing port 25 work again, after a droplet resize?

    Hello, After a droplet resize, the port 25 for outgoing emails is not working anymore. All of our business depend of the emails. It is very important for us to send automatic messages for our users about billing, acc...
    Accepted Answer: Greetings! In most cases the firewall or MTA (postfix, exim, etc) logs are what you want to check. In your case, however, there was a different cause. From where I sit, your account should not have been able to use po...
    3 By viniciusmss Email Ubuntu 16.04
  • Question

    MX only or MX+A for Email server? Beside, why multiple locations?

    I'm trying to set up my own Email server(s). It looks I need to add 2 DNS records, one MX and one A records ?? Type Hostname Value TTL (seconds) * MX longervisi...
    Accepted Answer: Hey friend, Great questions! I wouldn't worry about the multiple locations thing, that's not a terribly important statement at this stage. You are correct that an MX record needs to be a hostname, so if you're running...
    2 By jiapei1000 Email DNS DigitalOcean Ubuntu 18.04
  • Question

    wordpress is not sending emails

    Hello, im using wordpress multisite and i set my following email settings from Network > sites >setting Mailserver Url Mailserver Login Mailserver Pass Mailserver Port but unfortunately no mails are going. same detail...
    Accepted Answer: @newbie When it comes to e-mail, you're going to be much better off using a transactional e-mail provider to ensure that e-mail goes through. For example: https://www.sparkpost.com/ https://mailgun.com https://sendgr...
    1 By newbie WordPress Email LEMP Ubuntu 16.04
  • Question

    Outbound mail (SMTP port 25) seems to be blocked by your network | Mail in a Box

    Hi, I have been using Mail in a Box for a while now and it was all working fine but suddenly it stopped working. I checked the "System Check" section on Mail in a Box's Admin Panel and it says "Outbound mail (SMTP por...
    Accepted Answer: Your best bet is going to be opening a support ticket. https://cloudsupport.digitalocean.com/s/createticket Regards Simon - SnapShooter (https://snapshooter.io)
    3 By inkable Email Ubuntu
  • Question

    Yandex SMTP is too slow.

    Hello everyone, I have a wordpress droplet. I am using yandex mail on my domain but whenever I try with "contact form" on my page, it takes minutes to send the message. I checked the entire forum and saw similiar prob...
    Accepted Answer: SOLUTION sudoedit /etc/gai.conf and than I added precedence ::ffff:0:0/96 100 and sudo service apache2 restart
    5 By oacar Email Ubuntu 16.04
  • Question

    If all of foo.org is on one droplet, do I need one A record, or one per hostname?

    Suppose foo.org lives on a single droplet. It's using digitalocean's DNS servers It has an A record for foo.org, with the droplet IP It has an MX record pointing to mail.foo.org Do I need an A record for mail.foo.org...
    Accepted Answer: Hey friend, Great question! You need to create an A record or CNAME for all hostnames that need to resolve. This is default DNS functionality and will be true anywhere. However, some hosting providers provide a pre-ma...
    1 By kobnach DNS Email
  • Question

    Emails go to spam with postfix and spf ... ?

    hi ! I have my hostname example.com (with my real domain) configured I follow these instructions: https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-04 https://www.digitalo...
    Accepted Answer: I managed to get my outgoing email server to send emails avoiding the spam folder ... create TLS cert files as per https://letsecure.me/secure-web-deployment-with-lets-encrypt-and-nginx/ and/or https://www.lino...
    6 By anibalardid Email Ubuntu
  • Question

    Configure CNAMEs for SendGrid, how to?

    Hello, I'm almost a complete noob at this. I followd Discrouse's install instructions and created an account on SendGrid to serve as a mail server for Discourse. However, I seem to cannot validate the domain (whitelab...
    Accepted Answer: Hi! In your do admin panel go to Network > Domains > yourdomain.com Then, create the following cnames: Source | Target ------------- | ------------- mail | u2210027.wl.sendgrid.net. s1.domainkey | s1.domainkey.u221...
    3 By dvisan Linux Basics Configuration Management Email Ubuntu