this might have allready been asked before but i could not findt it
i’m useing fedora 9 along with webmin and virtualmin (gpl), just updated everything to newest version and got the suexec problem solved
but when i want to enable spam and virus filtering i get this one:
Failed to save enabled features : The Procmail program needed for spam filtering does not appear to be installed on your system, or has not yet been set up properly in Webmin’s Procmail Mail Filter module. If your system does not use spam filtering, it should be disabled in Virtualmin’s module configuration page.
Even that procmail is allready setup like this:
- ^X-Spam-Status: Yes
any idea how i can crack this nut?
Well, even though there’s a procmailrc in /etc/, it’s possible the procmail binary itself may not be installed.
You can verify that with:
rpm -qa | grep procmail
rpm -qa | grep procmail
Alright, so if you log into Virtualmin, and click Webmin -> Servers -> Procmail Mail Filter -> Module Config, then choose the System Configuration dropdown.
At that point, you’ll see “Path to system procmailrc file” and “Path to procmail program”. We need to make sure both exist.
So, if you type:
That will show the path that should be in the "Path to procmail program".
And then, verify that the path to the procmailrc specified there exists as well.
so i updated the config for the procmail filter from:
the procmailrc was at the specified location and the contents where the same as when you manual edit the file through webmin
So, browse to Webmin:Servers:Procmail Mail Filter and check the Module Config to be sure the paths are correct. Get that working, and this particular error will go away--you'll get another about the procmailrc containing incompatible configuration, which you'll need to fix by replacing it with the Virtualmin settings instead of the simpler Webmin settings.
i have allready done checking the paths… as you can see above i discovered where procmail is and changed the path…
i have attached some screendumps to show that i have set it like you say
also when i do
so in the module config i set it to the same
the path where t stores the config is ok, i checked the path trough midnight commander and the contents of the file is the same as if i edit it through the webmin module
i have allready done checking the paths... as you can see above i discovered where procmail is and changed the path...
OK. So, if the Webmin module now knows where procmail is, run the Virtualmin configuration check again.
Also, you don’t want to use the Blue theme for Virtualmin. You’re missing out on huge swaths of UI goodness, if you don’t use the Virtualmin Framed Theme. I’d strongly recommend you install it. (Several features are also really difficult to get to if you don’t use the Virtualmin theme.)
i did install the virtualmin framed thing and did a recheck:
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active …
BIND DNS server is installed, and the system is configured to use it.
Mail server Sendmail is installed and configured.
Apache is installed.
Webalizer is installed.
MySQL is installed and running, but does not have any root password set! This should be changed immediately in the MySQL Database module.
ProFTPd is installed.
Logrotate is installed.
Plugin New Mailbox Signup is installed OK.
Using network interface eth0 for virtual IPs.
Default IP address for virtual servers is ....
Quotas are not enabled on the filesystem / which contains home directories under /home and email files under /var/spool/mail. Quota editing has been disabled.
Shell /bin/false for FTP users is not included in /etc/shells, which may prevent FTP access.
All commands needed to create and restore backups are installed.
… your system is ready for use by Virtualmin.
But i still get the same error
for some reason i screwed up and posted the same screenshot
here is the first one
still noone that has a soloution to this?
Are you using Postfix as your mail daemon? If so, what does your /etc/postfix/main.cf have in it?
You have to have the mailbox_command set to something like this:
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
As well as the procmail-wrapper package installed (which can be done with yum or apt).
no i use sendmail
i tried to search for procmail-wrapper and procmail, the first gave me nothing and the last only returned procmail
One this worth noting is that the procmail configuration you have there is not compatible with Virtualmin. It’s the basic spam filtering config generated by the Webmin SpamAssassin module…Virtualmin mail processing is more complex and capable (it also does virus and per-user stuff). A Virtualmin procmailrc looks like this:
- ?/usr/bin/test "$VIRTUALMIN" != ""
The other thing worth noting is that you’re talking past the problem when you say, “Failed to save enabled features : The Procmail program needed for spam filtering does not appear to be installed on your system, or has not yet been set up properly in Webmin’s Procmail Mail Filter module.” and then follow up with “Even that procmail is allready setup like this:” The fact that procmail has configuration is not an “even” that makes sense in this context. You and Webmin aren’t arguing with each other–it’s saying one thing, and you answer with something completely unrelated.
The error is saying that the Webmin Procmail module does not know where your procmail binary is. That’s a little strange, as procmail hasn’t gone anywhere in Fedora 9–it’s the same as it’s been for years, so it ought to default to the right thing. This could be indicative of a Webmin install problem–like maybe it didn’t detect the OS correctly, or it could be something you changed in the Procmail module that caused it to be confused.
So, browse to Webmin:Servers:Procmail Mail Filter and check the Module Config to be sure the paths are correct. Get that working, and this particular error will go away–you’ll get another about the procmailrc containing incompatible configuration, which you’ll need to fix by replacing it with the Virtualmin settings instead of the simpler Webmin settings.
it looks like regardless of what MTA we’re using, if postfix gets installed, the mailbox_command directive must be created…
I made this change, even though I’m using sendmail, & the spam filtering issue is now gone…