We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Unable to send emails
Unable to send emails
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.
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.
Re: Unable to send emails
Have you tried webmail? Does it work?
Exim is listening on following ports
Exim is listening on following ports
Try to ping each port using telnet and see if firewall allows external connections.daemon_smtp_ports = 25 : 465 : 587 : 2525
Re: Unable to send emails
Yes, I tried the Webmail, it's able to receive emails but not send emails.skid wrote:Have you tried webmail? Does it work?
Exim is listening on following portsTry to ping each port using telnet and see if firewall allows external connections.daemon_smtp_ports = 25 : 465 : 587 : 2525
Today I got this in the inbox:
I tried the telnet but I dunno really how to use it so it might have some impact on the results: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.
And then same result with the two other ports. However on http://www.canyouseeme.org/ I am able to successfully ping all of them.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.
Re: Unable to send emails
It looks like the problem is in hostname. Try to give it a pingable name. Like
Use your domain name of course.
Code: Select all
hostname test.vestacp.com
service exim restart
-
- Posts: 54
- Joined: Wed Dec 11, 2013 9:05 pm
Re: Unable to send emails
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.
I'm using CSF as my fire wall.
-
- Posts: 54
- Joined: Wed Dec 11, 2013 9:05 pm
Re: Unable to send emails
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
Re: Unable to send emails
Maybe you are blocked by google , hotmail ect. Try to ask your service provider about that. Im sure they can unblock IPs.
-
- Posts: 54
- Joined: Wed Dec 11, 2013 9:05 pm
Re: Unable to send emails
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.
-
- Posts: 54
- Joined: Wed Dec 11, 2013 9:05 pm
Re: Unable to send emails
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:
They are named differently
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