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

Email sent successfully but not receive

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
12 posts
  • 1
  • 2
  • Next
Editps
Posts: 12
Joined: Sun Jul 25, 2021 2:13 pm
Contact:
Contact Editps
Website

Os: Ubuntu 15x
Web: apache + nginx
Email sent successfully but not receive
  • Quote

Post by Editps » Thu Nov 11, 2021 2:16 pm

Hi,
In my Google VM instance, I utilized the Vestacp management panel. When I send an email, it shows that it was sent successfully, but the recipient does not get it. Please assist me with any solution.
Thanks
Jony
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

Os: CentOS 6x
Web: apache + nginx
Re: Email sent successfully but not receive
  • Quote

Post by sandro » Thu Nov 11, 2021 3:12 pm

It's hard to understand the problem with just a description.

Could you share the log (/var/log/exim/mail.log) showing the message being sent, the result of the command "exim -bp", etc?

When you send an external email to the server, is the message delivered to the inbox?
Top

Editps
Posts: 12
Joined: Sun Jul 25, 2021 2:13 pm
Contact:
Contact Editps
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: Email sent successfully but not receive
  • Quote

Post by Editps » Thu Nov 11, 2021 3:15 pm

How do I check the log??
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

Os: CentOS 6x
Web: apache + nginx
Re: Email sent successfully but not receive
  • Quote

Post by sandro » Thu Nov 11, 2021 5:25 pm

You can check the /var/log/exim/mail.log file using the "cat" or "tail" command.

For example, "tail -n 60 /var/log/exim/mail.log" will show the last 60 lines of the file.

Using "tail -f /var/log/exim/mail.log" you will see messages from the SMTP service in (more or less) real time.

On Ubuntu it may be that the "mail.log" file is in another directory, such as /var/log/exim4.

Attention: If you're not a sysadmin I think you'd better hire one.
Top

Editps
Posts: 12
Joined: Sun Jul 25, 2021 2:13 pm
Contact:
Contact Editps
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: Email sent successfully but not receive
  • Quote

Post by Editps » Thu Nov 11, 2021 6:50 pm

I'm using ubuntu and what command will i run? I can access by ssh... please help me.
Thanks!
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

Os: CentOS 6x
Web: apache + nginx
Re: Email sent successfully but not receive
  • Quote

Post by sandro » Thu Nov 11, 2021 7:27 pm

The first thing is to find the mail.log file.

Access the server via ssh and go to the /var/log/exim directory.

# cd /var/log/exim
or
# cd /var/log/exim4

If the command runs correctly, then run:

# ls

See if the mail.log file is shown.

If all goes well, run:

# tail -f mail.log

And try sending an email... All events will be shown on the screen.

Then share the results here.
Top

Editps
Posts: 12
Joined: Sun Jul 25, 2021 2:13 pm
Contact:
Contact Editps
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: Email sent successfully but not receive
  • Quote

Post by Editps » Tue Nov 16, 2021 7:58 am

please have a look:

root@app:/var/log/exim4# ls
mainlog mainlog.10.gz mainlog.3.gz mainlog.5.gz mainlog.7.gz mainlog.9.gz rejectlog.1 rejectlog.2.gz rejectlog.4.gz rejectlog.6.gz rejectlog.8.gz
mainlog.1 mainlog.2.gz mainlog.4.gz mainlog.6.gz mainlog.8.gz rejectlog rejectlog.10.gz rejectlog.3.gz rejectlog.5.gz rejectlog.7.gz rejectlog.9.gz
root@app:/var/log/exim4# tail -f mail.log
tail: cannot open 'mail.log' for reading: No such file or directory
tail: no files remaining
root@app:/var/log/exim4#
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

Os: CentOS 6x
Web: apache + nginx
Re: Email sent successfully but not receive
  • Quote

Post by sandro » Thu Nov 18, 2021 7:15 pm

On your system the filename is mainlog.

Then, run the command "tail -f mainlog" and do a test email sending.

Share the results here.
Top

Editps
Posts: 12
Joined: Sun Jul 25, 2021 2:13 pm
Contact:
Contact Editps
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: Email sent successfully but not receive
  • Quote

Post by Editps » Tue Nov 23, 2021 6:26 am

root@app:/var/log/exim4# tail -f mainlog
2021-11-23 06:23:12 1mpPAr-0002oP-SD == [email protected] R=dnslookup T=re mote_smtp defer (110): Connection timed out
2021-11-23 06:23:12 1mpPAr-0002oP-SD ** [email protected]: retry timeout e xceeded
2021-11-23 06:23:12 1mpPCy-0002su-Ph <= <> R=1mpPAr-0002oP-SD U=Debian-exim P=lo cal S=1932
2021-11-23 06:23:12 1mpPAr-0002oP-SD Completed
2021-11-23 06:23:13 1mpPCy-0002su-Ph => cs <[email protected]> R=localuser T=local_d elivery
2021-11-23 06:23:58 1mpPDi-0002tQ-Qy <= [email protected] H=localhost (editps.com) [ 127.0.0.1] P=esmtpa A=dovecot_login:[email protected] S=725 id=f8aa927e85bbaa59bf450 [email protected]
2021-11-23 06:23:58 1mpPDi-0002tQ-Qy ** [email protected] R=dnslookup T=re mote_smtp: all hosts for 'dinamicostudio.com' have been failing for a long time (and retry time not reached)
2021-11-23 06:23:58 1mpPDi-0002tX-Vj <= <> R=1mpPDi-0002tQ-Qy U=Debian-exim P=lo cal S=2002
2021-11-23 06:23:58 1mpPDi-0002tQ-Qy Completed
2021-11-23 06:23:59 1mpPDi-0002tX-Vj => cs <[email protected]> R=localuser T=local_d elivery
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

Os: CentOS 6x
Web: apache + nginx
Re: Email sent successfully but not receive
  • Quote

Post by sandro » Tue Nov 23, 2021 7:58 pm

This is a firewall issue.

Your server is trying to connect to smtp server from dinamicostudio.com domain, but it is getting connection refused message.

As an initial test, stop your server's firewall service and see if the error repeats.
Top


Post Reply
  • Print view

12 posts
  • 1
  • 2
  • Next

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