View previous topic :: View next topic |
Author |
Message |
Cyberwizzard Apprentice

Joined: 02 Apr 2004 Posts: 244 Location: Norway
|
Posted: Mon Dec 05, 2005 5:22 pm Post subject: Filtering on the Courier email system (with virtual users) |
|
|
After following this guide from the wiki I am now running into the problem that I can't figure out to add some form of filtering.
I used to use Cyrus and that server have Siege as a filtering language allowing me to sort my incoming mail in the correct mailbox directory. Does courier have a similar system for (virtual) users? I read some stuff about .courier files but the documentation doesn't show any examples...[/url] |
|
Back to top |
|
 |
badchien Guru


Joined: 16 Feb 2004 Posts: 415 Location: doghouse
|
Posted: Tue Dec 06, 2005 3:00 am Post subject: |
|
|
Yes, you'll want to use mailfilter. If you are doing it on a per-user basis (as opposed to server-wide), add the following to the user's .courier file:
Code: | | /path-to-courier-prefix-dir/bin/maildrop |
Then you put your rules in the user's .mailfilter file.
The rules syntax is pretty well documented here: http://www.courier-mta.org/?maildropfilter.html
But just ask if you have specific questions. |
|
Back to top |
|
 |
|