john8675309
09-03-2002, 10:43 PM
I deleted my mail log files how can I have my system recreate them so when a user logs in via pop it writes it in a log file.
Slackware 8.1
pop3d
John
Slackware 8.1
pop3d
John
|
Click to See Complete Forum and Search --> : maillog john8675309 09-03-2002, 10:43 PM I deleted my mail log files how can I have my system recreate them so when a user logs in via pop it writes it in a log file. Slackware 8.1 pop3d John dannys 09-10-2002, 08:40 PM Not really a PHP related question but here goes: The way I did it was to add the following to my syslog.conf (in /etc) mail.debug /var/log/maillog That makes sure anything of debug level or greater gets logged into /var/log/maillog - the great thing about syslog is that it can roll the log files over after a cetain time or once they reach a certain size - making sure you never have huge logs lying around. Of course, for any of this to work, you need syslogd installed and running (I think it is by default on just about every unix setup) PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved. |