Re: [qmailtoaster] using dovecot seive

2017-09-04 Thread Rajesh M
remo yes already added that myself. thanks for the update. aside from the above, i noted that dovecot.conf.d has files in a numbered manner (spamassassin also has the same pattern) is this because the processing of the files takes place in sequence from lower to higher numbered files ? i will

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Remo Mattei
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/dove

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Remo Mattei
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

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Rajesh M
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 M

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Eric Broch
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

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Rajesh M
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 [

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Eric Broch
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 worke

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Remo Mattei
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

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Eric Broch
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)

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Remo Mattei
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 th

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Rajesh M
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/MailLoca

Re: [qmailtoaster] using dovecot seive

2017-09-01 Thread Rajesh M
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 vpop

Re: [qmailtoaster] using dovecot seive

2017-09-01 Thread Rajesh M
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

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
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

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Eric Broch
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 eve

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
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@qma

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
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 cru

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Rajesh M
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.

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Rajesh M
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/

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Eric Broch
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 = /

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Rajesh M
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-ld

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
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 --

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Eric Broch
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@

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Rajesh M
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 ima

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Eric Broch
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

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
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 409

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
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

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Rajesh M
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 .. lrwxrwxrw

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Eric Broch
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

RE: Fwd: Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Rajesh M
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]# doveco

Re: [qmailtoaster] using dovecot seive

2017-08-30 Thread Remo Mattei
Correct Eric and this is automatically gen. Inviato da iPhone > Il giorno 30 ago 2017, alle ore 14:39, Eric Broch > ha scritto: > > 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

Re: [qmailtoaster] using dovecot seive

2017-08-30 Thread Remo Mattei
NOPE!! I do not write those by hand.. I use roundcube and add the plugins. here is a screenshot. https://pasteboard.co/GI6qGbP.png plugins installed $config['plugins'] = array( 'archive', 'zipdownload', 'quickrules', 'contextmenu', 'jqueryui', 'legacy_browser', 'clo

Fwd: Re: [qmailtoaster] using dovecot seive

2017-08-30 Thread Eric Broch
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 rem

Re: [qmailtoaster] using dovecot seive

2017-08-30 Thread Rajesh M
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:[glob

Re: [qmailtoaster] using dovecot seive

2017-08-29 Thread Rajesh M
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 y

Re: [qmailtoaster] using dovecot seive

2017-08-29 Thread Remo Mattei
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 i

[qmailtoaster] using dovecot seive

2017-08-29 Thread Rajesh M
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-