Help - Search - Members - Calendar
Full Version: no email in/out, no errors, no help
The Planet Forums > Control Panels > cPanel/WHM
webspace1
For some reason our server stopped sending and receiving email on monday, we are getting no bounced errors, exim restarts with no errors, but still nothing is going in or out of our server.

I put a trouble ticket in on tuesday, and now it is friday and still nothing. Nothing has been changed on our server for almost a month. The last change on the server was when WHM said we had to update apache. I updated apache and everything worked fine until monday. I have restarted exim, I have ran the exim update script, but nothing has helped. Any Ideas?
sasa
we have same problem.

nothing, no error, nothig!!!!
theuruguayan
if you have Mailscanner you need to remove it, that the solution.

Exim works in a new way now and it brokes Mailscanner, and well.. cpanel have add claimd. So well. both working dosent like each other. So you need to remove Mailscanner and /scripts/resetexim and put the new config file that was created working and restart exim.

You probalby have loots of emails in the spool, you need to force to get that email out or reboot the server.

carlos
sasa
mailscaner is remove but I lose all mails.

mail is now working (48h we try to find solution).

so this is 100% ok.

do you know how to back all mails?

thanks, Sasa
theuruguayan
i force the queue to run (exim -qa (i think)) or the other solution i find is too reboot the damm server.

carlos
SHaRKTooTH
Actually all you need to do is modify one line in the Mailscanner config. Cpanel changed the way exim stores emails. Find the Incoming Queue Dir in your Mailscanner.conf file and add the /* to the end. For example....
Incoming Queue Dir = /var/spool/exim_incoming/input
should become
Incoming Queue Dir = /var/spool/exim_incoming/input/*

All the email will then flow properly and everything that has stored up will be sent.
SHaRKTooTH
oh I forgot to mention that after you modify the config you need to restart mailscanner and exim.
sasa
QUOTE
Originally posted by SHaRKTooTH
Actually all you need to do is modify one line in the Mailscanner config. Cpanel changed the way exim stores emails. Find the Incoming Queue Dir in your Mailscanner.conf file and add the /* to the end. For example....
Incoming Queue Dir = /var/spool/exim_incoming/input  
should become  
Incoming Queue Dir = /var/spool/exim_incoming/input/*

All the email will then flow properly and everything that has stored up will be sent.


nope, when we install mailscanner and edit in:
pico /usr/mailscanner/etc/MailScanner.conf

line: Incoming Queue Dir = /var/spool/exim_incoming/input/*


restart mailscanner:
killall -9 MailScanner
/usr/mailscanner/bin/check_mailscanner

restart exim:
/etc/rc.d/init.d/exim restart

mail stop working, so we must remove mailscanner.

if you have solution please ....
Thank, S.
SHaRKTooTH
QUOTE
Originally posted by sasa
nope, when we install mailscanner and edit in:
pico /usr/mailscanner/etc/MailScanner.conf

line: Incoming Queue Dir = /var/spool/exim_incoming/input/*


restart mailscanner:
killall -9 MailScanner
/usr/mailscanner/bin/check_mailscanner

restart exim:
/etc/rc.d/init.d/exim restart

mail stop working, so we must remove mailscanner.

if you have solution please ....
Thank, S.


The /* worked for me, but I researched it a little further for you and found a few things on the cpanel forum.

http://forums.cpanel.net/showthread.php?t=31576

It appears that your config may also need "Split Exim Spool = yes" and you have to have all the subdirectories created (which I already had). The subdirectories are A-Z, a-z, 0-9 (and I mean A, B, C, etc) and need the correct permissions and owners which you can get from the directories that are already there.

http://www.webumake.com/free/mailscanner.htm has a script that claims to fix it, but I prefer to do my configs by hand so someone else will have to test it. icon_wink.gif

Hopefully this will take care of the problem.
rf33
I followed the advice from the cpanel forum on two servers, one RHEL3 the other RH7.3 with cpanel / exim / mailscanner and I can confirm that it worked for me. Here is what I did:

edit the /etc/MailScanner/MailScanner.conf file by adding a * at the end of the line:
Incoming Queue Dir = /var/spool/exim_incoming/input/
so that it reads:
Incoming Queue Dir = /var/spool/exim_incoming/input/*

rename the file /var/spool/exim_incoming/exim-daemon.pid file
rename the directory /var/spool/exim_incoming/db/
rename the directory /var/spool/exim_incoming/msglog/

restart the MailScanner service
restart the exim service
restart the MailScanner service (once more)
restart the exim service (once more)
radial
I can confirm the exact steps rf33 posted work a charm as that is exactly what I did to get mine working again.
Exero
i had to do this twice!

once when cpanel tech was taking their time to look at my ticket
and again when the cpanel tech f**ked it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.