Page 1 of 1

OVH VPS Cloud Debian Wheezy - some tips with exim

Posted: Wed Sep 24, 2014 2:25 pm
by nocte
Hi all,

I don't know if the following can apply to your case, but if you own a OVH's debian vps cloud 2014, you could check this, maybe it can help if install script don't run because exim4 is already installed

Exim4 is default MTA with these kind of vps, so Vesta's install script will stop.
First, purge exim4:

Code: Select all

aptitude purge exim4 exim4-base exim4-config exim4-deamon-light
After purge, check orphaned .deb and purge them

Code: Select all

aptitude purge $(dpkg --get-selections | grep deinstall | awk '{print $1}')
Now, you can launch install script

After install, try to send you an email

Code: Select all

echo test | mail -s test [email protected]
If you receive your test mail, there's nothing to do. if you don't receive your test mail, first of all, check your firewall rules
and verify, at least, tcp port 25 is open.

If open, check mail queue

Code: Select all

mailq
if your test mail appears there, so, you have to check your conf :
check if exim4.conf and update-exim4.conf exist in /etc/exim4/,if not try this :

Code: Select all

cp /etc/exim4/exim4.conf.template /etc/exim4/exim4.conf
cp /etc/exim4/update-exim4.conf.conf /etc/exim4/update-exim4.conf
restart exim4
If you don't receive your mail, check mailq, if mail still stuck in mailq then :

Code: Select all

dpkg-reconfigure exim4-config
and configure following your needs.

Hope this could help.

Re: OVH VPS Cloud Debian Wheezy - some tips with exim

Posted: Thu Nov 05, 2015 10:34 am
by jonn
No need to do all that...

Code: Select all

bash vst-install.sh --force

Edit:

Debian 6 require --force

Debian 7 just install as normal. postfix is set, so exim4 will install without error notices of exim already installed.