Am 05.08.2011 13:31, schrieb Ralf Hildebrandt:
> * JEHERUL <jehe...@gmail.com>:
>> Dear all
>>
>> By default the log created by postfix and dovecot goes to /var/log/maillog.
>> I want to take the log separately.
>>
>> How can I do that? I googled but nothing found like that.
> 
> :)
> 
> Multiple options:
> 
> * use a syslogd which can do filtering (syslog-ng) based on regexp
> * or do it this way:
> 
> main.cf:
> syslog_facility = local4
> 
> and in syslog.conf:
> local4.*                        -/var/log/mail.log
> mail.*                          -/var/log/pop3d-imapd.log
> 
 or use seperate dovecot log file
http://wiki.dovecot.org/Logging

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria

Reply via email to