With the help of the user @Eris, It’s almost ready.
Unfortunately, I got to resolve a new problem.
I want to use the webmail from this domain.
Already have configured some DNS and SSL for this email.
The problem is that when I try to send an email, it returns me a error message like this:
Mail delivery failed: returning message to sender.
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
[igorweldt@gma il c m ](mailto:igo rwe ldt@ ail.com)
host gmail-smtp-in.l.google . com [173.194.175.27]
SMTP error from remote mail server after pipelined end of data:
550-5.7.26 This message does not have authentication information or fails to
550-5.7.26 pass authentication checks. To best protect our users from spam, the
550-5.7.26 message has been blocked. Please visit
550-5.7.26 ht tps ://sup ort. google . com/ mail/answer/ 81126#authe ntica tion for more
550 5.7.26 information. l9si3666916qkg.75 - gsmtp
Reporting-MTA: dns; iggi . com . br
Action: failed
Final-Recipient: rfc822;[ig orw e l dt@gm ail. com]( mailto: igor wel dt @ gm ail. c om)
Status: 5.0.0
Remote-MTA: dns; gm ail - s m tp-i n.l .go o gle .com
Diagnostic-Code: smtp; 550-5.7.26 This message does not have authentication information or fails to
550-5.7.26 pass authentication checks. To best protect our users from spam, the
550-5.7.26 message has been blocked. Please visit
550-5.7.26 … for more
550 5.7.26 information. l9si3666916qkg.75 - gsmtp
So I noticed that when I check the option to use DKIM, I have that error email when try to send a new one. When this option is disable, my email go directly to spam box of gmail.
I’ve been searched on internet, I founded a little bit more about this.
Looks like I really need this DKIM and SPF records configured.
With the command "dpkg -l " using root user, I noticed that my server uses Exim4 email server (but I don’t know if it is the default and if its the only one of my server).
Then I tried to find some tutorial about how install and configure DKIM / SPF in my server, using de Exim4, but I couldn’t find a tutorial for my intellectual level.
Which email server do you recommend me?
Exim or Postfix?
I’m very new in this world of Linux servers, so I need something more easy to “digest” intellectually.