Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Mail Server problem to send mails on port 587

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
zotarelli
Posts: 1
Joined: Thu Aug 13, 2020 10:12 pm

Os: Ubuntu 17x
Web: apache + nginx
Mail Server problem to send mails on port 587
  • Quote

Post by zotarelli » Thu Aug 13, 2020 11:16 pm

Hi,
I tried to configure mail server on a Droplet on Digital Ocean.
First, my port 25 if block for precautions spam, so I had to use port 587.
Second, I had to configure exim4 to explicity to use port 587.

In /etc/exim4/exim4.conf.template, I had to specify the port 587:

Code: Select all

begin transports

remote_smtp:
  driver = smtp
  port = 587
  #helo_data = $sender_address_domain
  dkim_domain = DKIM_DOMAIN
  dkim_selector = mail
  dkim_private_key = DKIM_PRIVATE_KEY
  dkim_canon = relaxed
  dkim_strict = 0
Then I can send mails except to Gmail and Hotmail.

Third, I follow the documentation of Vesta to secure me dont forget anything.
https://vestacp.com/docs/#how-to-setup-mail-server

In the try, something is wrong because after configure vanity nameserver, I cant send any mails.
The diference is, when I try to send to gmail or hotmail, I get this error:

/var/log/exim4/mailog

Code: Select all

2020-08-03 22:47:06 1k2jCS-0000bK-MP H=gmail-smtp-in.l.google.com [172.217.197.27] Connection timed out
The mail is stack on queue:

Code: Select all

exim -Mvl 1k3PzY-00053V-PF
2020-08-05 20:26:56 Received from [email protected] H=localhost (webdomain.com) [127.0.0.1] P=smtp S=404
2020-08-05 20:29:06 H=gmail-smtp-in.l.google.com [172.217.197.27] Connection timed out
When I send to other domain, the mail not send, not stuck on queue and no message on the logs.

Can anybody give me a guide to solve this problem? I can't figure out what I doing wrong.
Thanks in advance!
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password