PATH:
etc
# rsyslog configuration file # For more information see /usr/share/doc/rsyslog-*/rsyslog_conf.html # or latest version online at http://www.rsyslog.com/doc/rsyslog_conf.html # If you experience problems, see http://www.rsyslog.com/doc/troubleshoot.html #### MODULES #### module(load="imuxsock" # provides support for local system logging (e.g. via logger command) SysSock.Use="off") # Turn off message reception via local log socket; # local messages are retrieved through imjournal now. module(load="imjournal" # provides access to the systemd journal UsePid="system" # PID nummber is retrieved as the ID of the process the journal entry originates from StateFile="imjournal.state") # File to store the position in the journal #module(load="imklog") # reads kernel messages (the same are read from journald) #module(load="immark") # provides --MARK-- message capability # Provides UDP syslog reception # for parameters see http://www.rsyslog.com/doc/imudp.html #module(load="imudp") # needs to be done just once #input(type="imudp" port="514") # Provides TCP syslog reception # for parameters see http://www.rsyslog.com/doc/imtcp.html #module(load="imtcp") # needs to be done just once #input(type="imtcp" port="514") #### GLOBAL DIRECTIVES #### # Where to place auxiliary files global(workDirectory="/var/lib/rsyslog") # Use default timestamp format module(load="builtin:omfile" Template="RSYSLOG_TraditionalFileFormat") # Include all config files in /etc/rsyslog.d/ include(file="/etc/rsyslog.d/*.conf" mode="optional") #### RULES #### # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console # Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none /var/log/messages # The authpriv file has restricted access. authpriv.* /var/log/secure # Log all the mail messages in one place. mail.* -/var/log/maillog # Log cron stuff cron.* /var/log/cron # Everybody gets emergency messages *.emerg :omusrmsg:* # Save news errors of level crit and higher in a special file. uucp,news.crit /var/log/spooler # Save boot messages also to boot.log local7.* /var/log/boot.log # ### sample forwarding rule ### #action(type="omfwd" # An on-disk queue is created for this action. If the remote host is # down, messages are spooled to disk and sent when it is up again. #queue.filename="fwdRule1" # unique name prefix for spool files #queue.maxdiskspace="1g" # 1gb space limit (use as much as possible) #queue.saveonshutdown="on" # save messages to disk on shutdown #queue.type="LinkedList" # run asynchronously #action.resumeRetryCount="-1" # infinite retries if host is down # Remote Logging (we use TCP for reliable delivery) # remote_host is: name/ip, e.g. 192.168.0.1, port optional e.g. 10514 #Target="remote_host" Port="XXX" Protocol="tcp")
[+]
..
[-] cpbackup-exclude.conf
[edit]
[+]
gnupg
[-] wwwacct.conf.shadow
[edit]
[-] ips.dnsmaster
[edit]
[-] ethertypes
[edit]
[-] shells
[edit]
[-] ftpd-rsa-key.pem
[edit]
[+]
sysconfig
[+]
chkserv.d
[-] resolv.conf
[edit]
[-] aliases
[edit]
[-] yum.conf
[edit]
[-] recent_authed_mail_ips
[edit]
[-] kdump.conf
[edit]
[-] rpc
[edit]
[+]
pm
[-] mailips
[edit]
[+]
skel
[-] logrotate.conf
[edit]
[-] exim.key
[edit]
[-] .pwd.lock
[edit]
[-] localtime
[edit]
[-] skipsmtpcheckhosts
[edit]
[-] exim_trusted_configs
[edit]
[+]
terminfo
[-] lftp.conf
[edit]
[+]
dconf
[+]
gssproxy
[-] exim.conf.mailman2.exiscan.dist
[edit]
[-] trueuserowners
[edit]
[+]
pdns
[+]
xdg
[-] screenrc
[edit]
[-] nscd.conf
[edit]
[-] greylist_common_mail_providers
[edit]
[-] odbc.ini
[edit]
[-] services
[edit]
[+]
ssl
[-] host.conf
[edit]
[+]
bash_completion.d
[-] named.conf.cache
[edit]
[-] named.conf.precpanelinstall
[edit]
[+]
krb5.conf.d
[-] DIR_COLORS.256color
[edit]
[-] exports
[edit]
[-] passwd.nouids.cache
[edit]
[+]
pkcs11
[-] nocgiusers
[edit]
[-] trusted_mail_users
[edit]
[-] wwwacct.conf
[edit]
[+]
exports.d
[+]
tuned
[+]
hwagent
[+]
fonts
[+]
alternatives
[-] mime.types
[edit]
[+]
valiases
[-] localdomains.rpmnew
[edit]
[+]
polkit-1
[+]
X11
[+]
default
[-] mke2fs.conf
[edit]
[-] nsswitch.conf.bak
[edit]
[+]
groff
[+]
iproute2
[+]
dbus-1
[+]
rc2.d
[+]
security
[+]
rc0.d
[-] ftpd-ca.pem
[edit]
[-] krb5.conf
[edit]
[-] fstab
[edit]
[-] chrony.conf
[edit]
[-] sudo-ldap.conf
[edit]
[-] lock_manager_local.ini
[edit]
[-] recent_recipient_mail_server_ips
[edit]
[-] recent_authed_mail_ips_users
[edit]
[+]
qemu-kvm
[+]
rc.d
[-] makedumpfile.conf.sample
[edit]
[-] secondarymx
[edit]
[+]
my.cnf.d
[-] senderverifybypasshosts
[edit]
[-] netconfig
[edit]
[-] .updated
[edit]
[-] cpspamd.conf
[edit]
[+]
scl
[-] xattr.conf
[edit]
[-] stats.conf
[edit]
[+]
sssd
[-] almalinux-release
[edit]
[+]
rwtab.d
[-] mailcap
[edit]
[-] libaudit.conf
[edit]
[+]
libnl
[-] profile
[edit]
[-] ld.so.conf
[edit]
[-] demousers
[edit]
[-] cpanel_mail_netblocks
[edit]
[-] userdomains
[edit]
[-] userips
[edit]
[+]
cl.selector
[-] gshadow
[edit]
[+]
rc5.d
[-] blocked_incoming_email_domains
[edit]
[+]
dovecot
[-] cron.deny
[edit]
[-] grub2.cfg
[edit]
[+]
gcrypt
[-] email_send_limits
[edit]
[+]
cron.daily
[+]
cloud
[-] inittab
[edit]
[-] redhat-release
[edit]
[+]
kdump
[-] favicon.png
[edit]
[-] cpsources.conf.plugins.example
[edit]
[-] ssldomains
[edit]
[+]
libreport
[-] rsyslog.conf
[edit]
[-] system-release
[edit]
[-] almalinux-release-upstream
[edit]
[-] nfsmount.conf
[edit]
[-] sestatus.conf
[edit]
[-] csh.cshrc
[edit]
[+]
rsyslog.d
[-] chrony.keys
[edit]
[-] eximmailtrap
[edit]
[-] shadow.nouids.cache
[edit]
[+]
cron.monthly
[-] agent360.ini
[edit]
[+]
libibverbs.d
[+]
plymouth
[-] mailbox_formats
[edit]
[-] subuid
[edit]
[-] cpanel_exim_system_filter
[edit]
[-] asound.conf
[edit]
[+]
unbound
[-] networks
[edit]
[-] relayhosts
[edit]
[-] domainips
[edit]
[-] shadow
[edit]
[+]
audit
[+]
authselect
[-] issue.net
[edit]
[-] named.root.key
[edit]
[+]
udev
[-] sysctl.conf
[edit]
[-] trusted-key.key
[edit]
[-] environment
[edit]
[-] DIR_COLORS.lightbgcolor
[edit]
[+]
vfilters
[-] oddjobd.conf
[edit]
[-] userplans
[edit]
[-] vconsole.conf
[edit]
[-] ld.so.cache
[edit]
[-] virc
[edit]
[+]
popt.d
[-] DIR_COLORS
[edit]
[-] nsswitch.conf
[edit]
[-] named.conf.zonedir.cache
[edit]
[-] eximrejects
[edit]
[+]
cagefs
[-] eximrejects.rpmorig
[edit]
[+]
sw-engine
[-] crypttab
[edit]
[-] adjtime
[edit]
[+]
needrestart
[-] outgoing_mail_suspended_users
[edit]
[-] rc.local
[edit]
[+]
yum.repos.d
[+]
tmpfiles.d
[-] exim.conf
[edit]
[-] domainusers
[edit]
[+]
keyutils
[+]
sudoers.d
[+]
NetworkManager
[-] updatedb.conf
[edit]
[-] sudo.conf
[edit]
[+]
dnf
[-] remotedomains
[edit]
[-] system-release-cpe
[edit]
[-] shadow-
[edit]
[-] GREP_COLORS
[edit]
[-] ftpddisable
[edit]
[+]
dracut.conf.d
[-] login.defs
[edit]
[-] greylist_trusted_netblocks
[edit]
[-] cpupdate.conf
[edit]
[+]
modprobe.d
[+]
dhcp
[-] hostname
[edit]
[-] centos-release
[edit]
[-] motd
[edit]
[-] nanorc
[edit]
[-] hosts
[edit]
[-] demodomains
[edit]
[-] mailhelo
[edit]
[-] odbcinst.ini
[edit]
[-] request-key.conf
[edit]
[+]
yum
[-] .whostmgrft
[edit]
[-] wwwacct.conf.shadow.cache
[edit]
[-] exim.crt
[edit]
[+]
apache2
[-] named.conf.prerebuilddnsconfig
[edit]
[-] named.rfc1912.zones
[edit]
[-] userdatadomains
[edit]
[-] bindresvport.blacklist
[edit]
[+]
environment-modules
[-] gshadow-
[edit]
[+]
gss
[-] crontab
[edit]
[+]
cron.hourly
[+]
named
[-] localaliases
[edit]
[+]
rc6.d
[-] demouids
[edit]
[+]
cpanel
[-] blocked_incoming_email_country_ips
[edit]
[-] sudoers
[edit]
[-] dracut.conf
[edit]
[-] localdomains
[edit]
[+]
cifs-utils
[+]
xinetd.d
[-] trustedmailhosts
[edit]
[+]
modules-load.d
[-] exim.conf.localopts.shadow
[edit]
[+]
modulefiles
[-] userbwlimits
[edit]
[+]
oddjob
[+]
firewalld
[-] magic
[edit]
[+]
mail
[-] userdatadomains.json
[edit]
[+]
rc1.d
[-] named.conf.rebuilddnsconfig
[edit]
[-] neighbor_netblocks
[edit]
[-] exim_suspended_list
[edit]
[-] named.conf
[edit]
[+]
grub.d
[-] passwd-
[edit]
[-] ftpd-rsa.pem
[edit]
[+]
ld.so.conf.d
[-] my.cnf
[edit]
[+]
dpkg
[+]
smartmontools
[-] at.deny
[edit]
[+]
systemd
[+]
rpm
[-] pure-ftpd.pem
[edit]
[-] locale.conf
[edit]
[-] subgid
[edit]
[+]
libpaper.d
[-] wwwacct.conf.cache
[edit]
[+]
init.d
[-] inputrc
[edit]
[-] webspam
[edit]
[+]
rc4.d
[-] dbowners
[edit]
[-] issue
[edit]
[+]
libssh
[+]
imunify360
[-] exim.conf.dist
[edit]
[-] spammeripblocks
[edit]
[+]
sysctl.d
[+]
imunify-agent-proxy
[+]
acpi
[+]
rhsm
[+]
oddjobd.conf.d
[-] mail.rc
[edit]
[+]
microcode_ctl
[-] nfs.conf
[edit]
[-] libuser.conf
[edit]
[-] exim.conf.mailman2.dist
[edit]
[-] man_db.conf
[edit]
[+]
openldap
[-] exim.pl.local
[edit]
[+]
selinux
[-] nsswitch.conf.save_by_rpm
[edit]
[-] relayhostsusers
[edit]
[-] os-release
[edit]
[+]
pam.d
[-] csh.login
[edit]
[+]
cron.weekly
[-] antivirus.exim
[edit]
[-] idmapd.conf
[edit]
[+]
vdomainaliases
[+]
binfmt.d
[-] blocked_incoming_email_countries
[edit]
[+]
request-key.d
[-] outgoing_mail_hold_users
[edit]
[-] manualmx
[edit]
[+]
chkconfig.d
[-] passwd.cache
[edit]
[-] anacrontab
[edit]
[-] filesystems
[edit]
[+]
nftables
[+]
kernel
[+]
motd.d
[-] trueuserdomains
[edit]
[-] papersize
[edit]
[+]
profile.d
[-] tcsd.conf
[edit]
[+]
opt
[-] exim.pl
[edit]
[+]
rc3.d
[-] protocols
[edit]
[-] printcap
[edit]
[-] bashrc
[edit]
[+]
ssh
[-] digestshadow
[edit]
[-] mtab
[edit]
[+]
ImageMagick-6
[-] wgetrc
[edit]
[+]
pki
[+]
qemu-ga
[-] ips
[edit]
[+]
proftpd
[-] machine-id
[edit]
[-] group
[edit]
[-] exim.conf.localopts
[edit]
[-] backupmxhosts
[edit]
[+]
sasl2
[+]
logrotate.d
[-] domain_remote_mx_ips.cdb
[edit]
[+]
crypto-policies
[-] spammers
[edit]
[-] group-
[edit]
[-] passwd
[edit]
[+]
cron.d
[+]
depmod.d
[-] ipaddrpool
[edit]