Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

changing the path of maillog file

Discussion in 'E-mail Discussion' started by nitaish, Jul 13, 2007.

  1. nitaish

    nitaish Well-Known Member
    PartnerNOC

    Joined:
    Jan 6, 2006
    Messages:
    133
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Mulund, India, India
    Hello,

    I can see there are log files being generated in the /var/log directory in the server with the name maillog. I want to know how to change the path of the maillog file so that it is not created in the /var/log directory. Please help.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,342
    Likes Received:
    57
    Trophy Points:
    178
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    Depending on your OS distro, this may be different - but typically look in /etc/syslog.conf (or syslog-ng.conf).

    Mike
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice