Changing location of maillogWe are logging activities of emails. usually these logs are appended in a file maillog which is store in \r\n/var/log/maillog \r\nand its monitor by syslog service \r\nTo change the path we need to update the file syslog.conf \r\nwe need to change the path as \r\nvi /etc/syslog.conf \r\n#comment out following line which seems like \r\nmail.* -/var/log/maillog \r\n#Put line \r\nmail.* -/path/to/your/folder/maillog \r\nNow we need to restart syslog as \r\n/etc/init.d/syslog restart |
Categories
|