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.

changing the path of maillog file

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

  1. nitaish

    nitaish Well-Known Member
    PartnerNOC

    Joined:
    Jan 6, 2006
    Messages:
    123
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    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
     
Loading...

Share This Page