Spamassasin to .Spam not /dev/null

SYSTEM INFORMATION
OS type and version REQUIRED
Webmin version REQUIRED

Runing Ubuntu 22.04
Webmin ver. 2.111

Newly installed and migrated from a later version of Ubuntu.

Im struggelin having served my spam to folder .Spam or .Junk
Postfix is rating mails fine with spamassasin, but from procmail.log it refuse to send it to $HOME/Maildir/.Spam I even try with different formats here.
Everytime it throws em out with /dev/null/

I have been searching for the soultion, but I cant seem to find it. Spamassasin in Webmin have the procmail spam dellivery here I have tryied to do the same in both mbox style and qmail, this does nothing.

in procmailrc i tryied this:
:0

  • ^X-Spam-Status: Yes
    $HOME/Maildir/.Junk

#:0:
#* ^Subject:.*[SPAM]
#$HOME/Maildir/.Junk/

Default delivery

#:0
#$HOME/Maildir/

It does still send the spam to /dev/null/

Hope someone has the trick for it, im bald and getting long hair :slight_smile:

ITs solved thx to other post: All mails going Dest: dev null Mode:Spam - #31 by atleast

had to go by all virtualmin servers. This should be handled globally though. IMO.

You could handle it globally by disabling the per-domain and per-user procmail rules (but that also disables auto-replies and forwards created by Virtualmin/Usermin since they happen via those extra procmail recipes). But, I think most of our users want to be able to configure mail handling more individually.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.