My Google searches must be off, I couldn?t see how to do this. Is there a way to log to a local file, but also send to a remote server? Eg: Log_path = /var/log/dovecot.log, @mylogserver.example.com:514 Thanks, James
On 8/26/21 10:58 AM, James Brown wrote:> My Google searches must be off, I couldn?t see how to do this. > > Is there a way to log to a local file, but also send to a remote server? > > Eg: > > Log_path = /var/log/dovecot.log, @mylogserver.example.com:514 > > Thanks, > > JamesThis is not a dovecot feature but a syslog one. The answer is yes but see rsyslog ( or whatever you have) manual
On 26.08.21 09:58, James Brown wrote:> My Google searches must be off, I couldn?t see how to do this. > > Is there a way to log to a local file, but also send to a remote server? > > Eg: > > Log_path = /var/log/dovecot.log, @mylogserver.example.com:514You need to configure your local syslog server to send the logs to the remote server. Dovecot itself has no facility to do this on its own. Gr??e, Sven.