Hi all, Dovecot - 2.2.35 Pigeonhole - 0.4.23 I've recently moved mail filtering from local filtering (using Thunderbird) to Sieve.? I've got filtering into folders and flagging emails working fine, but for possibly one tiny glitch. When specifying folders to filter into I have to use the format 'INBOX/Folder name' instead of just 'Folder name'.? Can this be corrected?? No real biggie but would be nice if it could. [root at kepler ~]# dovecot -n # 2.2.35 (b1cb664): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.23 (b2e41927) # OS: Linux 4.17.3-200.fc28.x86_64 x86_64 Fedora release 28 (Twenty Eight) xfs # Hostname: kepler.trisect.uk auth_mechanisms = cram-md5 base_dir = /var/run/dovecot/ mail_access_groups = mail mail_home = /var/spool/vhosts/homedir/%d/%n mail_location = mbox:/var/spool/vhosts/%d/%n:INBOX=/var/spool/mail/%d/%n managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext mbox_write_locks = fcntl namespace inbox { ? inbox = yes ? location ? mailbox Drafts { ??? special_use = \Drafts ? } ? mailbox Junk { ??? special_use = \Junk ? } ? mailbox Sent { ??? special_use = \Sent ? } ? mailbox "Sent Messages" { ??? special_use = \Sent ? } ? mailbox Trash { ??? special_use = \Trash ? } ? prefix } passdb { ? args = scheme=cram-md5 /etc/cram-md5.pwd ? driver = passwd-file } passdb { ? driver = pam } plugin { ? sieve file:/var/spool/vhosts/sieve-scripts;active=/var/spool/vhosts/sieve-scripts/%u.sieve ? sieve_user_email = postmaster at trisect.uk } protocols = imap lmtp sieve sieve service auth { ? unix_listener /var/spool/postfix/private/auth { ??? group = postfix ??? mode = 0660 ??? user = postfix ? } } service imap-login { ? inet_listener imap { ??? port = 0 ? } } service managesieve-login { ? inet_listener sieve { ??? port = 4190 ? } ? process_min_avail = 0 ? service_count = 0 ? vsz_limit = 256 M } service managesieve { ? process_limit = 1024 } ssl = required ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key =? # hidden, use -P to show it userdb { ? args = uid=vmail gid=vmail ? driver = static } userdb { ? driver = passwd } protocol lmtp { ? mail_plugins = " sieve" } protocol lda { ? mail_plugins = " sieve" } protocol imap { ? mail_max_userip_connections = 200 } protocol sieve { ? mail_max_userip_connections = 25 ? managesieve_implementation_string = Dovecot Pigeonhole ? managesieve_max_compile_errors = 5 ? managesieve_max_line_length = 65536 } Thanks for looking
Why do you need to use INBOX/Folder name? Unless of course you've created the folders under INBOX? Aki On 31.07.2018 13:51, Danny Horne wrote:> Hi all, > > Dovecot - 2.2.35 > Pigeonhole - 0.4.23 > > I've recently moved mail filtering from local filtering (using > Thunderbird) to Sieve.? I've got filtering into folders and flagging > emails working fine, but for possibly one tiny glitch. > > When specifying folders to filter into I have to use the format > 'INBOX/Folder name' instead of just 'Folder name'.? Can this be > corrected?? No real biggie but would be nice if it could. > > [root at kepler ~]# dovecot -n > # 2.2.35 (b1cb664): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.4.23 (b2e41927) > # OS: Linux 4.17.3-200.fc28.x86_64 x86_64 Fedora release 28 (Twenty > Eight) xfs > # Hostname: kepler.trisect.uk > auth_mechanisms = cram-md5 > base_dir = /var/run/dovecot/ > mail_access_groups = mail > mail_home = /var/spool/vhosts/homedir/%d/%n > mail_location = mbox:/var/spool/vhosts/%d/%n:INBOX=/var/spool/mail/%d/%n > managesieve_notify_capability = mailto > managesieve_sieve_capability = fileinto reject envelope > encoded-character vacation subaddress comparator-i;ascii-numeric > relational regex imap4flags copy include variables body enotify > environment mailbox date index ihave duplicate mime foreverypart extracttext > mbox_write_locks = fcntl > namespace inbox { > ? inbox = yes > ? location > ? mailbox Drafts { > ??? special_use = \Drafts > ? } > ? mailbox Junk { > ??? special_use = \Junk > ? } > ? mailbox Sent { > ??? special_use = \Sent > ? } > ? mailbox "Sent Messages" { > ??? special_use = \Sent > ? } > ? mailbox Trash { > ??? special_use = \Trash > ? } > ? prefix > } > passdb { > ? args = scheme=cram-md5 /etc/cram-md5.pwd > ? driver = passwd-file > } > passdb { > ? driver = pam > } > plugin { > ? sieve > file:/var/spool/vhosts/sieve-scripts;active=/var/spool/vhosts/sieve-scripts/%u.sieve > ? sieve_user_email = postmaster at trisect.uk > } > protocols = imap lmtp sieve sieve > service auth { > ? unix_listener /var/spool/postfix/private/auth { > ??? group = postfix > ??? mode = 0660 > ??? user = postfix > ? } > } > service imap-login { > ? inet_listener imap { > ??? port = 0 > ? } > } > service managesieve-login { > ? inet_listener sieve { > ??? port = 4190 > ? } > ? process_min_avail = 0 > ? service_count = 0 > ? vsz_limit = 256 M > } > service managesieve { > ? process_limit = 1024 > } > ssl = required > ssl_cert = </etc/pki/dovecot/certs/dovecot.pem > ssl_key =? # hidden, use -P to show it > userdb { > ? args = uid=vmail gid=vmail > ? driver = static > } > userdb { > ? driver = passwd > } > protocol lmtp { > ? mail_plugins = " sieve" > } > protocol lda { > ? mail_plugins = " sieve" > } > protocol imap { > ? mail_max_userip_connections = 200 > } > protocol sieve { > ? mail_max_userip_connections = 25 > ? managesieve_implementation_string = Dovecot Pigeonhole > ? managesieve_max_compile_errors = 5 > ? managesieve_max_line_length = 65536 > } > > Thanks for looking > >
On 31/07/18 11:59, Aki Tuomi wrote:> Why do you need to use INBOX/Folder name? Unless of course you've > created the folders under INBOX? > > Aki > > >Ok, my first question here & I've just facepalmed myself.? I feel like a ....!! The folders are nested under Inbox because that's how Thunderbird creates them by default, and I've never thought of changing it.? Just ran a test after creating a folder at the root level and it works how I wanted it to. Just got to decide now whether I want to move the rest of the folders or not. Thanks for the reply