Re: [qmailtoaster] using dovecot seive
btw I just enable debug and tune it a little so I added the following line in bold since it was complaining and also the default maildir both in the toaster.conf mail_location = maildir:~/Maildir plugin { quota = maildir:ignore=Trash quota_rule = ?:storage=0 *sieve_global_dir=/etc/dovecot/sieve/* On 9/3/17 9:16 PM, Remo Mattei wrote: > Super! > > On 9/3/17 8:30 PM, Rajesh M wrote: >> remo >> >> everything is working fine, thanks >> >> there was no error only some fine tuning >> >> since the mail_location was not specified dovecot was searching for various >> types of locations in a sequence >> https://wiki.dovecot.org/MailLocation >> >> once we specified the same then dovecot directly looked into the Maildir only >> >> rajesh >> >> >> - Original Message - >> From: Remo Mattei [mailto:r...@mattei.org] >> To: qmailtoaster-list@qmailtoaster.com >> Sent: Sun, 3 Sep 2017 20:26:04 -0700 >> Subject: >> >> I thought you had it working. What’s happening now ? >> >> Inviato da iPhone >> >> Il giorno 03 set 2017, alle ore 19:46, Eric Broch>> ha scritto: >> >> Rajesh, >> >> I don't touch anything in conf.d. All my settings are in >> /etc/dovecot/toaster.conf and /etc/dovecot/local.conf. Anything in these >> files overrides anything in /etc/dovecot/conf.d. >> >> I put mail_location in the local.conf file. >> >> # 2.2.29.1 (e0b76e3): /etc/dovecot/dovecot.conf >> # Pigeonhole version 0.4.18 (29cc74d) >> # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.9 (Final) >> auth_cache_size = 32 M >> auth_debug = yes >> auth_debug_passwords = yes >> auth_mechanisms = plain login >> auth_verbose = yes >> disable_plaintext_auth = no >> first_valid_uid = 89 >> listen = * >> log_path = /var/log/dovecot.log >> login_greeting = Dovecot toaster ready. >> mail_location = maildir:~/Maildir >> mail_max_userip_connections = 20 >> 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 >> namespace { >> inbox = yes >> location = >> mailbox Drafts { >> auto = subscribe >> special_use = \Drafts >> } >> mailbox Junk { >> auto = create >> special_use = \Junk >> } >> mailbox Sent { >> auto = create >> special_use = \Sent >> } >> mailbox "Sent Items" { >> auto = subscribe >> special_use = \Sent >> } >> mailbox Trash { >> auto = subscribe >> special_use = \Trash >> } >> mailbox spam { >> auto = subscribe >> special_use = \Junk >> } >> prefix = >> separator = . >> type = private >> } >> passdb { >> args = cache_key=%u%r webmail=127.0.0.1 >> driver = vpopmail >> } >> plugin { >> quota = maildir >> sieve = ~/.dovecot.sieve >> sieve_dir = ~/.sieve >> } >> protocols = imap pop3 sieve >> service imap-login { >> service_count = 0 >> } >> service managesieve-login { >> inet_listener sieve { >> port = 4190 >> } >> } >> ssl_cert = > ssl_key = # hidden, use -P to show it >> userdb { >> args = cache_key=%u quota_template=quota_rule=*:backend=%q >> driver = vpopmail >> } >> protocol imap { >> imap_client_workarounds = delay-newmail >> } >> protocol lda { >> deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: >> MsgID:<%m> :: Size<%p> :: vSize<%w> >> info_log_path = /var/log/dovecot-lda/lda.log >> log_path = /var/log/dovecot-lda/lda-err.log >> mail_debug = yes >> mail_plugins = " sieve" >> } >> Eric >> >>> On 9/3/2017 8:37 PM, Rajesh M wrote: >>> eric >>> >>> could you please let me know where you specified the mail_location >>> >>> i am using the configurations as specified by remo, excepting that i have >>> added the debugging for lda >>> >>> if you could send me your dovecot -n it would be great. >>> >>> thanks >>> rajesh >>> >>> >>> >>> - Original Message - >>> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >>> To: qmailtoaster-list@qmailtoaster.com >>> Sent: Sun, 3 Sep 2017 16:14:59 -0600 >>> Subject: >>> >>> It worked for me, and ended the sdbox and mdbox failed access errors. >>> >>> On 9/3/2017 1:40 PM, Rajesh M wrote: eric i got the dovecot lda working in production. i saw this in the log files as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then Maildir (as per lda logs below) so should i specify the mail_location ? mail_location = maildir:~/Maildir https://wiki2.dovecot.org/MailLocation/Maildir Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location= Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox:
Re: [qmailtoaster] using dovecot seive
Super! On 9/3/17 8:30 PM, Rajesh M wrote: > remo > > everything is working fine, thanks > > there was no error only some fine tuning > > since the mail_location was not specified dovecot was searching for various > types of locations in a sequence > https://wiki.dovecot.org/MailLocation > > once we specified the same then dovecot directly looked into the Maildir only > > rajesh > > > - Original Message - > From: Remo Mattei [mailto:r...@mattei.org] > To: qmailtoaster-list@qmailtoaster.com > Sent: Sun, 3 Sep 2017 20:26:04 -0700 > Subject: > > I thought you had it working. What’s happening now ? > > Inviato da iPhone > > Il giorno 03 set 2017, alle ore 19:46, Eric Broch> ha scritto: > > Rajesh, > > I don't touch anything in conf.d. All my settings are in > /etc/dovecot/toaster.conf and /etc/dovecot/local.conf. Anything in these > files overrides anything in /etc/dovecot/conf.d. > > I put mail_location in the local.conf file. > > # 2.2.29.1 (e0b76e3): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.4.18 (29cc74d) > # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.9 (Final) > auth_cache_size = 32 M > auth_debug = yes > auth_debug_passwords = yes > auth_mechanisms = plain login > auth_verbose = yes > disable_plaintext_auth = no > first_valid_uid = 89 > listen = * > log_path = /var/log/dovecot.log > login_greeting = Dovecot toaster ready. > mail_location = maildir:~/Maildir > mail_max_userip_connections = 20 > 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 > namespace { > inbox = yes > location = > mailbox Drafts { > auto = subscribe > special_use = \Drafts > } > mailbox Junk { > auto = create > special_use = \Junk > } > mailbox Sent { > auto = create > special_use = \Sent > } > mailbox "Sent Items" { > auto = subscribe > special_use = \Sent > } > mailbox Trash { > auto = subscribe > special_use = \Trash > } > mailbox spam { > auto = subscribe > special_use = \Junk > } > prefix = > separator = . > type = private > } > passdb { > args = cache_key=%u%r webmail=127.0.0.1 > driver = vpopmail > } > plugin { > quota = maildir > sieve = ~/.dovecot.sieve > sieve_dir = ~/.sieve > } > protocols = imap pop3 sieve > service imap-login { > service_count = 0 > } > service managesieve-login { > inet_listener sieve { > port = 4190 > } > } > ssl_cert = ssl_key = # hidden, use -P to show it > userdb { > args = cache_key=%u quota_template=quota_rule=*:backend=%q > driver = vpopmail > } > protocol imap { > imap_client_workarounds = delay-newmail > } > protocol lda { > deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: > MsgID:<%m> :: Size<%p> :: vSize<%w> > info_log_path = /var/log/dovecot-lda/lda.log > log_path = /var/log/dovecot-lda/lda-err.log > mail_debug = yes > mail_plugins = " sieve" > } > Eric > >> On 9/3/2017 8:37 PM, Rajesh M wrote: >> eric >> >> could you please let me know where you specified the mail_location >> >> i am using the configurations as specified by remo, excepting that i have >> added the debugging for lda >> >> if you could send me your dovecot -n it would be great. >> >> thanks >> rajesh >> >> >> >> - Original Message - >> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >> To: qmailtoaster-list@qmailtoaster.com >> Sent: Sun, 3 Sep 2017 16:14:59 -0600 >> Subject: >> >> It worked for me, and ended the sdbox and mdbox failed access errors. >> >> On 9/3/2017 1:40 PM, Rajesh M wrote: >>> eric >>> >>> i got the dovecot lda working in production. i saw this in the log files >>> >>> as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then >>> Maildir (as per lda logs below) >>> >>> so should i specify the mail_location ? >>> mail_location = maildir:~/Maildir >>> >>> https://wiki2.dovecot.org/MailLocation/Maildir >>> >>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash >>> bytes=0 (10%) >>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, >>> prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location= >>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: >>> access(/home/vpopmail/domains/xxx.com/noc/mdbox, rwx): failed: No such file >>> or directory >>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: couldn't find root dir >>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: >>> access(/home/vpopmail/domains/xxx.com/noc/sdbox, rwx): failed: No such file >>> or directory >>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: couldn't find root dir >>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir: root exists >>> (/home/vpopmail/domains/xxx.com/noc/Maildir)
Re: [qmailtoaster] using dovecot seive
remo everything is working fine, thanks there was no error only some fine tuning since the mail_location was not specified dovecot was searching for various types of locations in a sequence https://wiki.dovecot.org/MailLocation once we specified the same then dovecot directly looked into the Maildir only rajesh - Original Message - From: Remo Mattei [mailto:r...@mattei.org] To: qmailtoaster-list@qmailtoaster.com Sent: Sun, 3 Sep 2017 20:26:04 -0700 Subject: I thought you had it working. What’s happening now ? Inviato da iPhone Il giorno 03 set 2017, alle ore 19:46, Eric Brochha scritto: Rajesh, I don't touch anything in conf.d. All my settings are in /etc/dovecot/toaster.conf and /etc/dovecot/local.conf. Anything in these files overrides anything in /etc/dovecot/conf.d. I put mail_location in the local.conf file. # 2.2.29.1 (e0b76e3): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.18 (29cc74d) # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.9 (Final) auth_cache_size = 32 M auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes disable_plaintext_auth = no first_valid_uid = 89 listen = * log_path = /var/log/dovecot.log login_greeting = Dovecot toaster ready. mail_location = maildir:~/Maildir mail_max_userip_connections = 20 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 namespace { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = create special_use = \Junk } mailbox Sent { auto = create special_use = \Sent } mailbox "Sent Items" { auto = subscribe special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } mailbox spam { auto = subscribe special_use = \Junk } prefix = separator = . type = private } passdb { args = cache_key=%u%r webmail=127.0.0.1 driver = vpopmail } plugin { quota = maildir sieve = ~/.dovecot.sieve sieve_dir = ~/.sieve } protocols = imap pop3 sieve service imap-login { service_count = 0 } service managesieve-login { inet_listener sieve { port = 4190 } } ssl_cert = -<%e> :: Subject:<%s> :: Status:<%$> :: MsgID:<%m> :: Size<%p> :: vSize<%w> info_log_path = /var/log/dovecot-lda/lda.log log_path = /var/log/dovecot-lda/lda-err.log mail_debug = yes mail_plugins = " sieve" } Eric > On 9/3/2017 8:37 PM, Rajesh M wrote: > eric > > could you please let me know where you specified the mail_location > > i am using the configurations as specified by remo, excepting that i have > added the debugging for lda > > if you could send me your dovecot -n it would be great. > > thanks > rajesh > > > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: qmailtoaster-list@qmailtoaster.com > Sent: Sun, 3 Sep 2017 16:14:59 -0600 > Subject: > > It worked for me, and ended the sdbox and mdbox failed access errors. > > On 9/3/2017 1:40 PM, Rajesh M wrote: >> eric >> >> i got the dovecot lda working in production. i saw this in the log files >> >> as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then >> Maildir (as per lda logs below) >> >> so should i specify the mail_location ? >> mail_location = maildir:~/Maildir >> >> https://wiki2.dovecot.org/MailLocation/Maildir >> >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash >> bytes=0 (10%) >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, prefix=, >> sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location= >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: >> access(/home/vpopmail/domains/xxx.com/noc/mdbox, rwx): failed: No such file >> or directory >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: couldn't find root dir >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: >> access(/home/vpopmail/domains/xxx.com/noc/sdbox, rwx): failed: No such file >> or directory >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: couldn't find root dir >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir: root exists >> (/home/vpopmail/domains/xxx.com/noc/Maildir) >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir++: >> root=/home/vpopmail/domains/xxx.com/noc/Maildir, index=, indexpvt=, >> control=, inbox=/home/v$ >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota root: name=ignore=Trash >> backend=maildir args= >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota rule: root=ignore=Trash >> mailbox=? bytes=0 messages=0 >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash >> bytes=0 (10%) >> >> rajesh >> >> - Original Message - >> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >> To:
Re: [qmailtoaster] using dovecot seive
Rajesh, I don't touch anything in conf.d. All my settings are in /etc/dovecot/toaster.conf and /etc/dovecot/local.conf. Anything in these files overrides anything in /etc/dovecot/conf.d. I put mail_location in the local.conf file. # 2.2.29.1 (e0b76e3): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.18 (29cc74d) # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.9 (Final) auth_cache_size = 32 M auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes disable_plaintext_auth = no first_valid_uid = 89 listen = * log_path = /var/log/dovecot.log login_greeting = Dovecot toaster ready. mail_location = maildir:~/Maildir mail_max_userip_connections = 20 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 namespace { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = create special_use = \Junk } mailbox Sent { auto = create special_use = \Sent } mailbox "Sent Items" { auto = subscribe special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } mailbox spam { auto = subscribe special_use = \Junk } prefix = separator = . type = private } passdb { args = cache_key=%u%r webmail=127.0.0.1 driver = vpopmail } plugin { quota = maildir sieve = ~/.dovecot.sieve sieve_dir = ~/.sieve } protocols = imap pop3 sieve service imap-login { service_count = 0 } service managesieve-login { inet_listener sieve { port = 4190 } } ssl_cert = deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: MsgID:<%m> :: Size<%p> :: vSize<%w> info_log_path = /var/log/dovecot-lda/lda.log log_path = /var/log/dovecot-lda/lda-err.log mail_debug = yes mail_plugins = " sieve" } Eric On 9/3/2017 8:37 PM, Rajesh M wrote: eric could you please let me know where you specified the mail_location i am using the configurations as specified by remo, excepting that i have added the debugging for lda if you could send me your dovecot -n it would be great. thanks rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Sun, 3 Sep 2017 16:14:59 -0600 Subject: It worked for me, and ended the sdbox and mdbox failed access errors. On 9/3/2017 1:40 PM, Rajesh M wrote: eric i got the dovecot lda working in production. i saw this in the log files as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then Maildir (as per lda logs below) so should i specify the mail_location ? mail_location = maildir:~/Maildir https://wiki2.dovecot.org/MailLocation/Maildir Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location= Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: access(/home/vpopmail/domains/xxx.com/noc/mdbox, rwx): failed: No such file or directory Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: couldn't find root dir Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: access(/home/vpopmail/domains/xxx.com/noc/sdbox, rwx): failed: No such file or directory Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: couldn't find root dir Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir: root exists (/home/vpopmail/domains/xxx.com/noc/Maildir) Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir++: root=/home/vpopmail/domains/xxx.com/noc/Maildir, index=, indexpvt=, control=, inbox=/home/v$ Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota root: name=ignore=Trash backend=maildir args= Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota rule: root=ignore=Trash mailbox=? bytes=0 messages=0 Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 19:35:30 -0600 Subject: Hi Rajesh, I'm not sure if you've gotten this working yet. I tried some experimentation and I got this working on my host albeit that roundcube created my files and directories under the user. Notice especially the 'tmp' directory under ~/.sieve, you may need it...not sure. Anyway here's everything I did. # ls -la /home/vpopmail/domains/mydomain.com/user/ total 24 drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 . drwx-- 5 vpopmail vchkpw 4096 Aug 31 19:06 .. -rw--- 1 vpopmail vchkpw 300 Aug 31 19:11 .dovecot.lda-dupes lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> .sieve/roundcube.sieve -rw--- 1 vpopmail vchkpw 278 Aug
Re: [qmailtoaster] using dovecot seive
eric could you please let me know where you specified the mail_location i am using the configurations as specified by remo, excepting that i have added the debugging for lda if you could send me your dovecot -n it would be great. thanks rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Sun, 3 Sep 2017 16:14:59 -0600 Subject: It worked for me, and ended the sdbox and mdbox failed access errors. On 9/3/2017 1:40 PM, Rajesh M wrote: > eric > > i got the dovecot lda working in production. i saw this in the log files > > as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then > Maildir (as per lda logs below) > > so should i specify the mail_location ? > mail_location = maildir:~/Maildir > > https://wiki2.dovecot.org/MailLocation/Maildir > > Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash > bytes=0 (10%) > Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, prefix=, > sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location= > Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: > access(/home/vpopmail/domains/xxx.com/noc/mdbox, rwx): failed: No such file > or directory > Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: couldn't find root dir > Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: > access(/home/vpopmail/domains/xxx.com/noc/sdbox, rwx): failed: No such file > or directory > Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: couldn't find root dir > Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir: root exists > (/home/vpopmail/domains/xxx.com/noc/Maildir) > Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir++: > root=/home/vpopmail/domains/xxx.com/noc/Maildir, index=, indexpvt=, control=, > inbox=/home/v$ > Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota root: name=ignore=Trash > backend=maildir args= > Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota rule: root=ignore=Trash > mailbox=? bytes=0 messages=0 > Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash > bytes=0 (10%) > > rajesh > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 19:35:30 -0600 > Subject: > > Hi Rajesh, > > I'm not sure if you've gotten this working yet. I tried some > experimentation and I got this working on my host albeit that roundcube > created my files and directories under the user. > > Notice especially the 'tmp' directory under ~/.sieve, you may need > it...not sure. Anyway here's everything I did. > > # ls -la /home/vpopmail/domains/mydomain.com/user/ > total 24 > drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 . > drwx-- 5 vpopmail vchkpw 4096 Aug 31 19:06 .. > -rw--- 1 vpopmail vchkpw 300 Aug 31 19:11 .dovecot.lda-dupes > lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> > .sieve/roundcube.sieve > -rw--- 1 vpopmail vchkpw 278 Aug 31 19:09 .dovecot.svbin > drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir > drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve > > -- > > # ls -la /home/vpopmail/domains/mydomain.com/user/.sieve > total 16 > drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 . > drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 .. > -rw--- 1 vpopmail vchkpw 120 Aug 31 19:08 roundcube.sieve > drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp > > -- > > # cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve > # rule:[ToUserOtherDomain] > if header :contains "from" "u...@mydomain2.com" > { >        redirect "u...@myotherdomain.com"; > } > > -- > > It all came out in the log file /var/log/dovecot-lda/lda.log correctly > > -- > > Dovecot settings: /etc/dovecot/local.conf : > > protocol lda { >  mail_debug=yes >  mail_plugins = $mail_plugins sieve >  deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: > MsgID:<%m> :: Size<%p> :: vSize<%w> >  log_path = /var/log/dovecot-lda/lda-err.log >  info_log_path = /var/log/dovecot-lda/lda.log >  #postmaster_address = postmaster@ > } > plugin { >      sieve = ~/.dovecot.sieve >      sieve_dir = ~/.sieve > } > > -- > > Dovecot settings: /etc/dovecot/toaster.conf > > protocols = imap pop3 sieve > > service managesieve-login { >   inet_listener sieve { >   port = 4190 >   } > } > > -- > > # ls -ld /var/log/dov*lda* > drwxrwx--- 2 vpopmail vchkpw 4096 Nov 10 2016
Re: [qmailtoaster] using dovecot seive
http://q7.italy1.com/email/sieve.tar.gz On 9/3/2017 4:33 PM, Remo Mattei wrote: here is the sieve.tar.gz https://q7.itay1.com/emai/sieve.tar.gz tar zxvf sieve.tar.gz then you can do a diff -y and compare what's in the /etc/dovecot/conf.d Remo On 9/3/17 3:14 PM, Eric Broch wrote: It worked for me, and ended the sdbox and mdbox failed access errors. On 9/3/2017 1:40 PM, Rajesh M wrote: eric i got the dovecot lda working in production. i saw this in the log files as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then Maildir (as per lda logs below) so should i specify the mail_location ? mail_location = maildir:~/Maildir https://wiki2.dovecot.org/MailLocation/Maildir Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location= Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: access(/home/vpopmail/domains/xxx.com/noc/mdbox, rwx): failed: No such file or directory Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: couldn't find root dir Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: access(/home/vpopmail/domains/xxx.com/noc/sdbox, rwx): failed: No such file or directory Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: couldn't find root dir Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir: root exists (/home/vpopmail/domains/xxx.com/noc/Maildir) Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir++: root=/home/vpopmail/domains/xxx.com/noc/Maildir, index=, indexpvt=, control=, inbox=/home/v$ Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota root: name=ignore=Trash backend=maildir args= Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota rule: root=ignore=Trash mailbox=? bytes=0 messages=0 Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To:qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 19:35:30 -0600 Subject: Hi Rajesh, I'm not sure if you've gotten this working yet. I tried some experimentation and I got this working on my host albeit that roundcube created my files and directories under the user. Notice especially the 'tmp' directory under ~/.sieve, you may need it...not sure. Anyway here's everything I did. # ls -la /home/vpopmail/domains/mydomain.com/user/ total 24 drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 . drwx-- 5 vpopmail vchkpw 4096 Aug 31 19:06 .. -rw--- 1 vpopmail vchkpw 300 Aug 31 19:11 .dovecot.lda-dupes lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> .sieve/roundcube.sieve -rw--- 1 vpopmail vchkpw 278 Aug 31 19:09 .dovecot.svbin drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve -- # ls -la /home/vpopmail/domains/mydomain.com/user/.sieve total 16 drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 .. -rw--- 1 vpopmail vchkpw 120 Aug 31 19:08 roundcube.sieve drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp -- # cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve # rule:[ToUserOtherDomain] if header :contains "from""u...@mydomain2.com" {        redirect"u...@myotherdomain.com"; } -- It all came out in the log file /var/log/dovecot-lda/lda.log correctly -- Dovecot settings: /etc/dovecot/local.conf : protocol lda {  mail_debug=yes  mail_plugins = $mail_plugins sieve  deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: MsgID:<%m> :: Size<%p> :: vSize<%w>  log_path = /var/log/dovecot-lda/lda-err.log  info_log_path = /var/log/dovecot-lda/lda.log  #postmaster_address = postmaster@ } plugin {      sieve = ~/.dovecot.sieve      sieve_dir = ~/.sieve } -- Dovecot settings: /etc/dovecot/toaster.conf protocols = imap pop3 sieve service managesieve-login {   inet_listener sieve {   port = 4190   } } -- # ls -ld /var/log/dov*lda* drwxrwx--- 2 vpopmail vchkpw 4096 Nov 10 2016 /var/log/dovecot-lda -- # ls -l /var/log/dov*lda* total 136 -rw--- 1 vpopmail vchkpw   418 Nov 12 2016 lda-err.log -rw--- 1 vpopmail vchkpw 129882 Aug 31 19:12 lda.log -- # cat
Re: [qmailtoaster] using dovecot seive
here is the sieve.tar.gz https://q7.itay1.com/emai/sieve.tar.gz tar zxvf sieve.tar.gz then you can do a diff -y and compare what's in the /etc/dovecot/conf.d Remo On 9/3/17 3:14 PM, Eric Broch wrote: > > It worked for me, and ended the sdbox and mdbox failed access errors. > > On 9/3/2017 1:40 PM, Rajesh M wrote: >> eric >> >> i got the dovecot lda working in production. i saw this in the log files >> >> as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then >> Maildir (as per lda logs below) >> >> so should i specify the mail_location ? >> mail_location = maildir:~/Maildir >> >> https://wiki2.dovecot.org/MailLocation/Maildir >> >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash >> bytes=0 (10%) >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, prefix=, >> sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location= >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: >> access(/home/vpopmail/domains/xxx.com/noc/mdbox, rwx): failed: No such file >> or directory >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: couldn't find root dir >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: >> access(/home/vpopmail/domains/xxx.com/noc/sdbox, rwx): failed: No such file >> or directory >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: couldn't find root dir >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir: root exists >> (/home/vpopmail/domains/xxx.com/noc/Maildir) >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir++: >> root=/home/vpopmail/domains/xxx.com/noc/Maildir, index=, indexpvt=, >> control=, inbox=/home/v$ >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota root: name=ignore=Trash >> backend=maildir args= >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota rule: root=ignore=Trash >> mailbox=? bytes=0 messages=0 >> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash >> bytes=0 (10%) >> >> rajesh >> >> - Original Message - >> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >> To: qmailtoaster-list@qmailtoaster.com >> Sent: Thu, 31 Aug 2017 19:35:30 -0600 >> Subject: >> >> Hi Rajesh, >> >> I'm not sure if you've gotten this working yet. I tried some >> experimentation and I got this working on my host albeit that roundcube >> created my files and directories under the user. >> >> Notice especially the 'tmp' directory under ~/.sieve, you may need >> it...not sure. Anyway here's everything I did. >> >> # ls -la /home/vpopmail/domains/mydomain.com/user/ >> total 24 >> drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 . >> drwx-- 5 vpopmail vchkpw 4096 Aug 31 19:06 .. >> -rw--- 1 vpopmail vchkpw 300 Aug 31 19:11 .dovecot.lda-dupes >> lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> >> .sieve/roundcube.sieve >> -rw--- 1 vpopmail vchkpw 278 Aug 31 19:09 .dovecot.svbin >> drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir >> drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve >> >> -- >> >> # ls -la /home/vpopmail/domains/mydomain.com/user/.sieve >> total 16 >> drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 . >> drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 .. >> -rw--- 1 vpopmail vchkpw 120 Aug 31 19:08 roundcube.sieve >> drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp >> >> -- >> >> # cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve >> # rule:[ToUserOtherDomain] >> if header :contains "from" "u...@mydomain2.com" >> { >>        redirect "u...@myotherdomain.com"; >> } >> >> -- >> >> It all came out in the log file /var/log/dovecot-lda/lda.log correctly >> >> -- >> >> Dovecot settings: /etc/dovecot/local.conf : >> >> protocol lda { >>  mail_debug=yes >>  mail_plugins = $mail_plugins sieve >>  deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: >> MsgID:<%m> :: Size<%p> :: vSize<%w> >>  log_path = /var/log/dovecot-lda/lda-err.log >>  info_log_path = /var/log/dovecot-lda/lda.log >>  #postmaster_address = postmaster@ >> } >> plugin { >>      sieve = ~/.dovecot.sieve >>      sieve_dir = ~/.sieve >> } >> >> -- >> >> Dovecot settings: /etc/dovecot/toaster.conf >> >> protocols = imap pop3 sieve >> >> service managesieve-login { >>   inet_listener sieve { >>   port = 4190 >>   } >> } >> >> -- >> >> # ls -ld /var/log/dov*lda* >> drwxrwx--- 2 vpopmail vchkpw 4096 Nov 10 2016 /var/log/dovecot-lda >> >>
Re: [qmailtoaster] using dovecot seive
It worked for me, and ended the sdbox and mdbox failed access errors. On 9/3/2017 1:40 PM, Rajesh M wrote: eric i got the dovecot lda working in production. i saw this in the log files as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then Maildir (as per lda logs below) so should i specify the mail_location ? mail_location = maildir:~/Maildir https://wiki2.dovecot.org/MailLocation/Maildir Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location= Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: access(/home/vpopmail/domains/xxx.com/noc/mdbox, rwx): failed: No such file or directory Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: couldn't find root dir Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: access(/home/vpopmail/domains/xxx.com/noc/sdbox, rwx): failed: No such file or directory Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: couldn't find root dir Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir: root exists (/home/vpopmail/domains/xxx.com/noc/Maildir) Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir++: root=/home/vpopmail/domains/xxx.com/noc/Maildir, index=, indexpvt=, control=, inbox=/home/v$ Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota root: name=ignore=Trash backend=maildir args= Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota rule: root=ignore=Trash mailbox=? bytes=0 messages=0 Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 19:35:30 -0600 Subject: Hi Rajesh, I'm not sure if you've gotten this working yet. I tried some experimentation and I got this working on my host albeit that roundcube created my files and directories under the user. Notice especially the 'tmp' directory under ~/.sieve, you may need it...not sure. Anyway here's everything I did. # ls -la /home/vpopmail/domains/mydomain.com/user/ total 24 drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 . drwx-- 5 vpopmail vchkpw 4096 Aug 31 19:06 .. -rw--- 1 vpopmail vchkpw 300 Aug 31 19:11 .dovecot.lda-dupes lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> .sieve/roundcube.sieve -rw--- 1 vpopmail vchkpw 278 Aug 31 19:09 .dovecot.svbin drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve -- # ls -la /home/vpopmail/domains/mydomain.com/user/.sieve total 16 drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 .. -rw--- 1 vpopmail vchkpw 120 Aug 31 19:08 roundcube.sieve drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp -- # cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve # rule:[ToUserOtherDomain] if header :contains "from" "u...@mydomain2.com" {        redirect "u...@myotherdomain.com"; } -- It all came out in the log file /var/log/dovecot-lda/lda.log correctly -- Dovecot settings: /etc/dovecot/local.conf : protocol lda {  mail_debug=yes  mail_plugins = $mail_plugins sieve  deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: MsgID:<%m> :: Size<%p> :: vSize<%w>  log_path = /var/log/dovecot-lda/lda-err.log  info_log_path = /var/log/dovecot-lda/lda.log  #postmaster_address = postmaster@ } plugin {      sieve = ~/.dovecot.sieve      sieve_dir = ~/.sieve } -- Dovecot settings: /etc/dovecot/toaster.conf protocols = imap pop3 sieve service managesieve-login {   inet_listener sieve {   port = 4190   } } -- # ls -ld /var/log/dov*lda* drwxrwx--- 2 vpopmail vchkpw 4096 Nov 10 2016 /var/log/dovecot-lda -- # ls -l /var/log/dov*lda* total 136 -rw--- 1 vpopmail vchkpw   418 Nov 12 2016 lda-err.log -rw--- 1 vpopmail vchkpw 129882 Aug 31 19:12 lda.log -- # cat /home/vpopmail/domains/mydomain.com/.qmail-default |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o postmaster_address=postmas...@mydomain.com -- Hope this helps! Eric On 8/31/2017
Re: [qmailtoaster] using dovecot seive
Did you check my config file I remember I set that. I will resend the config as soon as I am at the computer Remo Il giorno 03 set 2017, alle ore 12:40, Rajesh M <24x7ser...@24x7server.net> ha scritto: eric i got the dovecot lda working in production. i saw this in the log files as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then Maildir (as per lda logs below) so should i specify the mail_location ? mail_location = maildir:~/Maildir https://wiki2.dovecot.org/MailLocation/Maildir Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location= Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: access(/home/vpopmail/domains/xxx.com/noc/mdbox, rwx): failed: No such file or directory Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: couldn't find root dir Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: access(/home/vpopmail/domains/xxx.com/noc/sdbox, rwx): failed: No such file or directory Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: couldn't find root dir Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir: root exists (/home/vpopmail/domains/xxx.com/noc/Maildir) Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir++: root=/home/vpopmail/domains/xxx.com/noc/Maildir, index=, indexpvt=, control=, inbox=/home/v$ Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota root: name=ignore=Trash backend=maildir args= Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota rule: root=ignore=Trash mailbox=? bytes=0 messages=0 Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 19:35:30 -0600 Subject: Hi Rajesh, I'm not sure if you've gotten this working yet. I tried some experimentation and I got this working on my host albeit that roundcube created my files and directories under the user. Notice especially the 'tmp' directory under ~/.sieve, you may need it...not sure. Anyway here's everything I did. # ls -la /home/vpopmail/domains/mydomain.com/user/ total 24 drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 . drwx-- 5 vpopmail vchkpw 4096 Aug 31 19:06 .. -rw--- 1 vpopmail vchkpw 300 Aug 31 19:11 .dovecot.lda-dupes lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> .sieve/roundcube.sieve -rw--- 1 vpopmail vchkpw 278 Aug 31 19:09 .dovecot.svbin drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve -- # ls -la /home/vpopmail/domains/mydomain.com/user/.sieve total 16 drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 .. -rw--- 1 vpopmail vchkpw 120 Aug 31 19:08 roundcube.sieve drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp -- # cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve # rule:[ToUserOtherDomain] if header :contains "from" "u...@mydomain2.com" {        redirect "u...@myotherdomain.com"; } -- It all came out in the log file /var/log/dovecot-lda/lda.log correctly -- Dovecot settings: /etc/dovecot/local.conf : protocol lda {  mail_debug=yes  mail_plugins = $mail_plugins sieve  deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: MsgID:<%m> :: Size<%p> :: vSize<%w>  log_path = /var/log/dovecot-lda/lda-err.log  info_log_path = /var/log/dovecot-lda/lda.log  #postmaster_address = postmaster@ } plugin {      sieve = ~/.dovecot.sieve      sieve_dir = ~/.sieve } -- Dovecot settings: /etc/dovecot/toaster.conf protocols = imap pop3 sieve service managesieve-login {   inet_listener sieve {   port = 4190   } } -- # ls -ld /var/log/dov*lda* drwxrwx--- 2 vpopmail vchkpw 4096 Nov 10 2016 /var/log/dovecot-lda -- # ls -l /var/log/dov*lda* total 136 -rw--- 1 vpopmail vchkpw   418 Nov 12 2016 lda-err.log -rw--- 1 vpopmail vchkpw 129882 Aug 31 19:12 lda.log -- # cat /home/vpopmail/domains/mydomain.com/.qmail-default |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o postmaster_address=postmas...@mydomain.com
Re: [qmailtoaster] using dovecot seive
eric, i followed the instructions you gave below and it worked perfectly. the syntax error was in my dovecot.sieve file once i used your setting the logs gave me the error, which i could fix and get it working. dovecot created the following [root@ns1 rajesh]# ls -la total 24 drwx-- 4 vpopmail vchkpw 4096 Sep 1 21:01 . drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. -rw--- 1 vpopmail vchkpw 265 Sep 1 21:01 .dovecot.lda-dupes --- created by dovecot lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> .sieve/dovecot.sieve drwx-- 8 vpopmail vchkpw 4096 Sep 1 20:55 Maildir -rw--- 1 vpopmail vchkpw 74 Aug 31 23:21 .qmail drwx-- 2 vpopmail vchkpw 4096 Sep 1 21:01 .sieve [root@ns1 .sieve]# ls -la total 20 drwx-- 2 vpopmail vchkpw 4096 Sep 1 21:01 . drwx-- 4 vpopmail vchkpw 4096 Sep 1 21:01 .. -rw--- 1 vpopmail vchkpw 261 Sep 1 21:00 dovecot.sieve -rw--- 1 vpopmail vchkpw 203 Sep 1 20:55 dovecot.sieve.log --- created by dovecot -rw--- 1 vpopmail vchkpw 273 Sep 1 21:01 dovecot.svbin --- created by dovecot -- compiled version of dovecot.sieve btw it gave me a message as such in the /var/log/dovecot-lda/dovecot-lda.log nothing in the /var/log/dovecot-lda/dovecot-lda-errors.log Sep 01 20:55:29 lda(raj...@aaaonlinux.com): Info: sieve: Failed to compile script `/home/vpopmail/domains/x.com/rajesh/.sieve/dovecot.sieve' (view user logfile `/home/vpopmail/domains/x.com/rajesh/.sieve/dovecot.sieve.log' for more information) i have placed all the configurations in dovecot.conf file (am not using any of the files in conf.d) arranged sequentially as per the conf.d numbering regds rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 19:35:30 -0600 Subject: Hi Rajesh, I'm not sure if you've gotten this working yet. I tried some experimentation and I got this working on my host albeit that roundcube created my files and directories under the user. Notice especially the 'tmp' directory under ~/.sieve, you may need it...not sure. Anyway here's everything I did. # ls -la /home/vpopmail/domains/mydomain.com/user/ total 24 drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 . drwx-- 5 vpopmail vchkpw 4096 Aug 31 19:06 .. -rw--- 1 vpopmail vchkpw 300 Aug 31 19:11 .dovecot.lda-dupes lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> .sieve/roundcube.sieve -rw--- 1 vpopmail vchkpw 278 Aug 31 19:09 .dovecot.svbin drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve -- # ls -la /home/vpopmail/domains/mydomain.com/user/.sieve total 16 drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 .. -rw--- 1 vpopmail vchkpw 120 Aug 31 19:08 roundcube.sieve drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp -- # cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve # rule:[ToUserOtherDomain] if header :contains "from" "u...@mydomain2.com" {        redirect "u...@myotherdomain.com"; } -- It all came out in the log file /var/log/dovecot-lda/lda.log correctly -- Dovecot settings: /etc/dovecot/local.conf : protocol lda {  mail_debug=yes  mail_plugins = $mail_plugins sieve  deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: MsgID:<%m> :: Size<%p> :: vSize<%w>  log_path = /var/log/dovecot-lda/lda-err.log  info_log_path = /var/log/dovecot-lda/lda.log  #postmaster_address = postmaster@ } plugin {      sieve = ~/.dovecot.sieve      sieve_dir = ~/.sieve } -- Dovecot settings: /etc/dovecot/toaster.conf protocols = imap pop3 sieve service managesieve-login {   inet_listener sieve {   port = 4190   } } -- # ls -ld /var/log/dov*lda* drwxrwx--- 2 vpopmail vchkpw 4096 Nov 10 2016 /var/log/dovecot-lda -- # ls -l /var/log/dov*lda* total 136 -rw--- 1 vpopmail vchkpw   418 Nov 12 2016 lda-err.log -rw--- 1 vpopmail vchkpw 129882 Aug 31 19:12 lda.log -- # cat /home/vpopmail/domains/mydomain.com/.qmail-default |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o postmaster_address=postmas...@mydomain.com
Re: [qmailtoaster] using dovecot seive
eric / remo will be working on remo's config over the weekend and will definitely revert with the step by step process rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 19:35:30 -0600 Subject: Hi Rajesh, I'm not sure if you've gotten this working yet. I tried some experimentation and I got this working on my host albeit that roundcube created my files and directories under the user. Notice especially the 'tmp' directory under ~/.sieve, you may need it...not sure. Anyway here's everything I did. # ls -la /home/vpopmail/domains/mydomain.com/user/ total 24 drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 . drwx-- 5 vpopmail vchkpw 4096 Aug 31 19:06 .. -rw--- 1 vpopmail vchkpw 300 Aug 31 19:11 .dovecot.lda-dupes lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> .sieve/roundcube.sieve -rw--- 1 vpopmail vchkpw 278 Aug 31 19:09 .dovecot.svbin drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve -- # ls -la /home/vpopmail/domains/mydomain.com/user/.sieve total 16 drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 .. -rw--- 1 vpopmail vchkpw 120 Aug 31 19:08 roundcube.sieve drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp -- # cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve # rule:[ToUserOtherDomain] if header :contains "from" "u...@mydomain2.com" {        redirect "u...@myotherdomain.com"; } -- It all came out in the log file /var/log/dovecot-lda/lda.log correctly -- Dovecot settings: /etc/dovecot/local.conf : protocol lda {  mail_debug=yes  mail_plugins = $mail_plugins sieve  deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: MsgID:<%m> :: Size<%p> :: vSize<%w>  log_path = /var/log/dovecot-lda/lda-err.log  info_log_path = /var/log/dovecot-lda/lda.log  #postmaster_address = postmaster@ } plugin {      sieve = ~/.dovecot.sieve      sieve_dir = ~/.sieve } -- Dovecot settings: /etc/dovecot/toaster.conf protocols = imap pop3 sieve service managesieve-login {   inet_listener sieve {   port = 4190   } } -- # ls -ld /var/log/dov*lda* drwxrwx--- 2 vpopmail vchkpw 4096 Nov 10 2016 /var/log/dovecot-lda -- # ls -l /var/log/dov*lda* total 136 -rw--- 1 vpopmail vchkpw   418 Nov 12 2016 lda-err.log -rw--- 1 vpopmail vchkpw 129882 Aug 31 19:12 lda.log -- # cat /home/vpopmail/domains/mydomain.com/.qmail-default |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o postmaster_address=postmas...@mydomain.com -- Hope this helps! Eric On 8/31/2017 12:12 PM, Rajesh M wrote: > eric / remo > > do we need to make any changes to the files inside conf.d ? > > rajesh > > - Original Message - > From: Rajesh M [mailto:24x7ser...@24x7server.net] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 23:33:59 +0530 > Subject: > > nothing at all in /var/log/dovecot-lda/dovecot-lda.log > > looks like i am missing something crucial. > > rajesh > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 11:55:28 -0600 > Subject: > > Nothing/Anything in /var/log/dovecot-lda/dovecot-lda-errors.log ??? > > > On 8/31/2017 11:50 AM, Rajesh M wrote: >> this is what i have done >> >> 2a) Add the following lines to /etc/dovecot/local.conf: >> protocol lda { >> log_path = /var/log/dovecot-lda/dovecot-lda-errors.log >> info_log_path = /var/log/dovecot-lda/dovecot-lda.log >> } >> Create and change the permissions on the directory /var/log/dovecot-lda >> # mkdir /var/log/dovecot-lda >> # chmod 770 /var/log/dovecot-lda >> # chown vpopmail.vchkpw /var/log/dovecot-lda >> Add /etc/logrotate.d/dovecot-lda and settings appropriate >> >> i am sending email from host...@.com to raj...@.com and a there is a >> sieve rule to forward the email to ad...@.com >> email is being correctly delivered to raj...@.com but not being >> forwarded to ad...@.com >> >> [root@ns1 rajesh]# tail -f
Re: [qmailtoaster] using dovecot seive
I send him my config wonder :) Ciao Inviato da iPhone > Il giorno 31 ago 2017, alle ore 18:35, Eric Broch> ha scritto: > > Hi Rajesh, > > I'm not sure if you've gotten this working yet. I tried some experimentation > and I got this working on my host albeit that roundcube created my files and > directories under the user. > > Notice especially the 'tmp' directory under ~/.sieve, you may need it...not > sure. Anyway here's everything I did. > # ls -la /home/vpopmail/domains/mydomain.com/user/ > total 24 > drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 . > drwx-- 5 vpopmail vchkpw 4096 Aug 31 19:06 .. > -rw--- 1 vpopmail vchkpw 300 Aug 31 19:11 .dovecot.lda-dupes > lrwxrwxrwx 1 vpopmail vchkpw 22 Aug 31 07:16 .dovecot.sieve -> > .sieve/roundcube.sieve > -rw--- 1 vpopmail vchkpw 278 Aug 31 19:09 .dovecot.svbin > drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir > drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve > > -- > # ls -la /home/vpopmail/domains/mydomain.com/user/.sieve > total 16 > drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 . > drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 .. > -rw--- 1 vpopmail vchkpw 120 Aug 31 19:08 roundcube.sieve > drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp > > -- > > # cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve > # rule:[ToUserOtherDomain] > if header :contains "from" "u...@mydomain2.com" > { > redirect "u...@myotherdomain.com"; > } > > -- > > It all came out in the log file /var/log/dovecot-lda/lda.log correctly > -- > > Dovecot settings: /etc/dovecot/local.conf : > > protocol lda { > mail_debug=yes > mail_plugins = $mail_plugins sieve > deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: > MsgID:<%m> :: Size<%p> :: vSize<%w> > log_path = /var/log/dovecot-lda/lda-err.log > info_log_path = /var/log/dovecot-lda/lda.log > #postmaster_address = postmaster@ > } > plugin { > sieve = ~/.dovecot.sieve > sieve_dir = ~/.sieve > } > > -- > > Dovecot settings: /etc/dovecot/toaster.conf > > protocols = imap pop3 sieve > service managesieve-login { >inet_listener sieve { >port = 4190 >} > } > -- > > # ls -ld /var/log/dov*lda* > drwxrwx--- 2 vpopmail vchkpw 4096 Nov 10 2016 /var/log/dovecot-lda > > -- > > # ls -l /var/log/dov*lda* > total 136 > -rw--- 1 vpopmail vchkpw418 Nov 12 2016 lda-err.log > -rw--- 1 vpopmail vchkpw 129882 Aug 31 19:12 lda.log > > -- > > # cat /home/vpopmail/domains/mydomain.com/.qmail-default > |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o > postmaster_address=postmas...@mydomain.com > > -- > > Hope this helps! > > Eric > > >> On 8/31/2017 12:12 PM, Rajesh M wrote: >> eric / remo >> >> do we need to make any changes to the files inside conf.d ? >> >> rajesh >> >> - Original Message - >> From: Rajesh M [mailto:24x7ser...@24x7server.net] >> To: qmailtoaster-list@qmailtoaster.com >> Sent: Thu, 31 Aug 2017 23:33:59 +0530 >> Subject: >> >> nothing at all in /var/log/dovecot-lda/dovecot-lda.log >> >> looks like i am missing something crucial. >> >> rajesh >> >> - Original Message - >> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >> To: qmailtoaster-list@qmailtoaster.com >> Sent: Thu, 31 Aug 2017 11:55:28 -0600 >> Subject: >> >> Nothing/Anything in /var/log/dovecot-lda/dovecot-lda-errors.log ??? >> >> >> On 8/31/2017 11:50 AM, Rajesh M wrote: >>> this is what i have done >>> >>> 2a) Add the following lines to /etc/dovecot/local.conf: >>> protocol lda { >>>log_path = /var/log/dovecot-lda/dovecot-lda-errors.log >>>info_log_path = /var/log/dovecot-lda/dovecot-lda.log >>> } >>> Create and change the permissions on the directory /var/log/dovecot-lda >>> # mkdir /var/log/dovecot-lda >>> # chmod 770 /var/log/dovecot-lda >>> # chown vpopmail.vchkpw /var/log/dovecot-lda >>> Add /etc/logrotate.d/dovecot-lda and settings appropriate >>> >>> i am sending email from host...@.com to raj...@.com and a there is >>> a sieve rule to forward the email to ad...@.com >>> email is being correctly delivered to raj...@.com but not being >>> forwarded to ad...@.com
Re: [qmailtoaster] using dovecot seive
Yes there are changes applied.. Eric did posted them. Remo On 8/31/17 11:12 AM, Rajesh M wrote: > eric / remo > > do we need to make any changes to the files inside conf.d ? > > rajesh > > - Original Message - > From: Rajesh M [mailto:24x7ser...@24x7server.net] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 23:33:59 +0530 > Subject: > > nothing at all in /var/log/dovecot-lda/dovecot-lda.log > > looks like i am missing something crucial. > > rajesh > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 11:55:28 -0600 > Subject: > > Nothing/Anything in /var/log/dovecot-lda/dovecot-lda-errors.log ??? > > > On 8/31/2017 11:50 AM, Rajesh M wrote: >> this is what i have done >> >> 2a) Add the following lines to /etc/dovecot/local.conf: >> protocol lda { >>log_path = /var/log/dovecot-lda/dovecot-lda-errors.log >>info_log_path = /var/log/dovecot-lda/dovecot-lda.log >> } >> Create and change the permissions on the directory /var/log/dovecot-lda >> # mkdir /var/log/dovecot-lda >> # chmod 770 /var/log/dovecot-lda >> # chown vpopmail.vchkpw /var/log/dovecot-lda >> Add /etc/logrotate.d/dovecot-lda and settings appropriate >> >> i am sending email from host...@.com to raj...@.com and a there is a >> sieve rule to forward the email to ad...@.com >> email is being correctly delivered to raj...@.com but not being >> forwarded to ad...@.com >> >> [root@ns1 rajesh]# tail -f /var/log/dovecot-lda/dovecot-lda.log >> Aug 31 21:46:56 lda(raj...@.com): Info: >> msgid=<8d066ea0-cea3-c45d-1899-39e36e6a4...@.com>: saved mail to INBOX >> Aug 31 21:50:54 lda(raj...@.com): Info: >> msgid=: saved mail to INBOX >> Aug 31 22:19:26 lda(raj...@.com): Info: >> msgid= : saved mail to INBOX >> Aug 31 22:22:59 lda(raj...@.com): Info: >> msgid=<356e1818-2a24-6402-0e20-ddcf03325...@.com>: saved mail to INBOX >> Aug 31 23:03:15 lda(raj...@.com): Info: >> msgid=<83df1f93-fe93-fbd4-c079-1dd319a98...@.com>: saved mail to INBOX >> >> rajesh >> >> >> >> - Original Message - >> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >> To: qmailtoaster-list@qmailtoaster.com >> Sent: Thu, 31 Aug 2017 11:41:00 -0600 >> Subject: >> >> Rajesh, >> >> Have a look at my notes, are you looking in the correct log file and/or >> how do you have logging set up for Dovecot LDA >> >> http://www.qmailtoaster.org/notes.html >> >> Eric >> >> >> On 8/31/2017 11:37 AM, Rajesh M wrote: >>> eric >>> >>> what is puzzling is that there is nothing in the dovecot error log >>> >>> [root@ns1 rajesh]# doveconf -n | grep sieve >>> 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 spamtest spamtestplus imapflags >>> notify vnd.dovecot.duplicate >>> sieve = ~/.sieve/dovecot.sieve >>> sieve_before = /etc/dovecot/sieve/ >>> sieve_dir = ~/.sieve >>> sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest >>> +spamtestplus +relational +comparator-i;ascii-numeric >>> protocols = imap pop3 sieve >>> service managesieve-login { >>> inet_listener sieve { >>> >>> rajesh >>> >>> - Original Message - >>> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >>> To: qmailtoaster-list@qmailtoaster.com >>> Sent: Thu, 31 Aug 2017 11:33:45 -0600 >>> Subject: >>> >>> Can you dump dovecot >>> >>> # doveconf -n | grep sieve >>> >>> And post? >>> >>> >>> On 8/31/2017 11:16 AM, Rajesh M wrote: eric / remo still not getting dovecot lda to forward emails based on rules. have copied below my configurations. /home/vpopmail/domains/x.com/rajesh [root@ns1 rajesh]# ls -la total 20 drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> .sieve/dovecot.sieve drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve [root@ns1 rajesh]# ls -la .sieve total 12 drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve .dovecot.sieve # rule:[globalpay-forwarder - move] if anyof (header :contains "From" "host...@x.com") { redirect :copy "ad...@yy.com"; stop; } i have not
Re: [qmailtoaster] using dovecot seive
during my config here is a log I got Jul 23 22:20:58 lda(u...@domain.com): Error: sieve: msgid=: failed to store into mailbox 'Junk': Mailbox doesn't exist: Junk On 8/31/17 11:03 AM, Rajesh M wrote: > nothing at all in /var/log/dovecot-lda/dovecot-lda.log > > looks like i am missing something crucial. > > rajesh > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 11:55:28 -0600 > Subject: > > Nothing/Anything in /var/log/dovecot-lda/dovecot-lda-errors.log ??? > > > On 8/31/2017 11:50 AM, Rajesh M wrote: >> this is what i have done >> >> 2a) Add the following lines to /etc/dovecot/local.conf: >> protocol lda { >>log_path = /var/log/dovecot-lda/dovecot-lda-errors.log >>info_log_path = /var/log/dovecot-lda/dovecot-lda.log >> } >> Create and change the permissions on the directory /var/log/dovecot-lda >> # mkdir /var/log/dovecot-lda >> # chmod 770 /var/log/dovecot-lda >> # chown vpopmail.vchkpw /var/log/dovecot-lda >> Add /etc/logrotate.d/dovecot-lda and settings appropriate >> >> i am sending email from host...@.com to raj...@.com and a there is a >> sieve rule to forward the email to ad...@.com >> email is being correctly delivered to raj...@.com but not being >> forwarded to ad...@.com >> >> [root@ns1 rajesh]# tail -f /var/log/dovecot-lda/dovecot-lda.log >> Aug 31 21:46:56 lda(raj...@.com): Info: >> msgid=<8d066ea0-cea3-c45d-1899-39e36e6a4...@.com>: saved mail to INBOX >> Aug 31 21:50:54 lda(raj...@.com): Info: >> msgid=: saved mail to INBOX >> Aug 31 22:19:26 lda(raj...@.com): Info: >> msgid= : saved mail to INBOX >> Aug 31 22:22:59 lda(raj...@.com): Info: >> msgid=<356e1818-2a24-6402-0e20-ddcf03325...@.com>: saved mail to INBOX >> Aug 31 23:03:15 lda(raj...@.com): Info: >> msgid=<83df1f93-fe93-fbd4-c079-1dd319a98...@.com>: saved mail to INBOX >> >> rajesh >> >> >> >> - Original Message - >> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >> To: qmailtoaster-list@qmailtoaster.com >> Sent: Thu, 31 Aug 2017 11:41:00 -0600 >> Subject: >> >> Rajesh, >> >> Have a look at my notes, are you looking in the correct log file and/or >> how do you have logging set up for Dovecot LDA >> >> http://www.qmailtoaster.org/notes.html >> >> Eric >> >> >> On 8/31/2017 11:37 AM, Rajesh M wrote: >>> eric >>> >>> what is puzzling is that there is nothing in the dovecot error log >>> >>> [root@ns1 rajesh]# doveconf -n | grep sieve >>> 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 spamtest spamtestplus imapflags >>> notify vnd.dovecot.duplicate >>> sieve = ~/.sieve/dovecot.sieve >>> sieve_before = /etc/dovecot/sieve/ >>> sieve_dir = ~/.sieve >>> sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest >>> +spamtestplus +relational +comparator-i;ascii-numeric >>> protocols = imap pop3 sieve >>> service managesieve-login { >>> inet_listener sieve { >>> >>> rajesh >>> >>> - Original Message - >>> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >>> To: qmailtoaster-list@qmailtoaster.com >>> Sent: Thu, 31 Aug 2017 11:33:45 -0600 >>> Subject: >>> >>> Can you dump dovecot >>> >>> # doveconf -n | grep sieve >>> >>> And post? >>> >>> >>> On 8/31/2017 11:16 AM, Rajesh M wrote: eric / remo still not getting dovecot lda to forward emails based on rules. have copied below my configurations. /home/vpopmail/domains/x.com/rajesh [root@ns1 rajesh]# ls -la total 20 drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> .sieve/dovecot.sieve drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve [root@ns1 rajesh]# ls -la .sieve total 12 drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve .dovecot.sieve # rule:[globalpay-forwarder - move] if anyof (header :contains "From" "host...@x.com") { redirect :copy "ad...@yy.com"; stop; } i have not created any global sieve script, only personal. # A path to a global sieve script file, which gets executed ONLY # if user's private Sieve script doesn't
Re: [qmailtoaster] using dovecot seive
eric / remo do we need to make any changes to the files inside conf.d ? rajesh - Original Message - From: Rajesh M [mailto:24x7ser...@24x7server.net] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 23:33:59 +0530 Subject: nothing at all in /var/log/dovecot-lda/dovecot-lda.log looks like i am missing something crucial. rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 11:55:28 -0600 Subject: Nothing/Anything in /var/log/dovecot-lda/dovecot-lda-errors.log ??? On 8/31/2017 11:50 AM, Rajesh M wrote: > this is what i have done > > 2a) Add the following lines to /etc/dovecot/local.conf: > protocol lda { >log_path = /var/log/dovecot-lda/dovecot-lda-errors.log >info_log_path = /var/log/dovecot-lda/dovecot-lda.log > } > Create and change the permissions on the directory /var/log/dovecot-lda > # mkdir /var/log/dovecot-lda > # chmod 770 /var/log/dovecot-lda > # chown vpopmail.vchkpw /var/log/dovecot-lda > Add /etc/logrotate.d/dovecot-lda and settings appropriate > > i am sending email from host...@.com to raj...@.com and a there is a > sieve rule to forward the email to ad...@.com > email is being correctly delivered to raj...@.com but not being forwarded > to ad...@.com > > [root@ns1 rajesh]# tail -f /var/log/dovecot-lda/dovecot-lda.log > Aug 31 21:46:56 lda(raj...@.com): Info: > msgid=<8d066ea0-cea3-c45d-1899-39e36e6a4...@.com>: saved mail to INBOX > Aug 31 21:50:54 lda(raj...@.com): Info: > msgid=: saved mail to INBOX > Aug 31 22:19:26 lda(raj...@.com): Info: > msgid= : saved mail to INBOX > Aug 31 22:22:59 lda(raj...@.com): Info: > msgid=<356e1818-2a24-6402-0e20-ddcf03325...@.com>: saved mail to INBOX > Aug 31 23:03:15 lda(raj...@.com): Info: > msgid=<83df1f93-fe93-fbd4-c079-1dd319a98...@.com>: saved mail to INBOX > > rajesh > > > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 11:41:00 -0600 > Subject: > > Rajesh, > > Have a look at my notes, are you looking in the correct log file and/or > how do you have logging set up for Dovecot LDA > > http://www.qmailtoaster.org/notes.html > > Eric > > > On 8/31/2017 11:37 AM, Rajesh M wrote: >> eric >> >> what is puzzling is that there is nothing in the dovecot error log >> >> [root@ns1 rajesh]# doveconf -n | grep sieve >> 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 spamtest spamtestplus imapflags >> notify vnd.dovecot.duplicate >> sieve = ~/.sieve/dovecot.sieve >> sieve_before = /etc/dovecot/sieve/ >> sieve_dir = ~/.sieve >> sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest >> +spamtestplus +relational +comparator-i;ascii-numeric >> protocols = imap pop3 sieve >> service managesieve-login { >> inet_listener sieve { >> >> rajesh >> >> - Original Message - >> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >> To: qmailtoaster-list@qmailtoaster.com >> Sent: Thu, 31 Aug 2017 11:33:45 -0600 >> Subject: >> >> Can you dump dovecot >> >> # doveconf -n | grep sieve >> >> And post? >> >> >> On 8/31/2017 11:16 AM, Rajesh M wrote: >>> eric / remo >>> >>> still not getting dovecot lda to forward emails based on rules. have copied >>> below my configurations. >>> >>> /home/vpopmail/domains/x.com/rajesh >>> [root@ns1 rajesh]# ls -la >>> total 20 >>> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . >>> drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. >>> lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> >>> .sieve/dovecot.sieve >>> drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir >>> -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail >>> drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve >>> >>> >>> [root@ns1 rajesh]# ls -la .sieve >>> total 12 >>> drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . >>> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. >>> -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve >>> >>> >>> .dovecot.sieve >>> >>> # rule:[globalpay-forwarder - move] >>> if anyof (header :contains "From" "host...@x.com") { >>>redirect :copy "ad...@yy.com"; >>>stop; >>> } >>> >>> >>> i have not created any global sieve script, only personal. >>> >>> # A path to a global sieve script file, which gets executed ONLY >>> # if user's private Sieve script doesn't exist. Be sure to >>> # pre-compile this script manually using the sievec command line >>> # tool. >>>
Re: [qmailtoaster] using dovecot seive
nothing at all in /var/log/dovecot-lda/dovecot-lda.log looks like i am missing something crucial. rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 11:55:28 -0600 Subject: Nothing/Anything in /var/log/dovecot-lda/dovecot-lda-errors.log ??? On 8/31/2017 11:50 AM, Rajesh M wrote: > this is what i have done > > 2a) Add the following lines to /etc/dovecot/local.conf: > protocol lda { >log_path = /var/log/dovecot-lda/dovecot-lda-errors.log >info_log_path = /var/log/dovecot-lda/dovecot-lda.log > } > Create and change the permissions on the directory /var/log/dovecot-lda > # mkdir /var/log/dovecot-lda > # chmod 770 /var/log/dovecot-lda > # chown vpopmail.vchkpw /var/log/dovecot-lda > Add /etc/logrotate.d/dovecot-lda and settings appropriate > > i am sending email from host...@.com to raj...@.com and a there is a > sieve rule to forward the email to ad...@.com > email is being correctly delivered to raj...@.com but not being forwarded > to ad...@.com > > [root@ns1 rajesh]# tail -f /var/log/dovecot-lda/dovecot-lda.log > Aug 31 21:46:56 lda(raj...@.com): Info: > msgid=<8d066ea0-cea3-c45d-1899-39e36e6a4...@.com>: saved mail to INBOX > Aug 31 21:50:54 lda(raj...@.com): Info: > msgid=: saved mail to INBOX > Aug 31 22:19:26 lda(raj...@.com): Info: > msgid= : saved mail to INBOX > Aug 31 22:22:59 lda(raj...@.com): Info: > msgid=<356e1818-2a24-6402-0e20-ddcf03325...@.com>: saved mail to INBOX > Aug 31 23:03:15 lda(raj...@.com): Info: > msgid=<83df1f93-fe93-fbd4-c079-1dd319a98...@.com>: saved mail to INBOX > > rajesh > > > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 11:41:00 -0600 > Subject: > > Rajesh, > > Have a look at my notes, are you looking in the correct log file and/or > how do you have logging set up for Dovecot LDA > > http://www.qmailtoaster.org/notes.html > > Eric > > > On 8/31/2017 11:37 AM, Rajesh M wrote: >> eric >> >> what is puzzling is that there is nothing in the dovecot error log >> >> [root@ns1 rajesh]# doveconf -n | grep sieve >> 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 spamtest spamtestplus imapflags >> notify vnd.dovecot.duplicate >> sieve = ~/.sieve/dovecot.sieve >> sieve_before = /etc/dovecot/sieve/ >> sieve_dir = ~/.sieve >> sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest >> +spamtestplus +relational +comparator-i;ascii-numeric >> protocols = imap pop3 sieve >> service managesieve-login { >> inet_listener sieve { >> >> rajesh >> >> - Original Message - >> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >> To: qmailtoaster-list@qmailtoaster.com >> Sent: Thu, 31 Aug 2017 11:33:45 -0600 >> Subject: >> >> Can you dump dovecot >> >> # doveconf -n | grep sieve >> >> And post? >> >> >> On 8/31/2017 11:16 AM, Rajesh M wrote: >>> eric / remo >>> >>> still not getting dovecot lda to forward emails based on rules. have copied >>> below my configurations. >>> >>> /home/vpopmail/domains/x.com/rajesh >>> [root@ns1 rajesh]# ls -la >>> total 20 >>> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . >>> drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. >>> lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> >>> .sieve/dovecot.sieve >>> drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir >>> -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail >>> drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve >>> >>> >>> [root@ns1 rajesh]# ls -la .sieve >>> total 12 >>> drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . >>> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. >>> -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve >>> >>> >>> .dovecot.sieve >>> >>> # rule:[globalpay-forwarder - move] >>> if anyof (header :contains "From" "host...@x.com") { >>>redirect :copy "ad...@yy.com"; >>>stop; >>> } >>> >>> >>> i have not created any global sieve script, only personal. >>> >>> # A path to a global sieve script file, which gets executed ONLY >>> # if user's private Sieve script doesn't exist. Be sure to >>> # pre-compile this script manually using the sievec command line >>> # tool. >>> #sieve_global_path = /var/lib/dovecot/sieve/default.sieve >>> #sieve_global_path = /etc/dovecot/globalsieverc >>> >>> >>> ### in the toaster.conf file under plugin >>> >>> plugin { >>> quota = maildir:ignore=Trash >>> quota_rule =
Re: [qmailtoaster] using dovecot seive
Nothing/Anything in /var/log/dovecot-lda/dovecot-lda-errors.log ??? On 8/31/2017 11:50 AM, Rajesh M wrote: this is what i have done 2a) Add the following lines to /etc/dovecot/local.conf: protocol lda { log_path = /var/log/dovecot-lda/dovecot-lda-errors.log info_log_path = /var/log/dovecot-lda/dovecot-lda.log } Create and change the permissions on the directory /var/log/dovecot-lda # mkdir /var/log/dovecot-lda # chmod 770 /var/log/dovecot-lda # chown vpopmail.vchkpw /var/log/dovecot-lda Add /etc/logrotate.d/dovecot-lda and settings appropriate i am sending email from host...@.com to raj...@.com and a there is a sieve rule to forward the email to ad...@.com email is being correctly delivered to raj...@.com but not being forwarded to ad...@.com [root@ns1 rajesh]# tail -f /var/log/dovecot-lda/dovecot-lda.log Aug 31 21:46:56 lda(raj...@.com): Info: msgid=<8d066ea0-cea3-c45d-1899-39e36e6a4...@.com>: saved mail to INBOX Aug 31 21:50:54 lda(raj...@.com): Info: msgid=: saved mail to INBOX Aug 31 22:19:26 lda(raj...@.com): Info: msgid= : saved mail to INBOX Aug 31 22:22:59 lda(raj...@.com): Info: msgid=<356e1818-2a24-6402-0e20-ddcf03325...@.com>: saved mail to INBOX Aug 31 23:03:15 lda(raj...@.com): Info: msgid=<83df1f93-fe93-fbd4-c079-1dd319a98...@.com>: saved mail to INBOX rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 11:41:00 -0600 Subject: Rajesh, Have a look at my notes, are you looking in the correct log file and/or how do you have logging set up for Dovecot LDA http://www.qmailtoaster.org/notes.html Eric On 8/31/2017 11:37 AM, Rajesh M wrote: eric what is puzzling is that there is nothing in the dovecot error log [root@ns1 rajesh]# doveconf -n | grep sieve 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 spamtest spamtestplus imapflags notify vnd.dovecot.duplicate sieve = ~/.sieve/dovecot.sieve sieve_before = /etc/dovecot/sieve/ sieve_dir = ~/.sieve sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest +spamtestplus +relational +comparator-i;ascii-numeric protocols = imap pop3 sieve service managesieve-login { inet_listener sieve { rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 11:33:45 -0600 Subject: Can you dump dovecot # doveconf -n | grep sieve And post? On 8/31/2017 11:16 AM, Rajesh M wrote: eric / remo still not getting dovecot lda to forward emails based on rules. have copied below my configurations. /home/vpopmail/domains/x.com/rajesh [root@ns1 rajesh]# ls -la total 20 drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> .sieve/dovecot.sieve drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve [root@ns1 rajesh]# ls -la .sieve total 12 drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve .dovecot.sieve # rule:[globalpay-forwarder - move] if anyof (header :contains "From" "host...@x.com") { redirect :copy "ad...@yy.com"; stop; } i have not created any global sieve script, only personal. # A path to a global sieve script file, which gets executed ONLY # if user's private Sieve script doesn't exist. Be sure to # pre-compile this script manually using the sievec command line # tool. #sieve_global_path = /var/lib/dovecot/sieve/default.sieve #sieve_global_path = /etc/dovecot/globalsieverc ### in the toaster.conf file under plugin plugin { quota = maildir:ignore=Trash quota_rule = ?:storage=0 sieve_global_path = /etc/dovecot/globalsieverc # Directory for :personal include scripts for the include extension. sieve = ~/.sieve/dovecot.sieve sieve_before = /etc/dovecot/sieve/ sieve_dir = ~/.sieve sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest +spamtestplus +relational +comparator-i;ascii-numeric } had a question -- how does dovecot know that ~/.sieve is the /home/vpopmail/domains/x.com/rajesh directory thanks rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 07:25:50 -0600 Subject: Hi
Re: [qmailtoaster] using dovecot seive
this is what i have done 2a) Add the following lines to /etc/dovecot/local.conf: protocol lda { log_path = /var/log/dovecot-lda/dovecot-lda-errors.log info_log_path = /var/log/dovecot-lda/dovecot-lda.log } Create and change the permissions on the directory /var/log/dovecot-lda # mkdir /var/log/dovecot-lda # chmod 770 /var/log/dovecot-lda # chown vpopmail.vchkpw /var/log/dovecot-lda Add /etc/logrotate.d/dovecot-lda and settings appropriate i am sending email from host...@.com to raj...@.com and a there is a sieve rule to forward the email to ad...@.com email is being correctly delivered to raj...@.com but not being forwarded to ad...@.com [root@ns1 rajesh]# tail -f /var/log/dovecot-lda/dovecot-lda.log Aug 31 21:46:56 lda(raj...@.com): Info: msgid=<8d066ea0-cea3-c45d-1899-39e36e6a4...@.com>: saved mail to INBOX Aug 31 21:50:54 lda(raj...@.com): Info: msgid=: saved mail to INBOX Aug 31 22:19:26 lda(raj...@.com): Info: msgid= : saved mail to INBOX Aug 31 22:22:59 lda(raj...@.com): Info: msgid=<356e1818-2a24-6402-0e20-ddcf03325...@.com>: saved mail to INBOX Aug 31 23:03:15 lda(raj...@.com): Info: msgid=<83df1f93-fe93-fbd4-c079-1dd319a98...@.com>: saved mail to INBOX rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 11:41:00 -0600 Subject: Rajesh, Have a look at my notes, are you looking in the correct log file and/or how do you have logging set up for Dovecot LDA http://www.qmailtoaster.org/notes.html Eric On 8/31/2017 11:37 AM, Rajesh M wrote: > eric > > what is puzzling is that there is nothing in the dovecot error log > > [root@ns1 rajesh]# doveconf -n | grep sieve > 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 spamtest spamtestplus imapflags > notify vnd.dovecot.duplicate >sieve = ~/.sieve/dovecot.sieve >sieve_before = /etc/dovecot/sieve/ >sieve_dir = ~/.sieve >sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest > +spamtestplus +relational +comparator-i;ascii-numeric > protocols = imap pop3 sieve > service managesieve-login { >inet_listener sieve { > > rajesh > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 11:33:45 -0600 > Subject: > > Can you dump dovecot > > # doveconf -n | grep sieve > > And post? > > > On 8/31/2017 11:16 AM, Rajesh M wrote: >> eric / remo >> >> still not getting dovecot lda to forward emails based on rules. have copied >> below my configurations. >> >> /home/vpopmail/domains/x.com/rajesh >> [root@ns1 rajesh]# ls -la >> total 20 >> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . >> drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. >> lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> >> .sieve/dovecot.sieve >> drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir >> -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail >> drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve >> >> >> [root@ns1 rajesh]# ls -la .sieve >> total 12 >> drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . >> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. >> -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve >> >> >> .dovecot.sieve >> >> # rule:[globalpay-forwarder - move] >> if anyof (header :contains "From" "host...@x.com") { >> redirect :copy "ad...@yy.com"; >> stop; >> } >> >> >> i have not created any global sieve script, only personal. >> >> # A path to a global sieve script file, which gets executed ONLY >> # if user's private Sieve script doesn't exist. Be sure to >> # pre-compile this script manually using the sievec command line >> # tool. >> #sieve_global_path = /var/lib/dovecot/sieve/default.sieve >> #sieve_global_path = /etc/dovecot/globalsieverc >> >> >> ### in the toaster.conf file under plugin >> >> plugin { >> quota = maildir:ignore=Trash >> quota_rule = ?:storage=0 >> sieve_global_path = /etc/dovecot/globalsieverc >> # Directory for :personal include scripts for the include extension. >> sieve = ~/.sieve/dovecot.sieve >> sieve_before = /etc/dovecot/sieve/ >> sieve_dir = ~/.sieve >> sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest >> +spamtestplus +relational +comparator-i;ascii-numeric >> } >> >> had a question -- how does dovecot know that ~/.sieve is the >> /home/vpopmail/domains/x.com/rajesh directory >> >> thanks >> rajesh >> >> >> - Original Message - >> From: Eric Broch
Re: [qmailtoaster] using dovecot seive
Qmail7 .sieve q7>> netstat -nat|grep 4190 tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN tcp6 0 0 :::4190 :::* LISTEN On 8/31/17 10:37 AM, Rajesh M wrote: > doveconf -n | grep sieve - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] using dovecot seive
Rajesh, Have a look at my notes, are you looking in the correct log file and/or how do you have logging set up for Dovecot LDA http://www.qmailtoaster.org/notes.html Eric On 8/31/2017 11:37 AM, Rajesh M wrote: eric what is puzzling is that there is nothing in the dovecot error log [root@ns1 rajesh]# doveconf -n | grep sieve 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 spamtest spamtestplus imapflags notify vnd.dovecot.duplicate sieve = ~/.sieve/dovecot.sieve sieve_before = /etc/dovecot/sieve/ sieve_dir = ~/.sieve sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest +spamtestplus +relational +comparator-i;ascii-numeric protocols = imap pop3 sieve service managesieve-login { inet_listener sieve { rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 11:33:45 -0600 Subject: Can you dump dovecot # doveconf -n | grep sieve And post? On 8/31/2017 11:16 AM, Rajesh M wrote: eric / remo still not getting dovecot lda to forward emails based on rules. have copied below my configurations. /home/vpopmail/domains/x.com/rajesh [root@ns1 rajesh]# ls -la total 20 drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> .sieve/dovecot.sieve drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve [root@ns1 rajesh]# ls -la .sieve total 12 drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve .dovecot.sieve # rule:[globalpay-forwarder - move] if anyof (header :contains "From" "host...@x.com") { redirect :copy "ad...@yy.com"; stop; } i have not created any global sieve script, only personal. # A path to a global sieve script file, which gets executed ONLY # if user's private Sieve script doesn't exist. Be sure to # pre-compile this script manually using the sievec command line # tool. #sieve_global_path = /var/lib/dovecot/sieve/default.sieve #sieve_global_path = /etc/dovecot/globalsieverc ### in the toaster.conf file under plugin plugin { quota = maildir:ignore=Trash quota_rule = ?:storage=0 sieve_global_path = /etc/dovecot/globalsieverc # Directory for :personal include scripts for the include extension. sieve = ~/.sieve/dovecot.sieve sieve_before = /etc/dovecot/sieve/ sieve_dir = ~/.sieve sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest +spamtestplus +relational +comparator-i;ascii-numeric } had a question -- how does dovecot know that ~/.sieve is the /home/vpopmail/domains/x.com/rajesh directory thanks rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 07:25:50 -0600 Subject: Hi Rajesh, I use roundcube and it automatically creates the stuff, hopefully correctly, when you open the Settings->Filters in the same with a roundcube filter file. Here's what it looks like permissions and all: # ls -la /home/vpopmail/domains/domain.tld/user total 16 drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 . drwx-- 5 vpopmail vchkpw 4096 Feb 8 2017 .. lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> .sieve/roundcube.sieve drwx-- 14 vpopmail vchkpw 4096 Aug 31 07:14 Maildir drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 .sieve # ls -la /home/vpopmail/domains/domain.tld/user/.sieve total 16 drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 .. -rw--- 1 vpopmail vchkpw  18 Aug 31 07:16 roundcube.sieve drwx-- 2 vpopmail vchkpw 4096 Aug 31 07:16 tmp I imagine you could rename the filter file whatever you wanted (other than .sieve/roundcube.sieve) and change the symlink (.dovecot.sieve) to point to the same. Hopefully this works for you else you'll need to experiment or invoke Remo for help. Eric On 8/31/2017 6:52 AM, Rajesh M wrote: eric yes, that is correct. that is how i set up. sorry typo in my email ... ie basically along with the .qmail file /home/vpopmail/domains/domain.tld/user/.sieve/ /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: 24x7ser...@24x7server.net Sent: Thu, 31 Aug 2017 06:45:59 -0600 Subject: Rajesh, shouldn't the folder and file be /home/vpopmail/domains/domain.tld/user/.sieve/
Re: [qmailtoaster] using dovecot seive
Can you dump dovecot # doveconf -n | grep sieve And post? On 8/31/2017 11:16 AM, Rajesh M wrote: eric / remo still not getting dovecot lda to forward emails based on rules. have copied below my configurations. /home/vpopmail/domains/x.com/rajesh [root@ns1 rajesh]# ls -la total 20 drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> .sieve/dovecot.sieve drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve [root@ns1 rajesh]# ls -la .sieve total 12 drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve .dovecot.sieve # rule:[globalpay-forwarder - move] if anyof (header :contains "From" "host...@x.com") { redirect :copy "ad...@yy.com"; stop; } i have not created any global sieve script, only personal. # A path to a global sieve script file, which gets executed ONLY # if user's private Sieve script doesn't exist. Be sure to # pre-compile this script manually using the sievec command line # tool. #sieve_global_path = /var/lib/dovecot/sieve/default.sieve #sieve_global_path = /etc/dovecot/globalsieverc ### in the toaster.conf file under plugin plugin { quota = maildir:ignore=Trash quota_rule = ?:storage=0 sieve_global_path = /etc/dovecot/globalsieverc # Directory for :personal include scripts for the include extension. sieve = ~/.sieve/dovecot.sieve sieve_before = /etc/dovecot/sieve/ sieve_dir = ~/.sieve sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest +spamtestplus +relational +comparator-i;ascii-numeric } had a question -- how does dovecot know that ~/.sieve is the /home/vpopmail/domains/x.com/rajesh directory thanks rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 07:25:50 -0600 Subject: Hi Rajesh, I use roundcube and it automatically creates the stuff, hopefully correctly, when you open the Settings->Filters in the same with a roundcube filter file. Here's what it looks like permissions and all: # ls -la /home/vpopmail/domains/domain.tld/user total 16 drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 . drwx-- 5 vpopmail vchkpw 4096 Feb 8 2017 .. lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> .sieve/roundcube.sieve drwx-- 14 vpopmail vchkpw 4096 Aug 31 07:14 Maildir drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 .sieve # ls -la /home/vpopmail/domains/domain.tld/user/.sieve total 16 drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 .. -rw--- 1 vpopmail vchkpw  18 Aug 31 07:16 roundcube.sieve drwx-- 2 vpopmail vchkpw 4096 Aug 31 07:16 tmp I imagine you could rename the filter file whatever you wanted (other than .sieve/roundcube.sieve) and change the symlink (.dovecot.sieve) to point to the same. Hopefully this works for you else you'll need to experiment or invoke Remo for help. Eric On 8/31/2017 6:52 AM, Rajesh M wrote: eric yes, that is correct. that is how i set up. sorry typo in my email ... ie basically along with the .qmail file /home/vpopmail/domains/domain.tld/user/.sieve/ /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: 24x7ser...@24x7server.net Sent: Thu, 31 Aug 2017 06:45:59 -0600 Subject: Rajesh, shouldn't the folder and file be /home/vpopmail/domains/domain.tld/user/.sieve/ /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve not /home/vpopmail/domains/domain.tld/user/Maildir/.sieve/ /home/vpopmail/domains/domain.tld/user/Maildir/.sieve/dovecot.sieve Eric On 8/31/2017 5:12 AM, Rajesh M wrote: eric / still not able to get the routing done i don't use roundcube i manually create the .sieve folder and the dovecot.sieve in domain.com/user/Maildir folder what should the permissions be ? I receive no errors in the lda log file thanks rajesh my dovecot file. [root@ns1 dovecot]# dovecot -n # 2.2.25 (7be1766): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.15 (97b3da0) # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.7 (Final) auth_cache_negative_ttl = 0 auth_cache_ttl = 0 auth_mechanisms = plain login digest-md5 cram-md5 default_login_user = vpopmail disable_plaintext_auth = no first_valid_gid = 89 first_valid_uid = 89 log_path = /var/log/dovecot.log login_greeting = ready. mail_plugins = " quota" 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
Re: [qmailtoaster] using dovecot seive
my user Qmail7 remo q7>> ls -al total 20 drwx-- 4 vpopmail vchkpw 4096 Aug 31 06:33 . drwx-- 4 vpopmail vchkpw 4096 Aug 26 08:24 .. -rw--- 1 vpopmail vchkpw 133 Aug 31 06:33 .dovecot.lda-dupes drwx-- 10 vpopmail vchkpw 4096 Aug 31 07:46 Maildir drwx-- 3 vpopmail vchkpw 4096 Aug 26 08:28 .sieve Qmail7 .sieve q7>> ls -al total 20 drwx-- 3 vpopmail vchkpw 4096 Aug 26 08:28 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 06:33 .. lrwxrwxrwx 1 vpopmail vchkpw 15 Aug 26 08:27 dovecot.sieve -> roundcube.sieve -rw--- 1 vpopmail vchkpw 281 Aug 26 08:28 dovecot.svbin -rw--- 1 vpopmail vchkpw 184 Aug 26 08:27 roundcube.sieve drwx-- 2 vpopmail vchkpw 4096 Aug 26 08:27 tmp Qmail7 .sieve q7>> Qmail7 .sieve q7>> more roundcube.sieve ## Generated by Roundcube Webmail SieveRules Plugin ## require ["copy"]; # rule:[Remo] if anyof (header :is "To" "r...@myotheremail.com") { redirect :copy "r...@mainemail.com"; } hopefully this helps! On 8/31/17 10:16 AM, Rajesh M wrote: > eric / remo > > still not getting dovecot lda to forward emails based on rules. have copied > below my configurations. > > /home/vpopmail/domains/x.com/rajesh > [root@ns1 rajesh]# ls -la > total 20 > drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . > drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. > lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> > .sieve/dovecot.sieve > drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir > -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail > drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve > > > [root@ns1 rajesh]# ls -la .sieve > total 12 > drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . > drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. > -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve > > > .dovecot.sieve > > # rule:[globalpay-forwarder - move] > if anyof (header :contains "From" "host...@x.com") { > redirect :copy "ad...@yy.com"; > stop; > } > > > i have not created any global sieve script, only personal. > > # A path to a global sieve script file, which gets executed ONLY > # if user's private Sieve script doesn't exist. Be sure to > # pre-compile this script manually using the sievec command line > # tool. > #sieve_global_path = /var/lib/dovecot/sieve/default.sieve > #sieve_global_path = /etc/dovecot/globalsieverc > > > ### in the toaster.conf file under plugin > > plugin { > quota = maildir:ignore=Trash > quota_rule = ?:storage=0 > sieve_global_path = /etc/dovecot/globalsieverc > # Directory for :personal include scripts for the include extension. > sieve = ~/.sieve/dovecot.sieve > sieve_before = /etc/dovecot/sieve/ > sieve_dir = ~/.sieve > sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest > +spamtestplus +relational +comparator-i;ascii-numeric > } > > had a question -- how does dovecot know that ~/.sieve is the > /home/vpopmail/domains/x.com/rajesh directory > > thanks > rajesh > > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 07:25:50 -0600 > Subject: > > Hi Rajesh, > > I use roundcube and it automatically creates the stuff, hopefully > correctly, when you open the Settings->Filters in the same with a > roundcube filter file. Here's what it looks like permissions and all: > > # ls -la /home/vpopmail/domains/domain.tld/user > total 16 > drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 . > drwx-- 5 vpopmail vchkpw 4096 Feb 8 2017 .. > lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> > .sieve/roundcube.sieve > drwx-- 14 vpopmail vchkpw 4096 Aug 31 07:14 Maildir > drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 .sieve > > # ls -la /home/vpopmail/domains/domain.tld/user/.sieve > total 16 > drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 . > drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 .. > -rw--- 1 vpopmail vchkpw  18 Aug 31 07:16 roundcube.sieve > drwx-- 2 vpopmail vchkpw 4096 Aug 31 07:16 tmp > > > I imagine you could rename the filter file whatever you wanted (other > than .sieve/roundcube.sieve) and change the symlink (.dovecot.sieve) to > point to the same. > > Hopefully this works for you else you'll need to experiment or invoke > Remo for help. > > Eric > > > > > > On 8/31/2017 6:52 AM, Rajesh M wrote: >> eric >> >> yes, that is correct. that is how i set up. sorry typo in my email ... ie >> basically along with the .qmail file >> >> /home/vpopmail/domains/domain.tld/user/.sieve/ >> /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve >> >> rajesh >> >> - Original Message - >> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >> To: 24x7ser...@24x7server.net >> Sent: Thu, 31 Aug 2017 06:45:59 -0600 >> Subject: >> >> Rajesh, >> >> shouldn't the folder and file be >> >> /home/vpopmail/domains/domain.tld/user/.sieve/ >> /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve >> >>
Re: [qmailtoaster] using dovecot seive
let me check my .sieve.. one sec On 8/31/17 10:16 AM, Rajesh M wrote: > eric / remo > > still not getting dovecot lda to forward emails based on rules. have copied > below my configurations. > > /home/vpopmail/domains/x.com/rajesh > [root@ns1 rajesh]# ls -la > total 20 > drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . > drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. > lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> > .sieve/dovecot.sieve > drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir > -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail > drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve > > > [root@ns1 rajesh]# ls -la .sieve > total 12 > drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . > drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. > -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve > > > .dovecot.sieve > > # rule:[globalpay-forwarder - move] > if anyof (header :contains "From" "host...@x.com") { > redirect :copy "ad...@yy.com"; > stop; > } > > > i have not created any global sieve script, only personal. > > # A path to a global sieve script file, which gets executed ONLY > # if user's private Sieve script doesn't exist. Be sure to > # pre-compile this script manually using the sievec command line > # tool. > #sieve_global_path = /var/lib/dovecot/sieve/default.sieve > #sieve_global_path = /etc/dovecot/globalsieverc > > > ### in the toaster.conf file under plugin > > plugin { > quota = maildir:ignore=Trash > quota_rule = ?:storage=0 > sieve_global_path = /etc/dovecot/globalsieverc > # Directory for :personal include scripts for the include extension. > sieve = ~/.sieve/dovecot.sieve > sieve_before = /etc/dovecot/sieve/ > sieve_dir = ~/.sieve > sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest > +spamtestplus +relational +comparator-i;ascii-numeric > } > > had a question -- how does dovecot know that ~/.sieve is the > /home/vpopmail/domains/x.com/rajesh directory > > thanks > rajesh > > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: qmailtoaster-list@qmailtoaster.com > Sent: Thu, 31 Aug 2017 07:25:50 -0600 > Subject: > > Hi Rajesh, > > I use roundcube and it automatically creates the stuff, hopefully > correctly, when you open the Settings->Filters in the same with a > roundcube filter file. Here's what it looks like permissions and all: > > # ls -la /home/vpopmail/domains/domain.tld/user > total 16 > drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 . > drwx-- 5 vpopmail vchkpw 4096 Feb 8 2017 .. > lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> > .sieve/roundcube.sieve > drwx-- 14 vpopmail vchkpw 4096 Aug 31 07:14 Maildir > drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 .sieve > > # ls -la /home/vpopmail/domains/domain.tld/user/.sieve > total 16 > drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 . > drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 .. > -rw--- 1 vpopmail vchkpw  18 Aug 31 07:16 roundcube.sieve > drwx-- 2 vpopmail vchkpw 4096 Aug 31 07:16 tmp > > > I imagine you could rename the filter file whatever you wanted (other > than .sieve/roundcube.sieve) and change the symlink (.dovecot.sieve) to > point to the same. > > Hopefully this works for you else you'll need to experiment or invoke > Remo for help. > > Eric > > > > > > On 8/31/2017 6:52 AM, Rajesh M wrote: >> eric >> >> yes, that is correct. that is how i set up. sorry typo in my email ... ie >> basically along with the .qmail file >> >> /home/vpopmail/domains/domain.tld/user/.sieve/ >> /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve >> >> rajesh >> >> - Original Message - >> From: Eric Broch [mailto:ebr...@whitehorsetc.com] >> To: 24x7ser...@24x7server.net >> Sent: Thu, 31 Aug 2017 06:45:59 -0600 >> Subject: >> >> Rajesh, >> >> shouldn't the folder and file be >> >> /home/vpopmail/domains/domain.tld/user/.sieve/ >> /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve >> >> not >> >> >> /home/vpopmail/domains/domain.tld/user/Maildir/.sieve/ >> /home/vpopmail/domains/domain.tld/user/Maildir/.sieve/dovecot.sieve >> >> Eric >> >> >> >> On 8/31/2017 5:12 AM, Rajesh M wrote: >>> eric / >>> >>> still not able to get the routing done >>> >>> i don't use roundcube >>> >>> i manually create the .sieve folder and the dovecot.sieve in >>> >>> domain.com/user/Maildir folder >>> >>> what should the permissions be ? >>> >>> I receive no errors in the lda log file >>> >>> thanks >>> rajesh >>> >>> my dovecot file. >>> >>> [root@ns1 dovecot]# dovecot -n >>> # 2.2.25 (7be1766): /etc/dovecot/dovecot.conf >>> # Pigeonhole version 0.4.15 (97b3da0) >>> # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.7 (Final) >>> auth_cache_negative_ttl = 0 >>> auth_cache_ttl = 0 >>> auth_mechanisms = plain login digest-md5 cram-md5 >>> default_login_user = vpopmail >>> disable_plaintext_auth = no >>> first_valid_gid = 89
Re: [qmailtoaster] using dovecot seive
eric / remo still not getting dovecot lda to forward emails based on rules. have copied below my configurations. /home/vpopmail/domains/x.com/rajesh [root@ns1 rajesh]# ls -la total 20 drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 . drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 .. lrwxrwxrwx 1 vpopmail vchkpw 20 Aug 31 21:45 .dovecot.sieve -> .sieve/dovecot.sieve drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir -rw--- 1 vpopmail vchkpw 85 Aug 30 23:47 .qmail drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve [root@ns1 rajesh]# ls -la .sieve total 12 drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .. -rw--- 1 vpopmail vchkpw 160 Aug 30 17:38 dovecot.sieve .dovecot.sieve # rule:[globalpay-forwarder - move] if anyof (header :contains "From" "host...@x.com") { redirect :copy "ad...@yy.com"; stop; } i have not created any global sieve script, only personal. # A path to a global sieve script file, which gets executed ONLY # if user's private Sieve script doesn't exist. Be sure to # pre-compile this script manually using the sievec command line # tool. #sieve_global_path = /var/lib/dovecot/sieve/default.sieve #sieve_global_path = /etc/dovecot/globalsieverc ### in the toaster.conf file under plugin plugin { quota = maildir:ignore=Trash quota_rule = ?:storage=0 sieve_global_path = /etc/dovecot/globalsieverc # Directory for :personal include scripts for the include extension. sieve = ~/.sieve/dovecot.sieve sieve_before = /etc/dovecot/sieve/ sieve_dir = ~/.sieve sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest +spamtestplus +relational +comparator-i;ascii-numeric } had a question -- how does dovecot know that ~/.sieve is the /home/vpopmail/domains/x.com/rajesh directory thanks rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Thu, 31 Aug 2017 07:25:50 -0600 Subject: Hi Rajesh, I use roundcube and it automatically creates the stuff, hopefully correctly, when you open the Settings->Filters in the same with a roundcube filter file. Here's what it looks like permissions and all: # ls -la /home/vpopmail/domains/domain.tld/user total 16 drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 . drwx-- 5 vpopmail vchkpw 4096 Feb 8 2017 .. lrwxrwxrwx 1 vpopmail vchkpw  22 Aug 31 07:16 .dovecot.sieve -> .sieve/roundcube.sieve drwx-- 14 vpopmail vchkpw 4096 Aug 31 07:14 Maildir drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 .sieve # ls -la /home/vpopmail/domains/domain.tld/user/.sieve total 16 drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 .. -rw--- 1 vpopmail vchkpw  18 Aug 31 07:16 roundcube.sieve drwx-- 2 vpopmail vchkpw 4096 Aug 31 07:16 tmp I imagine you could rename the filter file whatever you wanted (other than .sieve/roundcube.sieve) and change the symlink (.dovecot.sieve) to point to the same. Hopefully this works for you else you'll need to experiment or invoke Remo for help. Eric On 8/31/2017 6:52 AM, Rajesh M wrote: > eric > > yes, that is correct. that is how i set up. sorry typo in my email ... ie > basically along with the .qmail file > > /home/vpopmail/domains/domain.tld/user/.sieve/ > /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve > > rajesh > > - Original Message - > From: Eric Broch [mailto:ebr...@whitehorsetc.com] > To: 24x7ser...@24x7server.net > Sent: Thu, 31 Aug 2017 06:45:59 -0600 > Subject: > > Rajesh, > > shouldn't the folder and file be > > /home/vpopmail/domains/domain.tld/user/.sieve/ > /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve > > not > > > /home/vpopmail/domains/domain.tld/user/Maildir/.sieve/ > /home/vpopmail/domains/domain.tld/user/Maildir/.sieve/dovecot.sieve > > Eric > > > > On 8/31/2017 5:12 AM, Rajesh M wrote: >> eric / >> >> still not able to get the routing done >> >> i don't use roundcube >> >> i manually create the .sieve folder and the dovecot.sieve in >> >> domain.com/user/Maildir folder >> >> what should the permissions be ? >> >> I receive no errors in the lda log file >> >> thanks >> rajesh >> >> my dovecot file. >> >> [root@ns1 dovecot]# dovecot -n >> # 2.2.25 (7be1766): /etc/dovecot/dovecot.conf >> # Pigeonhole version 0.4.15 (97b3da0) >> # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.7 (Final) >> auth_cache_negative_ttl = 0 >> auth_cache_ttl = 0 >> auth_mechanisms = plain login digest-md5 cram-md5 >> default_login_user = vpopmail >> disable_plaintext_auth = no >> first_valid_gid = 89 >> first_valid_uid = 89 >> log_path = /var/log/dovecot.log >> login_greeting = ready. >> mail_plugins = " quota" >> managesieve_notify_capability = mailto >> managesieve_sieve_capability = fileinto reject envelope encoded-character >> vacation subaddress comparator-i;ascii-numeric relational regex imap4flags >> copy include
Re: [qmailtoaster] using dovecot seive
Hi Rajesh, I use roundcube and it automatically creates the stuff, hopefully correctly, when you open the Settings->Filters in the same with a roundcube filter file. Here's what it looks like permissions and all: # ls -la /home/vpopmail/domains/domain.tld/user total 16 drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 . drwx-- 5 vpopmail vchkpw 4096 Feb 8 2017 .. lrwxrwxrwx 1 vpopmail vchkpw 22 Aug 31 07:16 .dovecot.sieve -> .sieve/roundcube.sieve drwx-- 14 vpopmail vchkpw 4096 Aug 31 07:14 Maildir drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 .sieve # ls -la /home/vpopmail/domains/domain.tld/user/.sieve total 16 drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 . drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 .. -rw--- 1 vpopmail vchkpw 18 Aug 31 07:16 roundcube.sieve drwx-- 2 vpopmail vchkpw 4096 Aug 31 07:16 tmp I imagine you could rename the filter file whatever you wanted (other than .sieve/roundcube.sieve) and change the symlink (.dovecot.sieve) to point to the same. Hopefully this works for you else you'll need to experiment or invoke Remo for help. Eric On 8/31/2017 6:52 AM, Rajesh M wrote: eric yes, that is correct. that is how i set up. sorry typo in my email ... ie basically along with the .qmail file /home/vpopmail/domains/domain.tld/user/.sieve/ /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve rajesh - Original Message - From: Eric Broch [mailto:ebr...@whitehorsetc.com] To: 24x7ser...@24x7server.net Sent: Thu, 31 Aug 2017 06:45:59 -0600 Subject: Rajesh, shouldn't the folder and file be /home/vpopmail/domains/domain.tld/user/.sieve/ /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve not /home/vpopmail/domains/domain.tld/user/Maildir/.sieve/ /home/vpopmail/domains/domain.tld/user/Maildir/.sieve/dovecot.sieve Eric On 8/31/2017 5:12 AM, Rajesh M wrote: eric / still not able to get the routing done i don't use roundcube i manually create the .sieve folder and the dovecot.sieve in domain.com/user/Maildir folder what should the permissions be ? I receive no errors in the lda log file thanks rajesh my dovecot file. [root@ns1 dovecot]# dovecot -n # 2.2.25 (7be1766): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.15 (97b3da0) # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.7 (Final) auth_cache_negative_ttl = 0 auth_cache_ttl = 0 auth_mechanisms = plain login digest-md5 cram-md5 default_login_user = vpopmail disable_plaintext_auth = no first_valid_gid = 89 first_valid_uid = 89 log_path = /var/log/dovecot.log login_greeting = ready. mail_plugins = " quota" 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 spamtest spamtestplus imapflags notify vnd.dovecot.duplicate namespace { inbox = yes location = prefix = separator = . type = private } passdb { args = cache_key=%u webmail=127.0.0.1 driver = vpopmail } plugin { quota = maildir:ignore=Trash quota_rule = ?:storage=0 sieve = ~/.sieve/dovecot.sieve sieve_before = /etc/dovecot/sieve/ sieve_dir = ~/.sieve sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest +spamtestplus +relational +comparator-i;ascii-numeric } protocols = imap pop3 sieve sendmail_path = /var/qmail/bin/sendmail service imap-login { process_min_avail = 12 service_count = 0 vsz_limit = 512 M } service imap { process_limit = 2048 process_min_avail = 50 service_count = 1 vsz_limit = 512 M } service managesieve-login { inet_listener sieve { port = 4190 } service_count = 1 vsz_limit = 64 M } service pop3-login { process_min_avail = 12 service_count = 0 vsz_limit = 512 M } service pop3 { process_limit = 256 process_min_avail = 25 service_count = 1 } ssl_cert = mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Wed, 30 Aug 2017 15:39:42 -0600 Subject: Rajesh, Not to but in, but it looks like with Remo's configuration  sieve = ~/.sieve/dovecot.sieve  sieve_dir = ~/.sieve you'll put your rule in /home/vpopmail/domains/your.domain/your.user/.sieve/dovecot.sieve Please correct if mistaken Eric On 8/30/2017 1:09 PM, Rajesh M wrote: Hi remo i have dovecot lda working. i could see from the log files that email is being delivered. now the next step is configuring custom delivery rules per user ie if email is from a specific email id then copy to another email id. i have the following in the dovecot.sieve file. # rule:[globalpay-forwarder - move] if anyof (header :contains "From""u...@xyz.com") { redirect :copy"ad...@pqr.com"; stop; } question is where do i copy this file for every user who requires custom rules. i
RE: Fwd: Re: [qmailtoaster] using dovecot seive
eric / still not able to get the routing done i don't use roundcube i manually create the .sieve folder and the dovecot.sieve in domain.com/user/Maildir folder what should the permissions be ? I receive no errors in the lda log file thanks rajesh my dovecot file. [root@ns1 dovecot]# dovecot -n # 2.2.25 (7be1766): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.15 (97b3da0) # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.7 (Final) auth_cache_negative_ttl = 0 auth_cache_ttl = 0 auth_mechanisms = plain login digest-md5 cram-md5 default_login_user = vpopmail disable_plaintext_auth = no first_valid_gid = 89 first_valid_uid = 89 log_path = /var/log/dovecot.log login_greeting = ready. mail_plugins = " quota" 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 spamtest spamtestplus imapflags notify vnd.dovecot.duplicate namespace { inbox = yes location = prefix = separator = . type = private } passdb { args = cache_key=%u webmail=127.0.0.1 driver = vpopmail } plugin { quota = maildir:ignore=Trash quota_rule = ?:storage=0 sieve = ~/.sieve/dovecot.sieve sieve_before = /etc/dovecot/sieve/ sieve_dir = ~/.sieve sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest +spamtestplus +relational +comparator-i;ascii-numeric } protocols = imap pop3 sieve sendmail_path = /var/qmail/bin/sendmail service imap-login { process_min_avail = 12 service_count = 0 vsz_limit = 512 M } service imap { process_limit = 2048 process_min_avail = 50 service_count = 1 vsz_limit = 512 M } service managesieve-login { inet_listener sieve { port = 4190 } service_count = 1 vsz_limit = 64 M } service pop3-login { process_min_avail = 12 service_count = 0 vsz_limit = 512 M } service pop3 { process_limit = 256 process_min_avail = 25 service_count = 1 } ssl_cert = mailto:ebr...@whitehorsetc.com] To: qmailtoaster-list@qmailtoaster.com Sent: Wed, 30 Aug 2017 15:39:42 -0600 Subject: Rajesh, Not to but in, but it looks like with Remo's configuration  sieve = ~/.sieve/dovecot.sieve  sieve_dir = ~/.sieve you'll put your rule in /home/vpopmail/domains/your.domain/your.user/.sieve/dovecot.sieve Please correct if mistaken Eric On 8/30/2017 1:09 PM, Rajesh M wrote: > Hi remo > > i have dovecot lda working. i could see from the log files that email is > being delivered. > > now the next step is configuring custom delivery rules per user ie if email > is from a specific email id then copy to another email id. > > i have the following in the dovecot.sieve file. > > # rule:[globalpay-forwarder - move] > if anyof (header :contains "From""u...@xyz.com") { > redirect :copy"ad...@pqr.com"; > stop; > } > > question is where do i copy this file for every user who requires custom > rules. > > i read thru thehttps://wiki1.dovecot.org/LDA/Sieve/Dovecot > but found a bit confusing > > what changes do i need to make in the dovecot,conf file > > what should the permissions be for the per user script file > > thanks > rajesh > > > > > > - Original Message - > From: Remo Mattei [mailto:r...@mattei.org] > To:24x7ser...@24x7server.net > Sent: Tue, 29 Aug 2017 10:37:43 -0700 > Subject: > > # 2.2.24 (a82c823): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.4.14 (099a97c) > # OS: Linux 3.10.0-514.26.2.el7.x86_64 x86_64 CentOS Linux release > 7.3.1611 (Core) > auth_cache_size = 64 M > auth_mechanisms = plain login digest-md5 cram-md5 > default_client_limit = 100 > first_valid_gid = 89 > first_valid_uid = 89 > hostname = qmail7.italy1.com > log_path = /var/log/dovecot.log > login_greeting = Italy1 Mail ready. > mail_plugins = " quota" > 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 spamtest spamtestplus imapflags notify vnd.dovecot.duplicate > namespace { >  inbox = yes >  location = >  prefix = >  separator = . >  type = private > } > passdb { >  args = cache_key=%u webmail=127.0.0.1 >  driver = vpopmail > } > plugin { >  quota = maildir:ignore=Trash >  quota_rule = ?:storage=0 >  sieve = ~/.sieve/dovecot.sieve >  sieve_before = /etc/dovecot/sieve/ >  sieve_dir = ~/.sieve >  sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest > +spamtestplus +relational +comparator-i;ascii-numeric > } > protocols = imap pop3 sieve > sendmail_path = /var/qmail/bin/sendmail > service managesieve-login { >  inet_listener sieve { >    port = 4190 >  } >  service_count = 1
Re: [qmailtoaster] using dovecot seive
could you please share the dovecot -n rajesh - Original Message - From: Remo Mattei [mailto:r...@mattei.org] To: qmailtoaster-list@qmailtoaster.com,24x7ser...@24x7server.net Sent: Tue, 29 Aug 2017 09:42:37 -0700 Subject: Hello Rajesh, I have it running and it works fine. let me know if you have questions. I am swamped but I will try to help. Remo On 8/29/17 9:38 AM, Rajesh M wrote: > hi > > are there any step by step instructions for using dovecot sieve. > > i require this for conditional forwarding rules like if email is from user > a...@domain.com then forward email to specific email id. > > i checked out a few messages on the forum and also followed instructions here > https://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg40536.html > > but am still not successful. > > rajesh > > > > > - > To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com > For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] using dovecot seive
Hello Rajesh, I have it running and it works fine. let me know if you have questions. I am swamped but I will try to help. Remo On 8/29/17 9:38 AM, Rajesh M wrote: > hi > > are there any step by step instructions for using dovecot sieve. > > i require this for conditional forwarding rules like if email is from user > a...@domain.com then forward email to specific email id. > > i checked out a few messages on the forum and also followed instructions here > https://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg40536.html > > but am still not successful. > > rajesh > > > > > - > To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com > For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com