Monthly Archives: October 2015

HTTPS to HTTP redirect

Redirect your Homepage from HTTPS to HTTP

1
2
3
#Redirect your Homepage from HTTPS to HTTP
RewriteCond %{HTTPS} on
RewriteRule ^$ http://%{HTTP_HOST} [L,R]

Exim Error :File size limit exceeded

While working on one of the vps client issue we came across theĀ  following error

“Starting exim: /bin/bash: line 1: 28406 File size limit exceeded/usr/sbin/exim -bd -q1h -oP ”

root@server [/]# /etc/init.d/exim restart
Shutting down exim: [FAILED]
Shutting down spamd: [ OK ]
Starting exim: /bin/bash: line 1: 28406 File size limit exceeded/usr/sbin/exim -bd -q1h -oP /var/spool/exim/exim-daemon.pid
[FAILED]
0 processes (antirelayd) sent signal 9

The error is due to exim_mainlog file exceeding capacity of 2GB

-rw-r—– 1 mailnull mail 2147483647 Oct 1 15:54 exim_mainlog

We truncated this exim_mainlog and restarted exim to fix this issue

root@server [/var/log]# /etc/init.d/exim restart
Shutting down exim: [FAILED]
Shutting down spamd: [ OK ]
Starting exim: [ OK ]
0 processes (antirelayd) sent signal 9
Starting spamd: [ OK ]