Код: Выделить всё
FreeBSD mail.domain.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Sun Oct 7 18:20:35 EEST 2012 root@MAIL:/usr/obj/usr/src/sys/MAIL amd64
Захотелось видить статистику, установил Exilog
exilog.conf:
Код: Выделить всё
{
'servers' => {
'DOMAIN.COM' => {
'group' => 'YourGroup'
},
},
'sql' => {
'type' => 'mysql',
'DBI' => 'DBI:mysql:database=exilog;',
'user' => 'USER',
'pass' => 'PASSWORD'
},
'agent' => {
'log' => '/var/log/exilog_agent',
'pidfile' => '/var/run/exilog-agent.pid',
'server' => 'DOMAIN.COM',
'logs' => [
'/var/log/exim/mainlog'
],
'queue' => '/var/spool/exim',
'exim' => '/usr/sbin/exim',
'queue_refresh_delay' => 30
},
'cleanup' => {
'cutoff' => 10
},
'web' => {
'timestamps' => 'local',
'restricted_users' => [
'anonymous',
'bob',
'alice',
'peter'
]
}
};
Код: Выделить всё
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
Код: Выделить всё
return unless (opendir(THIS,$base."/".$subdir));
Помогите плз.
Заранее спасибо!!!