Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Dec 2003
    Location
    UK
    Posts
    23

    Unhappy Exim Help - General Enquiry

    Hi All,

    After spending some time getting my server set up and firewalled and everything running smoothly I have come across a slight problem. The partitioning scheme my host used only gave a small amount of space to my /var partition. This is where my exim queue and logs are kept. My site is extensively mail oriented, safelist’s if you must know and the /var partition gets dangerously full from time to time. If the mailing lists continue to grow I fear the partition will fill up, exim will grind to a halt and everything will fall over.

    I have set up a cron job to delete the logs on a regular basis just to try to keep things under control but it seems silly that I have 60 gigabytes of free space on my /home partition and don’t need to put any more scripts or files on there. My hosting company are not overly helpful on this.

    The main suggestion is to create a symbolic link to point to another partition. This might be the easiest thing in the world to do if you have ever done it before but if you have NO IDEA how to carry out this task it is less than helpful!

    Any of you gurus out there any suggestions (along with a simple idiots guide) it would be greatly appreciated
    Andy

  2. #2
    Member akhthar's Avatar
    Join Date
    May 2004
    Location
    bangalore
    Posts
    23

    Default

    hello,

    If you have average space on your /var partition you can do a cron job for the foolwing
    cd /var/log
    echo "">apf_log >exim_mainlog >exim_paniclog >exim_rejectlog >kernel >lastlog >maillog >messages >secure >xferlog
    cd ../spool/exim
    service exim stop
    rm -rf input
    service exim start

    If you have not enough space in your /var partition, the better idea will be the soft linking. For that, try the following.
    As a precaution take a backup.

    tar -zcvf var.tar.gz /var

    And then try to move

    mv /var /home
    ln -s /home/var /


    ---
    Akhthar Parvez K
    [COLOR=Navy]http://www.SysAdminGUIDE.com//COLOR]

Similar Threads & Tags
Similar threads

  1. Enquiry
    By jude in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-07-2007, 02:05 PM
  2. general help
    By snipingkid in forum New User Questions
    Replies: 0
    Last Post: 12-13-2006, 08:32 AM
  3. Setup Enquiry
    By Shuriken1 in forum Data Protection
    Replies: 12
    Last Post: 04-09-2005, 11:02 AM
  4. a real enquiry
    By sky in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 12-10-2002, 05:51 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube