Download your rsyslog package:
apt-get download rsyslog
Then inspect a package file (rsyslog_8.2102.0-2+deb11u1_amd64.deb
in my case):
dpkg -c rsyslog_8.2102.0-2+deb11u1_amd64.deb
...
-rwxr-xr-x root/root 2864 2022-05-21 01:05 ./etc/init.d/rsyslog
-rw-r--r-- root/root 1974 2022-05-21 01:05 ./etc/rsyslog.conf
drwxr-xr-x root/root 0 2022-05-21 01:05 ./etc/rsyslog.d/
...
You can extract a package (there are other ways to do that if you want to):
mkdir /tmp/1
dpkg-deb -x rsyslog_8.2102.0-2+deb11u1_amd64.deb /tmp/1
Now, the temporary directory /tmp/1
has the default Debian config of the rsyslog. You can compare that with the current config to confirm it's changed (or not):
diff /etc/rsyslog.conf /tmp/1/etc/rsyslog.conf
For reference, this is how mail section looks like in the config in the package version I was inspecting:
#
# Logging for the mail system. Split it up so that
# it is easy to write scripts to parse these files.
#
mail.info -/var/log/mail.info
mail.warn -/var/log/mail.warn
mail.err /var/log/mail.err
If you're brave you can just reinstall the config files for the whole package:
apt install --reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss" rsyslog