Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Filtering on the Courier email system (with virtual users)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Cyberwizzard
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 244
Location: Norway

PostPosted: Mon Dec 05, 2005 5:22 pm    Post subject: Filtering on the Courier email system (with virtual users) Reply with quote

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
View user's profile Send private message
badchien
Guru
Guru


Joined: 16 Feb 2004
Posts: 415
Location: doghouse

PostPosted: Tue Dec 06, 2005 3:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum