Issues with Exim after [mailconfigupdate]

Discuss our MailScanner install script and MailScanner itself
Post Reply
NerdZone
Junior Member
Posts: 9
Joined: 31 Jan 2007, 20:35

Issues with Exim after [mailconfigupdate]

Post by NerdZone »

Just went into Exim Config Editor (cPanel 11.18.3-R21703). I noticed it did an update that couldn't continue because of custom ACL's. So I did what it told me to do (attached file) and now no e-mails are coming through. Any help\insight would be appreciated.

Since the exim.conf file is too large I uploaded it here:http://advanitech.com/currentexim.conf

Thanks.
Sarah
Moderator
Posts: 923
Joined: 09 Dec 2006, 22:49

Post by Sarah »

What errors are you getting in the exim log?

tail -f /var/log/exim_mainlog
NerdZone
Junior Member
Posts: 9
Joined: 31 Jan 2007, 20:35

Post by NerdZone »

Hey Sarah!
Well, this one stands out (repeatedly):

2008-03-18 14:33:22 failed to open /etc/exim_deny when checking "/etc/exim_deny": No such file or directory

I checked, and it's not there. Is there another location (from your MailScanner Service Package) where those files exist?
NerdZone
Junior Member
Posts: 9
Joined: 31 Jan 2007, 20:35

Post by NerdZone »

Wait a sec. I know I need to take that out. (Legacy Exim Dictionary Attack) It must have put itself back in when I pulled from backups.

I will try again and post if exim_mainlog tells me something else.

Thanks!
NerdZone
Junior Member
Posts: 9
Joined: 31 Jan 2007, 20:35

Post by NerdZone »

OK.

Now the log is showing me this:


2008-03-18 14:54:05 cwd=/var/spool/MailScanner/incoming/15244/1JbhsY-00076j-34 3 args: /usr/sbin/exim -Mc 1JbhsY-00076j-34
2008-03-18 14:54:05 1JbhsY-00076j-34 Spool file 1JbhsY-00076j-34-D not found
NerdZone
Junior Member
Posts: 9
Joined: 31 Jan 2007, 20:35

Post by NerdZone »

OK in my exim.conf,
  1. I disabled MailScanner
  2. I un-remarked the following:

    Code: Select all

    #SPOOL = /var/spool/exim
    #spool_directory = SPOOL
  3. AND remarked the following:

    Code: Select all

    spool_directory = /var/spool/exim_incoming
    queue_only = true
Essentially bypassing MailScanner and Exim seems to work OK now. BUT that means I can't use MailScanner which I've been using for years without problems.

What changed? What is wrong?
Sarah
Moderator
Posts: 923
Joined: 09 Dec 2006, 22:49

Post by Sarah »

We've seen this missing spool file error occasionally. Running the following script (with MailScanner enabled) usually fixes it:

/usr/mscpanel/msswitch.pl inout

Be sure to enable Mailscanner first and un-do those exim configuration edits you made regarding the spool directory.
NerdZone
Junior Member
Posts: 9
Joined: 31 Jan 2007, 20:35

Post by NerdZone »

You, young lady, are AWESOME. (OK and Chirpy too.) Worked like a champ. :)

Thank you, Sarah!
Post Reply