hardware / mailserver

:warning: UNMAINTAINED - Simple and full-featured mail server using Docker
https://store.docker.com/community/images/hardware/mailserver
MIT License
1.29k stars 324 forks source link

clamav-unofficial-sigs cron has curl failures #412

Closed prometheanfire closed 4 years ago

prometheanfire commented 4 years ago

Classification

Reproducibility

Docker information

docker info
REPOSITORY            TAG                 DIGEST                                                                    IMAGE ID            CREATED             SIZE
hardware/mailserver   1.1-stable          sha256:4875f76004ef9976099bd12e1f16671776d7d20f788d59cc279a17d63add73ac   c4513232af37        4 weeks ago         375MB

Description

As described above in the title, the cron for /usr/local/bin/clamav-unofficial-sigs.sh has curl failures.

Steps to reproduce

  1. Enable clamav-unofficial-sigs
  2. Wait

Expected results

No cron emails

Actual results\

To: clamav@mailserver-docker-hostname
From: Cron Daemon <root@mailserver-docker-hostname>
Subject: Cron <clamav@mx1> [ -x /usr/local/bin/clamav-unofficial-sigs.sh ] && /bin/bash /usr/local/bin/clamav-unofficial-sigs.sh > /dev/null

curl: (23) Failed writing body (0 != 2267)

Debugging information

docker logs mailserver
(nothing with curl on the line)

Configuration (docker-compose.yml, traefik.toml...etc)

malwarepatrol_receipt_code="NOPE"
malwarepatrol_product_code="8"
malwarepatrol_list="clamav_basic"
malwarepatrol_free="yes"
# securiteinfo_authorisation_signature="YOUR-SIGNATURE-NUMBER"
yararulesproject_enabled="no"
enable_yararules="no"
user_configuration_complete="yes"

Ideas as to the cause

The script may not be checking if it's configured and failing due to only one of the extras being configured.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.