Help needed when removing MailScanner completely

Mika Leppänen mtl at shelli.pw
Wed May 2 21:11:50 UTC 2018


On 2018-05-03 00:03, Kevin Miller wrote:
> Just a wild guess, but look in your /etc/spamassassin directory and
> see if there is a dead link to the .cf file that MailScanner installs.
> 
> Maybe try doing a dpkg-reconfigure postfix too?

I did this:

root at nix:/# find / -xdev -type f -print0 | xargs -0 grep -H 
"spamassassin -x -D -C /opt/MailScanner/spam.assassin.conf --lint"
/home/mtl/.bash_history:grep -R 'spamassassin -x -D -C 
/opt/MailScanner/spam.assassin.conf --lint' /
/home/mtl/.bash_history:grep -Rif 'spamassassin -x -D -C 
/opt/MailScanner/spam.assassin.conf --lint' /
/home/mtl/.bash_history:grep -Ri 'spamassassin -x -D -C 
/opt/MailScanner/spam.assassin.conf --lint' /
/var/log/mail.err:May  1 15:32:54 nix postfix/postfix-script[25025]: 
fatal: unknown command: 'spamassassin -x -D -C 
/opt/MailScanner/spam.assassin.conf --lint'. Usage: postfix start (or 
stop, reload, abort, flush, check, status, set-permissions, 
upgrade-configuration)
Binary file 
/var/log/journal/0c61b1238ff548dd8e6356278b2cc372/system.journal matches
/var/log/mail.log:May  1 15:32:54 nix postfix/postfix-script[25025]: 
fatal: unknown command: 'spamassassin -x -D -C 
/opt/MailScanner/spam.assassin.conf --lint'. Usage: postfix start (or 
stop, reload, abort, flush, check, status, set-permissions, 
upgrade-configuration)
/var/log/syslog.1:May  1 15:32:54 nix postfix/postfix-script[25025]: 
fatal: unknown command: 'spamassassin -x -D -C 
/opt/MailScanner/spam.assassin.conf --lint'. Usage: postfix start (or 
stop, reload, abort, flush, check, status, set-permissions, 
upgrade-configuration)
/root/.bash_history:postfix -p -c 'spamassassin -x -D -C 
/opt/MailScanner/spam.assassin.conf --lint'
/root/.bash_history:postfix -c 'spamassassin -x -D -C 
/opt/MailScanner/spam.assassin.conf --lint'
/root/.bash_history:postfix 'spamassassin -x -D -C 
/opt/MailScanner/spam.assassin.conf --lint'

Then journalctl --vacuum-time=1seconds

That removed systemd journal log. I do not know does this have any 
effect. Let's see. There was only one file that matched. :)

-- 
Mika Leppänen  --  mika.leppanen at iki.fi


More information about the MailScanner mailing list