On Wed, 29 Apr 2009, Kövesdi György wrote: > > Sorry, there's no hook for that. You'll need to keep a watch on log files, > > like I do on /var/log/auth.log on my public machines. > I couldn't find information about auth logging. My Xmail is running on > OpenWrt, where the log files are stored in /opt/var/MailRoot/logs. The auth > log information is stored in files 'smtp-*' or 'pop3-*' accordingly, but > these > files are rotated in every day which makes it hard to analyze on-the-fly. I > tried to set the rotation interval to zero, but it does not work. It would be > useful to direct the log out to a pipe, or to switch off the rotation. Is it > possible? The best would be to use the file /var/log/auth.log as you > mentioned > (without rotation) with only the auth info.
Can you hook into logrotate machinery? Because you could simply run a pre-script that extract you info before they get rotated. - Davide
_______________________________________________ xmail mailing list [email protected] http://xmailserver.org/mailman/listinfo/xmail
