The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem With Exim, Help!

Discussion in 'General Discussion' started by TurkLoad, Oct 16, 2005.

  1. TurkLoad

    TurkLoad Member

    Joined:
    Jul 12, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hi, i was delete /var/log all files so i can't open Exim, what can i do ?
     
  2. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    try /scripts/exim4 --force , if that does not help try
    /scripts/upcp --force
     
  3. TurkLoad

    TurkLoad Member

    Joined:
    Jul 12, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    i was try thats but it's not working
     
  4. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    Follow these steps as root :

    ]# cd /var/log/
    ]# mkdir exim
    ]# chmod 750 exim
    ]# cd exim/
    ]# touch main.log
    ]# chmod 640 main.log
    ]# touch reject.log
    ]# chmod 640 reject.log
    ]# cd ..
    ]# chown exim:exim exim/ -R
    ]# touch maillog
    ]# chmod 600 maillog
    ]# service exim start


    I am not sure if that can fix your problem.. if not then please paste the error you get
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That would only work on FreeBSD, for Linux servers:

    touch /var/log/exim_mainlog
    touch /var/log/exim_rejectlog
    touch /var/log/exim_paniclog

    chown mailnull:mail /var/log/exim_*
    chmod 640 /var/log/exim_*
     
Loading...

Share This Page