These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Usermin - Filter and Forward Mail on the new forum.
Hello,
I wanted to make some forward rules for mail account, but I got an error in Usermin @ "Filter and Forward Mail":
"Warning - The system is configured to not process user-defined mail filters. Filters defined here will not be used."
Do I need "Spam filtering" to be enabled in Virtualmin to make those forward rules or something else?
Howdy,
How did you go about installing Usermin (and perhaps Virtualmin)? Did you use the Virtualmin install.sh script?
That would normally setup procmail for you -- and procmail not being used by Postfix/Sendmail is one way the above message could come up.
-Eric
Yes, I've installed Virtualmin via install.sh script @ Debian 5.0 Lenny.
Email is working fine, but I really need those forward rules... so how can I setup procmail for my Postfix?
Okay, I'm suspicious that something may be awry in the procmail config.
Can you post your procmailrc file? That's in /etc/procmailrc.
Thanks!
-Eric
My /etc/procmailrc
LOGFILE=/var/log/procmail.log
TRAP=/etc/webmin/virtual-server/procmail-logger.pl
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
DROPPRIVS=yes
:0
$DEFAULT
And in /var/log/procmail.log I see a lot of log with my emails, everthing seems fine there.
Hi, If you're getting the error: "Warning - The system is configured to not process user-defined mail filters. Filters defined here will not be used." you need to log into the Virtualmin virtual server control panel (possibly with root access -- depending on what permissions were set for your server) and look for the "Email Messages" setting. Click the triangle and a list of four options should appear. Click on "Spam and Virus Scanning." Now on the right side, in the form that appears, look for the "Allow mailbox users to create mail filters?" setting. Click "Yes" and save that.
Of course this assumes you have complete access to your virtual server. If you don't, you'll have to check with your sys admin to have this done for you.
I know its an old post but just wanted to say thanks, this worked!
This worked for me, Thank you.
Thank you very much rgleason for posting your solution. Saved me a bunch of time to figure this one out !
In Usermin, Filter and Forward - when I try to create a new filter I am unable to select header and there is a red circle with diagonal showing I cannot enter the search into the field.
Also I have noticed that perhaps 1 month ago I started getting more emails from github messages. I believe this is because my current filters may not be working properly either. This is what is in my etc/procmailrc and it looks like it got messed up. Should I fix it to should like to one above?
LOGFILE=/var/log/procmail.log
TRAP=/etc/webmin/virtual-server/procmail-logger.pl
:0wi
VIRTUALMIN=|/etc/webmin/virtual-server/lookup-domain.pl --exitcode 73 $LOGNAME
EXITCODE=$?
:0
* ?/usr/bin/test "$EXITCODE" = "73"
/dev/null
EXITCODE=0
:0
* ?/usr/bin/test "$VIRTUALMIN" != ""
{
INCLUDERC=/etc/webmin/virtual-server/procmail/$VIRTUALMIN
}
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
DROPPRIVS=yes
This thread has a similar problem and the procmailrc looks almost the same. In fact, It is identical.
https://www.virtualmin.com/comment/618248#comment-618248
The difference is I am just trying to set up FILTERS right now.
USERMIN > MAIL > EMAIL FILTERS > ADD A NEW EMAIL FILTER
Does not work. Cannot select Header and cannot enter in the fields.
Operating system CentOS Linux 6.7\
Usermin Version 1.690 \
Theme version Authentic Theme 18.32 \
Webmin
Operating system CentOS Linux 6.8
Webmin version 1.831
Virtualmin version 5.05
Theme version Authentic Theme 18.32
Time on system Tuesday, January 24, 2017 11:53 AM
Kernel and CPU Linux 2.6.32-642.3.1.el6.x86_64 on x86_64
Processor information Intel(R) Xeon(R) CPU E5-2630L 0 @ 2.00GHz, 1 cores
Also https://www.virtualmin.com/node/33848
Could not find this https://www.virtualmin.com/comment/689965#comment-689965 https://www.virtualmin.com/comment/584046#comment-584046 But found the comparable in 2012
Spam and Virus Scanning. Change "Allow mailbox users to create mail filters?" to "Yes", and then click "Save".
If it is already set to "Yes", try changing to "No", saving, returning to that page, setting it to "Yes" again and re-saving.
And I had already done both of these!
Have now tried reboot of servers for Postfix, Dovecot, SpamAssassin, & Clamdv,
Still Locked out of Email Filters. Also when I bring up an existing email filter in my user account the fields are all blank, but the filters themselves look find on the page. Wierd
I think this is probably a bug.
It turns out that this problem was a problem with the Theme. I
First of all I can not see where the ENTRY BOXES are located, the background is too light!!!
Secondly the Box around the entry areas should be heavier!!!
Thirdly the entry boxes were not really where they should be.
Fourth only the tab button would get me into selecting "Header"
I hope this gets fixed in the default THEME