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/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

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 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

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 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 = -<%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

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 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

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 [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

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 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

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 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

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)

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 

Fwd: Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Eric Broch
They're all temporary, for scanning purposes. Once the scanning is done, 
they all are deleted.



On 9/3/2017 3:57 PM, Remo Mattei wrote:

I do not see anything on my  :)  /var/qmail/simscan


Remo
On 9/3/17 12:13 PM, Eric Broch wrote:


Rajesh,


Those shouldn't be log files in that directory, but directories of 
this form...


[root@mail ~]# ls -l /var/qmail/simscan
total 7
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525628.43125.19212
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525917.767516.19248
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.725762.19262
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.728000.19263
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.730011.19264
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525959.679164.19279
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525972.624759.19287

in which messages are broken into their respective parts (below)...

/var/qmail/simscan/1493074576.527224.5829:
total 1472

-rw-r- 1 clamav vchkpw 37 Apr 24 16:56 
addr.1493074576.527224.5829

-rw-r- 1 clamav vchkpw  20719 Apr 24 16:56 __If_
-rw-r- 1 clamav vchkpw 846597 Apr 24 16:56 msg.1493074576.527224.5829
-rw-r- 1 clamav vchkpw  0 Apr 24 16:56 textfile0
-rw--- 1 clamav vchkpw   9090 Apr 24 16:56 textfile1
-rw--- 1 clamav vchkpw  47495 Apr 24 16:56 textfile2
-rw--- 1 clamav vchkpw 362496 Apr 24 16:56 WGS-VRV Indoor Units.doc
-rw--- 1 clamav vchkpw 203264 Apr 24 16:56 WGS-VRV IV 208-230V 
Heat Pump.doc


for examination.

There should be no log files in /var/qmail/simscan and their should 
be no old files there either.


Eric


On 9/3/2017 12:54 PM, Rajesh M wrote:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject:

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
On 9/3/2017 12:19 AM, Rajesh M wrote:

eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

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






--
Eric Broch
White Horse Technical Consulting (WHTC)



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 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] qq soft reject errors on high load

2017-09-03 Thread Rajesh M
eric

the logs are not in that simscan directory..

they re in the /var/log which is also in the same partition.

the files in the ls -l /var/qmail/simscan are temp ones which keep coming and 
going


rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 13:13:47 -0600
Subject:

Rajesh,


Those shouldn't be log files in that directory, but directories of this
form...

[root@mail ~]# ls -l /var/qmail/simscan
total 7
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525628.43125.19212
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525917.767516.19248
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.725762.19262
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.728000.19263
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.730011.19264
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525959.679164.19279
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525972.624759.19287

in which messages are broken into their respective parts (below)...

/var/qmail/simscan/1493074576.527224.5829:
total 1472

-rw-r- 1 clamav vchkpw     37 Apr 24 16:56 addr.1493074576.527224.5829
-rw-r- 1 clamav vchkpw  20719 Apr 24 16:56 __If_
-rw-r- 1 clamav vchkpw 846597 Apr 24 16:56 msg.1493074576.527224.5829
-rw-r- 1 clamav vchkpw      0 Apr 24 16:56 textfile0
-rw--- 1 clamav vchkpw   9090 Apr 24 16:56 textfile1
-rw--- 1 clamav vchkpw  47495 Apr 24 16:56 textfile2
-rw--- 1 clamav vchkpw 362496 Apr 24 16:56 WGS-VRV Indoor Units.doc
-rw--- 1 clamav vchkpw 203264 Apr 24 16:56 WGS-VRV IV 208-230V Heat
Pump.doc

for examination.

There should be no log files in /var/qmail/simscan and their should be
no old files there either.

Eric


On 9/3/2017 12:54 PM, Rajesh M wrote:
> eric
>
> around 1 gb spare.
>
> there are a lot of log files.
>
> rajesh
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Sun, 3 Sep 2017 11:21:24 -0600
> Subject:
>
> Rajesh,
>
> How much  available space is on the /var/qmail/simscan directory?
>
> Eric
> On 9/3/2017 12:19 AM, Rajesh M wrote:
>> eric
>>
>> i would like to conduct more load intensive tests.
>>
>> is it possible to provide me the shell script that you use for this purpose.
>>
>> 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


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Eric Broch
Are you sure they're log files in /var/qmail/simscan? They shouldn't be 
log files.



On 9/3/2017 1:17 PM, Rajesh M wrote:

i have over 50 gb of log files which can be deleted

rajesh

- Original Message -
From: Remo Mattei [mailto:r...@mattei.org]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 12:13:28 -0700
Subject:

1gb is not very much!

Il giorno 03 set 2017, alle ore 11:54, Rajesh M <24x7ser...@24x7server.net> ha 
scritto:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject:

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric

On 9/3/2017 12:19 AM, Rajesh M wrote:
eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

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

-
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


--
Eric Broch
White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Rajesh M
i have over 50 gb of log files which can be deleted

rajesh

- Original Message -
From: Remo Mattei [mailto:r...@mattei.org]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 12:13:28 -0700
Subject:

1gb is not very much!

Il giorno 03 set 2017, alle ore 11:54, Rajesh M <24x7ser...@24x7server.net> ha 
scritto:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject:

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
> On 9/3/2017 12:19 AM, Rajesh M wrote:
> eric
>
> i would like to conduct more load intensive tests.
>
> is it possible to provide me the shell script that you use for this purpose.
>
> 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

-
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] qq soft reject errors on high load

2017-09-03 Thread Eric Broch

Rajesh,


Those shouldn't be log files in that directory, but directories of this 
form...


[root@mail ~]# ls -l /var/qmail/simscan
total 7
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525628.43125.19212
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525917.767516.19248
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.725762.19262
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.728000.19263
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.730011.19264
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525959.679164.19279
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525972.624759.19287

in which messages are broken into their respective parts (below)...

/var/qmail/simscan/1493074576.527224.5829:
total 1472

-rw-r- 1 clamav vchkpw 37 Apr 24 16:56 addr.1493074576.527224.5829
-rw-r- 1 clamav vchkpw  20719 Apr 24 16:56 __If_
-rw-r- 1 clamav vchkpw 846597 Apr 24 16:56 msg.1493074576.527224.5829
-rw-r- 1 clamav vchkpw  0 Apr 24 16:56 textfile0
-rw--- 1 clamav vchkpw   9090 Apr 24 16:56 textfile1
-rw--- 1 clamav vchkpw  47495 Apr 24 16:56 textfile2
-rw--- 1 clamav vchkpw 362496 Apr 24 16:56 WGS-VRV Indoor Units.doc
-rw--- 1 clamav vchkpw 203264 Apr 24 16:56 WGS-VRV IV 208-230V Heat 
Pump.doc


for examination.

There should be no log files in /var/qmail/simscan and their should be 
no old files there either.


Eric


On 9/3/2017 12:54 PM, Rajesh M wrote:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject:

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
On 9/3/2017 12:19 AM, Rajesh M wrote:

eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

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] qq soft reject errors on high load

2017-09-03 Thread Remo Mattei
1gb is not very much! 

Il giorno 03 set 2017, alle ore 11:54, Rajesh M <24x7ser...@24x7server.net> ha 
scritto:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject: 

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
> On 9/3/2017 12:19 AM, Rajesh M wrote:
> eric
> 
> i would like to conduct more load intensive tests.
> 
> is it possible to provide me the shell script that you use for this purpose.
> 
> 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

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Eric Broch

You got the script?


On 9/3/2017 12:57 PM, Rajesh M wrote:

eric

yes. the idea is to use my backup server to run the script and send a large 
volume of email to the production server in the night to a single email account.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: 24x7ser...@24x7server.net
Sent: Sun, 3 Sep 2017 08:25:03 -0600
Subject:

Hi Rajesh,

I may have misunderstood your question. Are you requiring the script I
was using to load test my server? The one I was using to send myself email?

Or was it a script to monitor performance you were looking for?

Eric


On 9/3/2017 12:23 AM, Eric Broch wrote:

Sorry, Rajesh, I don't have one...I usually depend on the folk on line.


On 9/3/2017 12:19 AM, Rajesh M wrote:

eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Sat, 2 Sep 2017 14:04:36 -0600
Subject:

My testing was at about 1/2 that rate with 320K attachments, almost
double that rate with 1/2 email 320K attachments, and 1/2 email with no
attachments. No soft rejects. Ugh!...difficult to troubleshoot if not
repeatable.


On 9/2/2017 1:36 PM, Rajesh M wrote:

eric

thanks for the info. the script you sent works

the server processes roughly around 8 emails per day during week days and 
around 80 percent of it comes during around 12 hours. So during peak hours it 
is around 8000 emails per hour.

i will test this out monday morning peak hours and revert.

thanks
rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Sat, 2 Sep 2017 12:35:14 -0600
Subject:

Rajesh,

I'm still not sure the process limit is being reached.

I'm testing a COS6/QMT server now and haven't been able to bring about
'qq soft reject' or failure of any sort. I'm hitting it with email using
a delivery script from two servers with attachment size of 320KB.

try the script below (psmem) to monitor:



#!/bin/bash
ps -C $1 -O rss | gawk '{ count ++; sum += $2 }; END {count --; print
"Number of processes =",count; print "Memory usage per process
=",sum/1024/count, "MB"; print "Total memory usage =", sum/1024, "MB" ;};'



# chmod 755 psmem

# watch -n 1 ./psmem simscan


Not sure I should change anything until we figure out what's going on.

Eric



On 9/2/2017 12:03 PM, Rajesh M wrote:

eric

i could not get the bash script working with either of the two options. still 
gives error
 line 23: `return-limits': not a valid identifier.



can the limits issue in simscan be fixed ?

thanks,
rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 23:46:15 -0600
Subject:

Rajesh,

It has something to do with #!/bin/bash or #!/bin/sh.

At top of script, when I use #!/bin/sh I get the same error you do, but
when I use #!/bin/bash script works fine.


Eric


On 9/1/2017 11:07 PM, Rajesh M wrote:

eric

1) is their any resolution for this issue ?

2) if i run the script it throws error as such
.
/limits.sh: line 23: `return-limits': not a valid identifier

#!/bin/bash
if [ "$#" -ne "1" ]; then
echo ""
echo -e "\033[01;32mLimit checker\033[00m"
echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
echo ""
exit 0
fi

return-limits(){
for process in $@; do
   process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

   if [ -z $@ ]; then
  echo "[no $process running]"
   else
  for pid in $process_pids; do
 echo "[$process #$pid -- limits]"
 cat /proc/$pid/limits
   done
   fi
done
}
return-limits $1

rajesh



- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 17:28:40 -0600
Subject:

I sent myself a large file so that I could examine simscan with the
below script (limits.sh). Here's the output:

[root@pet105 simscan-1.4.0]# ./limits simscan
[simscan #31535 -- limits]
Limit   
    
    
    
    
  Soft Limit  
    
    
 Hard Limit   

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Rajesh M
eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject:

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
On 9/3/2017 12:19 AM, Rajesh M wrote:
> eric
>
> i would like to conduct more load intensive tests.
>
> is it possible to provide me the shell script that you use for this purpose.
>
> 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] qq soft reject errors on high load

2017-09-03 Thread Eric Broch

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
On 9/3/2017 12:19 AM, Rajesh M wrote:

eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

rajesh



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Rajesh M
eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sat, 2 Sep 2017 14:04:36 -0600
Subject:

My testing was at about 1/2 that rate with 320K attachments, almost
double that rate with 1/2 email 320K attachments, and 1/2 email with no
attachments. No soft rejects. Ugh!...difficult to troubleshoot if not
repeatable.


On 9/2/2017 1:36 PM, Rajesh M wrote:
> eric
>
> thanks for the info. the script you sent works
>
> the server processes roughly around 8 emails per day during week days and 
> around 80 percent of it comes during around 12 hours. So during peak hours it 
> is around 8000 emails per hour.
>
> i will test this out monday morning peak hours and revert.
>
> thanks
> rajesh
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Sat, 2 Sep 2017 12:35:14 -0600
> Subject:
>
> Rajesh,
>
> I'm still not sure the process limit is being reached.
>
> I'm testing a COS6/QMT server now and haven't been able to bring about
> 'qq soft reject' or failure of any sort. I'm hitting it with email using
> a delivery script from two servers with attachment size of 320KB.
>
> try the script below (psmem) to monitor:
>
> 
>
> #!/bin/bash
> ps -C $1 -O rss | gawk '{ count ++; sum += $2 }; END {count --; print
> "Number of processes =",count; print "Memory usage per process
> =",sum/1024/count, "MB"; print "Total memory usage =", sum/1024, "MB" ;};'
>
> 
>
> # chmod 755 psmem
>
> # watch -n 1 ./psmem simscan
>
>
> Not sure I should change anything until we figure out what's going on.
>
> Eric
>
>
>
> On 9/2/2017 12:03 PM, Rajesh M wrote:
>> eric
>>
>> i could not get the bash script working with either of the two options. 
>> still gives error
>>line 23: `return-limits': not a valid identifier.
>>
>>
>>
>> can the limits issue in simscan be fixed ?
>>
>> thanks,
>> rajesh
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To:qmailtoaster-list@qmailtoaster.com
>> Sent: Fri, 1 Sep 2017 23:46:15 -0600
>> Subject:
>>
>> Rajesh,
>>
>> It has something to do with #!/bin/bash or #!/bin/sh.
>>
>> At top of script, when I use #!/bin/sh I get the same error you do, but
>> when I use #!/bin/bash script works fine.
>>
>>
>> Eric
>>
>>
>> On 9/1/2017 11:07 PM, Rajesh M wrote:
>>> eric
>>>
>>> 1) is their any resolution for this issue ?
>>>
>>> 2) if i run the script it throws error as such
>>> .
>>> /limits.sh: line 23: `return-limits': not a valid identifier
>>>
>>> #!/bin/bash
>>> if [ "$#" -ne "1" ]; then
>>>   echo ""
>>>   echo -e "\033[01;32mLimit checker\033[00m"
>>>   echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
>>>   echo ""
>>>   exit 0
>>> fi
>>>
>>> return-limits(){
>>>   for process in $@; do
>>>  process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`
>>>
>>>  if [ -z $@ ]; then
>>> echo "[no $process running]"
>>>  else
>>> for pid in $process_pids; do
>>>echo "[$process #$pid -- limits]"
>>>cat /proc/$pid/limits
>>>  done
>>>  fi
>>>   done
>>> }
>>> return-limits $1
>>>
>>> rajesh
>>>
>>>
>>>
>>> - Original Message -
>>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>>> To:qmailtoaster-list@qmailtoaster.com
>>> Sent: Fri, 1 Sep 2017 17:28:40 -0600
>>> Subject:
>>>
>>> I sent myself a large file so that I could examine simscan with the
>>> below script (limits.sh). Here's the output:
>>>
>>> [root@pet105 simscan-1.4.0]# ./limits simscan
>>> [simscan #31535 -- limits]
>>> Limit   
>>>    
>>>    
>>>    
>>>    
>>>    
>>>    Soft Limit 
>>>    
>>>    
>>>     Hard 
>>> Limit   
>>>    
>>>    
>>>   Units
>>> Max cpu time   
>>>    
>>>    
>>>   ÂÂÂÂ