Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I currently have message filters set up in Thunderbird to put incoming email messages from various sources in appropriate server side folders. Since I envision starting to use a smartphone (Android) based IMAP client which doesn't support folders or message filters I'd like to move these filters server side and take them off the clients.

The Linux server email system is sendmail and UW IMAP. Can someone steer me in the direction of setting up such filters on the server side?

share|improve this question
add comment

2 Answers

In the mail delivery agent section of sendmail, add a line for procmail or maildrop. Then create a recipe for procmail or setup maildrop to filter the email as it is delivered.

See the documentation for procmail or maildrop for more details.

share|improve this answer
add comment

Ditch UW imapd and install Dovecot. Together with Pigeonhole you'll have a very potent and performant IMAP server with a Sieve and ManageSieve implementation.

In contrast to procmail or maildrop on the server, your users can create their rules without shell access using one of the many Sieve extensions to their mail client.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.