Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Sieve Filtering to Public Folders – Dovecot 2.0 / Pigeonhole

Reply to Post Add a New Topic
UserPost

1:55 pm
November 19, 2011


ron82

New Member

posts 1

Post edited 1:58 pm – November 19, 2011 by ron82


Greetings and Salutations,

I could use some expertise on how to properly get sieve to put mail in Public folder.
*My Public folder works. I see them, can drag mail from inbox to public folder, and other users see the folders/emails as well.
*When I setup a sieve rule, it seems to place mail in the user's Maildir directory
** Instead of going to /archive/public/.LogWatchers/
** It goes to /archive/vmail/<mydomain>/<user>/Maildir/.Netcats.LogWatchers
*I am simply testing incoming email from a gmail account to get filtered to a public folder called .LogWatchers; for future logwatch notifications abviously.
*I am using dovecot 2.0.14 with pigeonhole installed , Centos 5

Any help would be greatly appeciated. Thank you. - Ron 

Relevant Configs:

mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/

namespace {
  hidden = no
  list = children
  location = maildir:/archive/public
  prefix = Netcats/
  separator = /
  subscriptions = no
  type = public
}

plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /archive/vmail/sieve/
  sieve_global_path = /archive/vmail/sieve/default.sieve
}

protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  log_path = /var/log/sieve.log
  mail_plugins = sieve quota
}

My Global Sieve Filter:

require ["body", "fileinto", "relational", "regex",
         "comparator-i;ascii-numeric"];

if header :contains ["From"] "@gmail"
{
  fileinto "Netcats.LogWatchers";
  stop;
}

Nov 19 12:33:26 lda(user@somedomain.com): Info: sieve: msgid=<4EC7F66.0200@gmail.com>: stored mail into mailbox 'Netcats.LogWatchers' (Netcats/LogWatchers)
Reply to Post

Reply to Topic:
Sieve Filtering to Public Folders – Dovecot 2.0 / Pigeonhole

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
6 + 4
   


About the Linux Mail Server Setup and Howto Guide Forum

Forum Timezone: America/New_York

Most Users Ever Online: 60

Currently Online:
20 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 5
Topics: 343
Posts: 1062

Membership:

There are 966 Members
There have been 91 Guests

There is 1 Admin

Top Posters:

shanmugasundaram s – 46
Kendermin – 15
Ginger – 14
bighorn – 14
iron_michael86 – 12
Raminda – 11

Recent New Members: waveney, achal, niesul14, hesaum, sreevinodss, nasonov

Administrators: consultant (353 Posts)