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.
Can not send/recieve Emails
Can not send/recieve Emails
Hello,
I have installed the Vesta Web Control Panel and I have set up a domain with an email account, but when I try to send out email in Roundcube, I get the error: "Failed to Send Message" I am also unable to receive email into Roundcube. Can anyone help me troubleshoot/solve this?
Thanks
Juston
I have installed the Vesta Web Control Panel and I have set up a domain with an email account, but when I try to send out email in Roundcube, I get the error: "Failed to Send Message" I am also unable to receive email into Roundcube. Can anyone help me troubleshoot/solve this?
Thanks
Juston
Re: Can not send/recieve Emails
On a "Service" page you can check if exim is up and running.
Or check it with following command
Or check it with following command
Code: Select all
v-list-sys-services
Re: Can not send/recieve Emails
okay its not running:
I tried to start it via the panel but it will not start?
Code: Select all
root@g3-services:~# v-list-sys-services
NAME STATE CPU MEM RTIME
------ ------ ------ ------ ------
nginx running 0 202 918
apache2 running 0 2371 918
bind9 running 0 0 918
exim4 stopped 0 0 0
dovecot running 0 21 918
mysql running 0 0 918
vsftpd running 0 24 918
cron running 0 19 920
root@g3-services:~#
Re: Can not send/recieve Emails
tried to manually start it from command line...
Code: Select all
root@g3-services:/etc/init.d# exim4 start
2013-11-14 10:19:57 1Vh0PB-0001gd-1D Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=101 egid=103
2013-11-14 10:19:57 1Vh0PB-0001gd-1D Failed to create spool file /var/spool/exim4/input//1Vh0PB-0001gd-1D-D: Permission denied
2013-11-14 10:19:57 1Vh0PB-0001gd-1D Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=101 egid=103
exim: could not open panic log - aborting: see message(s) above
root@g3-services:/etc/init.d#
Re: Can not send/recieve Emails
try to create exim folder manually
and then restart exim again
Code: Select all
mkdir /var/log/exim4
chown Debian-exim:mail /var/log/exim4
Re: Can not send/recieve Emails
Tried that, but got this error:
but still attempted to start exim4 anyway, but still no go:
Code: Select all
mkdir: cannot create directory `/var/log/exim4': File exists
Code: Select all
2013-11-14 15:26:41 1Vh5N1-0005LB-4y Failed to create spool file /var/spool/exim4/input//1Vh5N1-0005LB-4y-D: Permission denied
Re: Can not send/recieve Emails
Have you upgraded exim or maybe changed configuration? Wondering why permissions has been changed.
Anyway it is something that can be easily fixed. Check ownership of /var/log/exim4 and /var/spool/exim4 directories. You can recursively set this with following command:
Anyway it is something that can be easily fixed. Check ownership of /var/log/exim4 and /var/spool/exim4 directories. You can recursively set this with following command:
Code: Select all
chown -R Debian-exim:mail /var/log/exim4
chown -R Debian-exim:mail /var/spool/exim4
Re: Can not send/recieve Emails
no, this is a fresh server with a fresh install
Re: Can not send/recieve Emails
Still did not start
Re: Can not send/recieve Emails
Ok, what OS do you use?
Here is how directory listing should look like on Ubuntu 12.04.3 LTS (precise)
Here is how directory listing should look like on Ubuntu 12.04.3 LTS (precise)
root@adm:~# ls -all /var/log/exim4/
total 12
drwxr-s--- 2 Debian-exim adm 4096 Nov 15 09:27 .
drwxr-xr-x 16 root root 4096 Nov 15 09:27 ..
-rw-r----- 1 Debian-exim adm 700 Nov 15 09:28 mainlog
root@adm:~# ls -all /var/spool/exim4/
total 24
drwxr-x--- 5 Debian-exim Debian-exim 4096 Nov 15 09:27 .
drwxr-xr-x 6 root root 4096 Nov 15 09:25 ..
drwxr-x--- 2 Debian-exim Debian-exim 4096 Nov 15 09:28 db
-rw-r--r-- 1 root root 424 Jul 19 2008 gnutls-params
drwxr-x--- 2 Debian-exim Debian-exim 4096 Nov 15 09:28 input
drwxr-x--- 2 Debian-exim Debian-exim 4096 Nov 15 09:28 msglog