Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 22
  1. #1
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default BIGSCREWUP! with Exim 4.43-30

    What is Cpanel doing?

    My MailScanner is dead in the water, and no messages are being received!. All of a sudden Cpanel changes the directory structure of /var/spool/exim_incoming/input. This is where all my messages arrive before being scanned by MailScanner, but MailScanner can no longer find the messages because they are now arriving in their own directories;

    ./ 0/ 3/ 5/ 9/ b/ d/ e/ F/ G/ i/ j/ k/ L/ M/ o/ p/ q/ r/ T/ v/ w/ X/ Z/
    ../ 2/ 4/ 7/ A/ C/ D/ E/ g/ H/ I/ J/ l/ m/ N/ O/ P/ Q/ S/ U/ V/ W/ Y/

    This is absurd. Each messages is now sent to one of these directories? So for those of us running MailScanner how do these messages get retrieved from these directories?

    What is up with this?

    exim (exim-4.43-30_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass) is the problem here. Messages arriving should just be placed into the /input directory where MailScanner can find them, not into their own split directories. THIS IS RIDICULOUS!

  2. #2
    FWC
    FWC is offline
    Member
    Join Date
    May 2002
    Location
    Ontario, Canada
    Posts
    354

  3. #3
    Member kens6139's Avatar
    Join Date
    Dec 2003
    Location
    Chattanooga TN
    Posts
    24

    Default

    You can fix mail scanner by adding a * to the incoming queue statement in MailScanner.conf. Mine looks like this "Incoming Queue Dir = /var/spool/exim_incoming/input/*".

    If you have a exim-daemon.pid file in the input folder delete it, also delete the db and msglog directorys if they exist in the input folder.

    also check your exim.conf and make sure the queue matches the one in your MailScanner.conf , note leave input off the spool statement here Mine looks like this "spool_directory = /var/spool/exim_incoming"

    Be sure to service exim restart , and service MailScanner restart.

    My setup is C Panel on RH enterprise 3 so you may need to alter this with a different setup.

    There is still an issue with this setup, the manage mail queue in WHM is worthless !!


    Http://www.fatcatservers.com
    Last edited by kens6139; 11-03-2004 at 02:19 AM.

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge rvskin's Avatar
    Join Date
    Feb 2003
    Posts
    397

    Default

    I suggest drop Mailscanner and move to Exim+Exiscan.
    Follow instruction here.
    http://www.rvskin.com/index.php?page=public/antispam
    RVSkin, a great experience for you, resellers and clients!
    http://www.RVSkin.com - The Most Intelligent Cpanel Skin, 23 Languages included.
    http://www.RVSiteBuilder.com - Website Builder for Hosting Provider.
    http://www.cPanelLicense.com - External cPanel License.

  5. #5
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default

    Quote Originally Posted by rvskin
    I suggest drop Mailscanner and move to Exim+Exiscan.
    Follow instruction here.
    http://www.rvskin.com/index.php?page=public/antispam
    Anyone with half a developers mind cant possibly be interested in in the Clamconnector. Its pretty worthless if you ask me! Im using the real mailscanner, not the modified heck from Cpanel's website. Thats even worst than all of them put together.

    I solved my issue, turn OFF split directories in exim.conf. Ill create a script in postupcp that will reset that option to OFF it it ever gets changed again.

    Cpanel, they are the devils!
    Last edited by mr.wonderful; 11-03-2004 at 02:28 AM.

  6. #6
    Member kens6139's Avatar
    Join Date
    Dec 2003
    Location
    Chattanooga TN
    Posts
    24

    Default

    Hmmm.... This does look interisting. I think I will stick with MailScanner for now , but may give Exiscan a try on the next server I set up.

  7. #7
    FWC
    FWC is offline
    Member
    Join Date
    May 2002
    Location
    Ontario, Canada
    Posts
    354

    Default

    Quote Originally Posted by rvskin
    I suggest drop Mailscanner and move to Exim+Exiscan.
    Follow instruction here.
    http://www.rvskin.com/index.php?page=public/antispam
    That's not an option for some of us. We have several clients who will leave if we can't turn off all attachment and virus rules on their sites. But, most insist on virus and attachment checking. MailScanner gives us the flexibility to satisfy all of our customers.
    Last edited by FWC; 11-03-2004 at 02:27 AM.

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge rvskin's Avatar
    Join Date
    Feb 2003
    Posts
    397

    Default

    Did you read my document?

    You can do whitelist for both virus scanning and spam scanning or even add option to cPanel and allow user turn it on and off.
    RVSkin, a great experience for you, resellers and clients!
    http://www.RVSkin.com - The Most Intelligent Cpanel Skin, 23 Languages included.
    http://www.RVSiteBuilder.com - Website Builder for Hosting Provider.
    http://www.cPanelLicense.com - External cPanel License.

  9. #9
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default

    Quote Originally Posted by rvskin
    Did you read my document?

    You can do whitelist for both virus scanning and spam scanning or even add option to cPanel and allow user turn it on and off.
    Hey Pairote, some of us dont need our users to control this! Why? If we are doing this serverwide why add more confusing options to their control panel options? I already read your document and unless you are running Clamconnector its worthless. I am running Spamassassin + Real MailScanner + Razor + Surbl and thats the way i want to leave it for now.

  10. #10
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default

    Quote Originally Posted by kens6139
    You can fix mail scanner by adding a * to the incoming queue statement in MailScanner.conf. Mine looks like this "Incoming Queue Dir = /var/spool/exim_incoming/input/*".

    If you have a exim-daemon.pid file in the input folder delete it, also delete the db and msglog directorys if they exist in the input folder.

    also check your exim.conf and make sure the queue matches the one in your MailScanner.conf , note leave input off the spool statement here Mine looks like this "spool_directory = /var/spool/exim_incoming"

    Be sure to service exim restart , and service MailScanner restart.

    My setup is C Panel on RH enterprise 3 so you may need to alter this with a different setup.

    There is still an issue with this setup, the manage mail queue in WHM is worthless !!


    Http://www.fatcatservers.com
    Thanks, this may look easier than just setting split directories OFF since it wont require updating when cpanel decides to modify my exim.conf

  11. #11
    cPanel Partner NOC cPanel Partner NOC Badge rvskin's Avatar
    Join Date
    Feb 2003
    Posts
    397

    Default

    It's your choice. It's out of your topic now. If you want to talk how good and bad between Mailscanner and Exim+Exiscan, we should open new thread.
    RVSkin, a great experience for you, resellers and clients!
    http://www.RVSkin.com - The Most Intelligent Cpanel Skin, 23 Languages included.
    http://www.RVSiteBuilder.com - Website Builder for Hosting Provider.
    http://www.cPanelLicense.com - External cPanel License.

  12. #12
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default

    Quote Originally Posted by rvskin
    It's your choice. It's out of your topic now. If you want to talk how good and bad between Mailscanner and Exim+Exiscan, we should open new thread.
    Exiscan is already incorporated in Spamassassin, no matter how you look at it, whether your using Cpanels version of Mailscanner or using Spamassasin with the real MailScanner there is ZERO difference.

    Also,

    where are you getting this version from?

    exim-4.42-80_cpanel_stmpcontrol_antivirus_rewrite_mailman2_maskedmailtrap_exiscan

    The latest according to Cpanel is 4.42-30
    Last edited by mr.wonderful; 11-03-2004 at 02:51 AM.

  13. #13
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default

    Quote Originally Posted by kens6139
    You can fix mail scanner by adding a * to the incoming queue statement in MailScanner.conf. Mine looks like this "Incoming Queue Dir = /var/spool/exim_incoming/input/*".

    If you have a exim-daemon.pid file in the input folder delete it, also delete the db and msglog directorys if they exist in the input folder.

    also check your exim.conf and make sure the queue matches the one in your MailScanner.conf , note leave input off the spool statement here Mine looks like this "spool_directory = /var/spool/exim_incoming"

    Be sure to service exim restart , and service MailScanner restart.

    My setup is C Panel on RH enterprise 3 so you may need to alter this with a different setup.

    There is still an issue with this setup, the manage mail queue in WHM is worthless !!


    Http://www.fatcatservers.com

    Tired that and all i keep getting is;


    Nov 3 03:30:02 srv07 MailScanner[31256]: Cannot cd to dir /var/spool/exim_incoming/input/1BNw1j-0002zM-65-D to read messages, Not a directory
    Nov 3 03:30:0

  14. #14
    Member kens6139's Avatar
    Join Date
    Dec 2003
    Location
    Chattanooga TN
    Posts
    24

    Default

    Quote Originally Posted by mr.wonderful
    Tired that and all i keep getting is;


    Nov 3 03:30:02 srv07 MailScanner[31256]: Cannot cd to dir /var/spool/exim_incoming/input/1BNw1j-0002zM-65-D to read messages, Not a directory
    Nov 3 03:30:0

    Take the star off and restart exim and mailscanner - it should send those mails in the input directory. Then add the star back.

    Or you may try moving the files into one of the new queue directories. or depending on how many you have you may just delete them.

    But for that error to be gone you must have only the queue directories in the input folder.

  15. #15
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    There is actually a little more to just adding the *, there are 3 stages to updating (which is why I wrote the script). You need to:

    1. Add the *

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

    2. Change to split spool in MailScanner.conf:

    Split Exim Spool = yes

    3. Precreate all the directories for 0-9a-zA-Z (with the right ownership+permissions) for:

    /var/spool/exim_incoming/input/
    /var/spool/exim/input/

    P.S. For those that want it, I'm also developing a cPanel front-end for users, though most system admins still prefer to be in control of the process themselves. Exiscan options will never be as effective or configurable as MailScanner simply because of the maturity and extensiveness of the MailScanner product. But, if you prefer exiscan, go with it.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Exim won't start - Exim has failed, please contact the sysadmin.
    By TheUnluckyGuy in forum E-mail Discussions
    Replies: 1
    Last Post: 05-25-2010, 11:18 AM
  2. Bypassing Exiscan / exim.antivirus from Exim for specific domain
    By tweakservers in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-19-2006, 11:50 AM
  3. Problem with exim, exim cannot load modules located in /etc/exim.pl ?
    By Port80Hosting in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-14-2005, 10:53 AM
  4. exim failed !! in big mess !! Error:package exim is not installed
    By atul in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-15-2004, 12:37 PM
  5. re-exec of exim (/usr/sbin/exim) with -Mc failed: Permission denied
    By 65535 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-15-2004, 06:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube