hst26
Jan 16 2004, 02:48 PM
I have found where you setup the e-mail filters. However, how do you set it up to move messages that fit the criteria into a different mailbox? What would you put in the destination for that?
Alec
Jan 16 2004, 05:18 PM
You can block an e-mail using spam filters. There are many definitions of spam, but one particularly useful one is the following:
Spam is the electronic version of junk mail, and has been around since the Internet was created. E-mail filters are a way of filtering your e-mail to remove unwanted mail based on a variety of criteria. You can block any sort of e-mail, not just mail of a commercial nature. Blocked mail can be deleted automatically or sent to another e-mail address or script. These filters are quite flexible - some examples are provided after the instruction on how to add a spam filter below. All filters are cumulative.
To add an e-mail filter:
1.
Click on the E-mail Filtering link in the Mail area.
2.
Click on the Add Filter link.
3.
Click on the required header field in the first drop-down list. These are the various fields in any e-mail message.
4.
Click on the required filter action in the second drop-down list. This action will act on the text entered in the third field.
*
equals - match the text exactly (whole words only). "Credit" will block "Credit".
*
matches regex - matches the text based on regular expression (regex) rules. Regular expressions are a powerful but complex area. You do not need to use regular expression filters for most circumstances. Refer to these two good introductory tutorials - Using Regular Expressions and Learning to Use Regular Expressions - for more information.
*
contains - match the specified text in any circumstance. "porn" will block "porn" and "pornography".
*
begins with - match the specified text when it is the beginning of a word. "porn" will block "porn" and "pornography" but not "teenporn".
5.
Enter the filter text in the third field. This text is case sensitive.
6.
Enter the destination for the filtered e-mail in the Destination field. There are three separate types of destination:
*
Destroy the e-mail - Enter Discard in the field.
*
Redirect to another address - Enter the e-mail address to which to redirect the e-mail.
*
Redirect to a script - Enter the full script path on the machine that hosts your web site.
7.
Click on the Activate button.
Example:
*
To redirect all e-mail from "john@paradise.net", enter: From, equals, john@paradise.net, david@corse.org.nz
*
To delete all e-mail from paradise.net, enter: From, contains, paradise.net, Discard
*
To delete all references to pornography, enter: Any Header, contains, porn, Discard
*
To discard all e-mail that Spam Assassin has marked as spam, enter: SpamAssassin Spam Header, begins with, yes, Discard
hst26
Jan 17 2004, 12:59 AM
I understand how that all works. However, what I am trying to do is when a message comes from a particular address that it gets forwarded to a different folder in the mailbox. For example, instead of it staying in the 'inbox', it goes to the folder 'otherstuff'.
Vanya
Jan 17 2004, 12:28 PM
Sorry, i think you own Windows hosting. That's why you can't use SpamAssassin filters.
hst26
Jan 17 2004, 07:48 PM
Ok. Here is the problem that I am seeing. I have Linux Hosting. I know this, because I had Windows at first and I had my plan changed to the Linux so that I can do the filtering.
I know how to filter e-mail so that it will discard the messages when they come in or to forward them to a different mailbox. I also notice that you can pass the message to a script file (.pl). However, what I want to do is to forward the messages into a seperate folder in the same mailbox. There is no option for this.
I hope this clarifies my question.
Vanya
Jan 18 2004, 08:19 AM
No, there is no option for this.
dholden
Feb 13 2004, 06:24 PM
SquirrelMail has a nice filtering system, that works exactly as you need, but the filter plugin is not installed in the shared version of SquirelMail at port 2095. I have a private copy of squirrelmail installed and have the filtering plugin installed, and it works great.
There are a number of nice plugins for SquirrelMail that would be great to add to the shared version of SquirrelMail...
Dean
Serge
Feb 14 2004, 02:11 PM
IMP and Squireelmail has a number of different good things to add/customize like spellchecker, filters, etc. The only problem when you add them to the shared version all changes are wasted when cpanel makes night,ly automatic updates.
So if you want custom configured webmail there is no other way than installing local copy of it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.