When executing spamc I do not get output and the exit status is 74 (EX_IOERR: IO error). For example: $ spamc -L spam </home/imaps/Maildir/.SpamDir.SpamNotFound/toProcess/1537786018.M357322P20544V000000000000FE00I00000000022AA5B4_28.munus.decebal.nl,S=103167:2,S $ echo $? 74
But the file exists: $ ls -l /home/imaps/Maildir/.SpamDir.SpamNotFound/toProcess/1537786018.M357322P20544V000000000000FE00I00000000022AA5B4_28.munus.decebal.nl,S=103167:2,S -rw-r--r-- 1 imaps users 103167 Sep 24 07:45 /home/imaps/Maildir/.SpamDir.SpamNotFound/toProcess/1537786018.M357322P20544V000000000000FE00I00000000022AA5B4_28.munus.decebal.nl,S=103167:2,S I am executing things as users imaps. What could be the problem? In the past it did work. I can execute (as imaps): $ sa-update -D -v This gives: Oct 22 03:08:20.188 [21322] dbg: logger: adding facilities: all Oct 22 03:08:20.188 [21322] dbg: logger: logging level is DBG Oct 22 03:08:20.188 [21322] dbg: generic: SpamAssassin version 3.4.1 Oct 22 03:08:20.188 [21322] dbg: generic: Perl 5.024001, PREFIX=/usr, DEF_RULES_DIR=/usr/share/spamassassin, LOCAL_RULES_DIR=/etc/spamassassin, LOCAL_STATE_DIR=/var/lib/spamassassin Oct 22 03:08:20.188 [21322] dbg: config: timing enabled Oct 22 03:08:20.190 [21322] dbg: config: score set 0 chosen. Oct 22 03:08:20.196 [21322] dbg: generic: sa-update version svn1652181 Oct 22 03:08:20.196 [21322] dbg: generic: using update directory: /var/lib/spamassassin/3.004001 Oct 22 03:08:20.379 [21322] dbg: diag: perl platform: 5.024001 linux Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Digest::SHA1, version 2.13 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: HTML::Parser, version 3.72 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Net::DNS, version 1.07 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: NetAddr::IP, version 4.079 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Time::HiRes, version 1.9733 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Archive::Tar, version 2.04_01 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: IO::Zlib, version 1.10 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Digest::SHA1, version 2.13 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: MIME::Base64, version 3.15 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: DB_File, version 1.835 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Net::SMTP, version 3.08_01 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Mail::SPF, version v2.009 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Geo::IP, version 1.50 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Net::CIDR::Lite, version 0.21 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Razor2::Client::Agent, version 2.84 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: IO::Socket::IP, version 0.37 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: IO::Socket::INET6, version 2.72 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: IO::Socket::SSL, version 2.044 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Compress::Zlib, version 2.069001 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Mail::DKIM, version 0.4 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: DBI, version 1.636 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Getopt::Long, version 2.48 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: LWP::UserAgent, version 6.15 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: HTTP::Date, version 6.02 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Encode::Detect::Detector, version 1.01 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Net::Patricia, version 1.22 Oct 22 03:08:20.379 [21322] dbg: diag: [...] module installed: Net::DNS::Nameserver, version 1493 Oct 22 03:08:20.381 [21322] dbg: gpg: Searching for 'gpg' Oct 22 03:08:20.381 [21322] dbg: util: current PATH is: /usr/local/bin:/usr/bin:/bin:/usr/games Oct 22 03:08:20.381 [21322] dbg: util: executable for gpg was found at /usr/bin/gpg Oct 22 03:08:20.381 [21322] dbg: gpg: found /usr/bin/gpg Oct 22 03:08:20.381 [21322] dbg: gpg: importing default keyring to /etc/spamassassin/sa-update-keys Oct 22 03:08:20.392 [21322] dbg: gpg: [GNUPG:] IMPORT_OK 0 5E541DC959CB8BAC7C78DFDC4056A61A5244EC45 Oct 22 03:08:20.392 [21322] dbg: gpg: [GNUPG:] IMPORT_RES 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 Oct 22 03:08:20.392 [21322] dbg: gpg: release trusted key id list: 0C2B1D7175B852C64B3CDC716C55397824F434CE 5E541DC959CB8BAC7C78DFDC4056A61A5244EC45 Oct 22 03:08:20.393 [21322] dbg: util: secure_tmpfile created a temporary file /tmp/.spamassassin21322pdpfWetmp Oct 22 03:08:20.393 [21322] dbg: channel: attempting channel updates.spamassassin.org Oct 22 03:08:20.393 [21322] dbg: channel: using existing directory /var/lib/spamassassin/3.004001/updates_spamassassin_org Oct 22 03:08:20.393 [21322] dbg: channel: channel cf file /var/lib/spamassassin/3.004001/updates_spamassassin_org.cf Oct 22 03:08:20.393 [21322] dbg: channel: channel pre file /var/lib/spamassassin/3.004001/updates_spamassassin_org.pre Oct 22 03:08:20.393 [21322] dbg: channel: metadata version = 1844399, from file /var/lib/spamassassin/3.004001/updates_spamassassin_org.cf Oct 22 03:08:20.505 [21322] dbg: dns: 1.4.3.updates.spamassassin.org => 1844399, parsed as 1844399 Oct 22 03:08:20.505 [21322] dbg: channel: current version is 1844399, new version is 1844399, skipping channel Oct 22 03:08:20.505 [21322] dbg: diag: updates complete, exiting with code 1 Update finished, no fresh updates were available -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof