To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Linux/Unix Help

Linux/Unix Help Help with server-side Linux and Unix issues

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-03-2002, 10:43 PM   #1
john8675309
Member
 
Join Date: Aug 2002
Location: Mankato
Posts: 74
maillog

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
__________________
I think Therefore I code
---
Try the All new Jkcool.com instant Messenger Http://www.jkcool.com/sitefiles/im.php
---
john8675309 is offline   Reply With Quote
Old 09-10-2002, 08:40 PM   #2
dannys
Senior Member
 
Join Date: Mar 2001
Posts: 636
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)
dannys is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 03:25 AM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.