Antispam no working


I have been using Virtualmin without big problems. But now I am facing an issue that I cannot manage.

I have a virtual that hasn’t email, but a sub domain on this virtual server has it. On this sub domain I have spam and virus filtering. All users have spam filter active. Eventhough this the 4 mailboxs don’t filter anything. I check the headers of the emails received and there isn’t any clause on SPAM.

Can you help me, or give me some clues to find out the problem?

Thanks in advance for any help.

Hermano Correia

What’s in the maillog? And, assuming mail is hitting procmail-wrapper, what’s in the procmail.log?

Thank you for your answer.

This happening only on one situation. All other domains hosted are filtering the spam email.

The log of a message on this domain is:

May 12 19:29:12 input-xxx postfix/qmgr[2501]: 79188250083: from=<>, size=7837, nrcpt=1 (queue active)
May 12 19:29:12 input-xxx postfix/smtpd[4217]: disconnect from unknown[]
May 12 19:29:15 input-xxx postfix/local[4480]: 79188250083: to=<>, orig_to=<fradi@fradimalhas.yyy.yy>, relay=local, delay=3.8, delays=0.59/0/0/3.2, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
May 12 19:29:15 input-xxx postfix/qmgr[2501]: 79188250083: removed

The procmail log:

procmail: Program failure (2) of "/usr/bin/spamassassin"
procmail: Rescue of unfiltered data succeeded
From Tue May 12 19:29:12 2009
Subject: =?koi8-r?B?U2l6ZSBtYXR0ZXJzIG1vcmUgdGhhbiBldmVyeXRoaW5nIJYgYXNrIGFu?=
Folder: /home/rofer/domains/fradimalhas.yyy.yy/homes/fradi/Maildir 7791
Time:1242152955 To:fradi@fradimalhas.yyy.yy Size:7856 Dest:/home/rofer/domains/fradimalhas.yyy.yy/homes/fradi/Maildir/new/ Mode:None
From Tue May 12 19:29:49 2009

I hope this can help.

Thank you again.

SpamAssassin failed during processing for some reason.

You might be running up against quotas. Try increasing the quota for the user.

Hi again

The disk quota for mailbox is 500Mb and the ocuppied space is 884Kb, do you think I really need to increase space?

OK, so it’s not disk space. :wink:

I dunno. Does it happen the same way for all mail to this user?


All the mailboxes on this subdomain happen the same way.

I am missing any clue to this … Any help will be very welcome…



How much RAM do you have on your server?

If you have a reasonable amount (that’s subjective, but let’s say 500MB or more), I’d be curious if you still ran into this problem if SpamAssassin were set to run in daemon mode.

To enable daemon mode, go into Email Messages -> Spam and Virus Scanning, and set "SpamAssassin client program" to be "spamc".

A side benefit here is that SpamAssassin will now use less CPU to run :slight_smile:

Hi again

I have about 1Gb RAM available. I am using CentOS 5.3, when I make the change you sugest the virtualmin gives a message that:

You have chosen to use the spamc client program, but the spamd server does not appear to be running

Can you tell me the package I must install?

If you don’t mind I will make another question. Is there any way to configure virtualmin to pop3 collect messages on another email server to certain mailbox?


You may just need to launch the SpamAssassin daemon.

To do that, you can log in as root, and type:

/etc/init.d/spamassassin start

And then try enabling the daemon mode again.

Thanks Eric

It worked.