cron emails are detected as bounce
At the moment schleuder detects cron emails als bounce emails as they might have Auto-Submitted set to to auto-generated
Example:
From: "(Cron Daemon)" <root@example.org>
To: root@example.org
Message-ID: <deadbeaf-0006k1-Dz@example.org>
Subject: Cron <root@example> /usr/share/clamav/freshclam-sleep
Mime-Version: 1.0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: <XDG_SESSION_ID=15894>
X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/0>
X-Cron-Env: <LANG=en_US.UTF-8>
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
clamd server '/var/run/clamd.amavisd/clamd.sock' gave '' response
Cron Emails should be passed to a list, so we should double check if there is no X-Cron-Env set.