Hi, A quick question on syslog to remote servers.. I would like to log my spamd logs localy and to a remote server, first I tried to ad a second row to syslog.conf pointing at the logserver:
!!spamd daemon.err;daemon.warn;daemon.info /var/log/spamd daemon.err;daemon.warn;daemon.info @logserver daemon.debug /dev/null !* This does not work as the '!!spamd' makes syslog exit after the first match. Changing the first row to '!spamd' does make the logs go to both locations but will also make the log record go into /var/log/daemon as it matches those statements. And it seems like it is not possible to have multiple recipients of log records (except when sending log info to multiple logged on users according to the man page) so this does not work. !!spamd daemon.err;daemon.warn;daemon.info /var/log/spamd,@logserver daemon.debug /dev/null !* How shalt I do this? BR /Joakim