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

Unable to send emails

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
10 posts • Page 1 of 1
Ocrion
Posts: 11
Joined: Tue Nov 12, 2013 6:31 pm

Unable to send emails
  • Quote

Post by Ocrion » Wed Nov 13, 2013 1:10 pm

Hello!

I've encountered a new error while testing around the CP, I've noticed that I'm unable to send emails, receiving emails works just fine.

I've changed in the config file to use port 436 (Or what ever the port was I don't remember) and I've made sure that both 25 and 4xx is portforwarded.
Any tips?

Regards.
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Unable to send emails
  • Quote

Post by skid » Wed Nov 13, 2013 7:21 pm

Have you tried webmail? Does it work?

Exim is listening on following ports
daemon_smtp_ports = 25 : 465 : 587 : 2525
Try to ping each port using telnet and see if firewall allows external connections.
Top

Ocrion
Posts: 11
Joined: Tue Nov 12, 2013 6:31 pm

Re: Unable to send emails
  • Quote

Post by Ocrion » Thu Nov 14, 2013 10:19 am

skid wrote:Have you tried webmail? Does it work?

Exim is listening on following ports
daemon_smtp_ports = 25 : 465 : 587 : 2525
Try to ping each port using telnet and see if firewall allows external connections.
Yes, I tried the Webmail, it's able to receive emails but not send emails.

Today I got this in the inbox:
This message was created automatically by mail delivery software.
A message that you sent has not yet been delivered to one or more of its
recipients after more than 24 hours on the queue on GLaDOS-Server.

The message identifier is: 1VgEgW-0000lv-PP
The subject of the message is: Test
The date of the message is: Tue, 12 Nov 2013 15:11:16 +0100

The address to which the message has not yet been delivered is:

***************@aol.com
Delay reason: SMTP error from remote mail server after end of data:
host mailin-02.mx.aol.com [205.188.155.110]: 421 4.2.1 :
(DNS:NR) http://postmaster.info.aol.com/errors/421dnsnr.html

No action is required on your part. Delivery attempts will continue for
some time, and this warning may be repeated at intervals if the message
remains undelivered. Eventually the mail delivery software will give up,
and when that happens, the message will be returned to you.
I tried the telnet but I dunno really how to use it so it might have some impact on the results:
root@GLaDOS-Server:~# telnet ******.com 465
Trying 62.63.***.***...
Connected to ******.com.
Escape character is '^]'.
Connection closed by foreign host.

root@GLaDOS-Server:~# telnet ******.com 25
Trying 62.63.***.***...
Connected to ******.com.
Escape character is '^]'.
220 GLaDOS-Server ESMTP Exim 4.80 Thu, 14 Nov 2013 11:06:45 +0100
421 GLaDOS-Server: SMTP command timeout - closing connection
Connection closed by foreign host.
And then same result with the two other ports. However on http://www.canyouseeme.org/ I am able to successfully ping all of them.
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Unable to send emails
  • Quote

Post by skid » Thu Nov 14, 2013 10:15 pm

It looks like the problem is in hostname. Try to give it a pingable name. Like

Code: Select all

hostname test.vestacp.com
service exim restart
Use your domain name of course.
Top

emardotcom
Posts: 54
Joined: Wed Dec 11, 2013 9:05 pm

Re: Unable to send emails
  • Quote

Post by emardotcom » Sat Feb 01, 2014 5:56 am

I'm also having this problem it worked fine since Nov but now all of a sudden it doesn't work
I'm using CSF as my fire wall.
Top

emardotcom
Posts: 54
Joined: Wed Dec 11, 2013 9:05 pm

Re: Unable to send emails
  • Quote

Post by emardotcom » Sat Feb 01, 2014 6:13 am

i just disabled CFS and it still isn't working so i dono whats going i can I have send email only to domains listed on vesta but not to any external domains like google hotmail or any other website that is not local
Top

misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

Re: Unable to send emails
  • Quote

Post by misak35 » Sat Feb 01, 2014 8:20 am

Maybe you are blocked by google , hotmail ect. Try to ask your service provider about that. Im sure they can unblock IPs.
Top

emardotcom
Posts: 54
Joined: Wed Dec 11, 2013 9:05 pm

Re: Unable to send emails
  • Quote

Post by emardotcom » Sat Feb 01, 2014 1:39 pm

I checked if i was and im not, i noticed this morning that when i rebooted with CSF off all the email went out so it must be CSF. When i enabled it and rebooted i couldn't send emails.
Top

emardotcom
Posts: 54
Joined: Wed Dec 11, 2013 9:05 pm

Re: Unable to send emails
  • Quote

Post by emardotcom » Sun Feb 02, 2014 5:56 pm

OK i fixed the issue... in /etc/csf/csf.conf change SMTP_BLOCK = "1" to SMTP_BLOCK = "0", i think maybe CSF out the box isn't 100% compatible with Vesta since Vesta uses other names for apps. for instance:

Code: Select all

in /etc/csf/csf.pignore

Vesta Default
exe:/usr/libexec/dovecot/auth
exe:/usr/libexec/dovecot/anvil
exe:/usr/libexec/dovecot/imap-login
exe:/usr/libexec/mysqld
exe:/usr/local/vesta/nginx/sbin/vesta-nginx
exe:/usr/local/vesta/php/sbin/vesta-php
exe:/usr/sbin/exim
exe:/usr/sbin/nginx
exe:/usr/sbin/httpd

CSF Defaults
exe:/usr/lib/courier-imap/bin/pop3d
exe:/usr/lib/courier-imap/bin/imapd
exe:/usr/sbin/pure-ftpd
exe:/usr/local/apache/bin/httpd
exe:/usr/sbin/sshd
exe:/usr/sbin/proftpd
exe:/usr/libexec/dovecot/imap
exe:/usr/libexec/dovecot/pop3
exe:/usr/sbin/named
exe:/usr/sbin/ntpd
exe:/bin/dbus-daemon
exe:/usr/sbin/ntpd
exe:/usr/sbin/exim4
exe:/sbin/ntpd
exe:/usr/libexec/dovecot/pop3
exe:/usr/libexec/dovecot/imap
exe:/usr/local/libexec/dovecot/pop3
exe:/usr/local/libexec/dovecot/pop3-login
exe:/usr/local/libexec/dovecot/imap
exe:/usr/local/libexec/dovecot/imap-login
They are named differently
Top

misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

Re: Unable to send emails
  • Quote

Post by misak35 » Sun Feb 02, 2014 6:21 pm

check this out http://www.microsoft.com/mscorp/safety/ ... fault.aspx
Top


Post Reply
  • Print view

10 posts • 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