Skipped because not active

2021-03-02 Thread
config:

mail_attribute_dict = file:%h/dovecot-attributes
mailbox_list_index=yes
plugin {
push_notification_driver = dlog
push_notification_driver = ox:url=http://127.0.0.1:80/notify-example.php
}
protocol imap {
mail_plugins = autocreate notify push_notification
imap_metadata = yes
}
protocol lda {
mail_plugins = autocreate notify push_notification
log_path = /var/log/lda.log
}
Error:
Debug: push-notification-ox: Skipped because not active 
(/private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify 
METADATA not set)

a question about dovecot-sieve

2016-07-07 Thread


question discribe:

example: 

 > vim .dovecot.sieve

 require
["fileinto"];

 # rule:[filter1]

 if anyof (header :contains "Subject"
"测试邮件")

 {

 fileinto "sieve";

 }

when i write a mail ,give subject
"这是一封测试邮件" , then server convert this subject to "

SUBJECT:
=?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=B8=80=E5=B0=81=E6=B5=8B=E8=AF=95=E9=82=AE?=
=?UTF-8?Q?=E4=BB=B6?=

" 

the essential question is when the mail go
through dovecot-sieve plugin, the sieve plugin get mail subject is "这是一封测试邮
件" not "这是一封测试邮件",there is a extra space added(which as segmentation
between "=?UTF-8?Q?").

SIMPLY SAY:edit subject"这是一封测试邮件" ——>server convert
"SUBJECT:
=?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=B8=80=E5=B0=81=E6=B5=8B=E8=AF=95=E9=82=AE?=
=?UTF-8?Q?=E4=BB=B6?="——>sieve plugin get "这是一封测试邮 件"

The result is filter
failure. is this a bug ? How can I avoid it? 

thanks 


the file dovecot-uidlist.lock appear then deadlock

2015-07-02 Thread
hi:
sometimes i can't use imap command to get mails, when this problem appear i 
find out the file dovecot-uidlist.lock appear at the same time . I don't know 
Why is this happening ? can you help me ? 
   thanks !

Re:Re: the file dovecot-uidlist.lock appear then deadlock

2015-07-02 Thread
dovecot -n 
  log_path: /var/log/maillog
protocols: pop3 pop3s imap imaps bport
ssl_cert_file: /etc/pki/NSMail/SSL.cert
ssl_key_file: /etc/pki/NSMail/SSL.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
first_valid_uid: 150
mail_uid: 199
mail_gid: 199
mail_location: maildir:/%Lh/%Ld/%Ln/:INDEX=/%Lh/%Ld/%Ln/
mmap_disable: yes
mail_nfs_index: yes
mail_drop_priv_before_exec: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugins(default): quota imap_quota zlib mdec imap_acl acl autocreate expire
mail_plugins(imap): quota imap_quota zlib mdec imap_acl acl autocreate expire
mail_plugins(pop3): quota zlib mdec expire
mail_plugin_dir(default): /usr/lib64/dovecot/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3
pop3_no_flag_updates(default): no
pop3_no_flag_updates(imap): no
pop3_no_flag_updates(pop3): yes
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
namespace:..


The exceptions log
   Jun 29 09:44:49 IMAP(pub...@test.com): Error: *** %n in writable segment 
detected ***
   Jun 29 09:44:49 dovecot: Error: child 138430 (imap) killed with signal 6 
(core dumped)
   Jun 29 09:44:50 mail postfix/smtpd[58328]: warning: hostname[127.0.0.1]: 
SASL LOGIN authentication failed: UGFzc3dvcmQ6
   Jun 29 09:44:50 mail postfix/smtpd[58328]: lost connection after AUTH from 
hostname[127.0.0.1]
   Jun 29 09:44:50 mail postfix/smtpd[58328]: disconnect from 
hostname[127.0.0.1]
   Jun 29 09:44:51 mail postfix/smtpd[29019]: connect from hostname[127.0.0.1]

when there are too many new messages in INBOX  (about 4000 new messages) ,  I 
can't open INBOX by webmail to check new e-mails . 
at the same time there is a lock file named dovecot-uidlist.lock still in 
maildir directory . I have never see this file ,I guess dovecot-uidlist is 
locked by dovecot-uidlist.lock and no longre unlocked so dovecot-uidlist can't 
be operation then I unable to access mailbox. this is my guess , 
dovecot-uidlist.lock appears under what conditions? 






At 2015-07-02 17:36:23, Steffen Kaiser skdove...@smail.inf.fh-brs.de wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 2 Jul 2015, 刘莹莹 wrote:

sometimes i can't use imap command to get mails, when this problem appear 
 i find out the file dovecot-uidlist.lock appear at the same time . I don't 
 know Why is this happening ? can you help me ?

+ post the output of: doveconf -n
+ post the last entries in the log and
+ explain what can't use imap command means, do you login with a mail 
client or do you use the command line
+ when this happens, please run  post: doveadm who

- -- 
Steffen Kaiser
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEVAwUBVZUGGHz1H7kL/d9rAQKeZQf9Gk2yYVgAwsyXTxOww9P6kUA7PgUJpgTQ
RQGQtrBokxGXcUzBTVqLoJs1rpI+qsF0AxR2yTKwhTnqbzGnbToxlRddyQVkA+wE
6WGVbrQcX58mXYjRFFyig5HPUPHgmVBDUZudVgVCQIYnDe/zs3kIE3Nh5JLhblMv
vNGJeHpzpG1yg/c7gOjhFsqNbaFeXecVTEpRlO+PwnkdogYqfUug0ul9MfHzQRi1
/KM9DO7SkPyYDG6KZGsxKcAOMoGRAmSw9I2taYtsBF3yFFV058y/+vRFHxdHTLkb
taust3ggt6UhSPOsmkdO8WD5JwYG7VmZ9XBJaWTaqjHInzcXyUhwIQ==
=/hUd
-END PGP SIGNATURE-


what's the different between the processes dovecot-auth and dovecot -w

2015-05-19 Thread
hi:
what's the different between the processes dovecot-auth and dovecot -w ? 
What's the function on each of them ?
 thanks 

auth(default) :Aborted: Worker is buggy

2014-11-27 Thread
Hi dovecot
when I modify SIEVE_DEFAULT_MAX_REDIRECTS = 25 in 
sieve-file:dovecot-1.2-sieve-0.1.7/src/lib-sieve/sieve-limits.h 
I found this problem occurs about once a week,I'm not sure if it was caused by 
modify  SIEVE_DEFAULT_MAX_REDIRECTS = 25 , defaulte is 
SIEVE_DEFAULT_MAX_REDIRECTS = 4:
LOG:
Nov 25 11:20:12 imap-login: Info: Login: user=a...@rails.cn, method=PLAIN, 
rip=127.0.0.1, lip=127.0.0.1, secured
Nov 25 11:20:12 auth(default): Error: BUG: Worker sent reply with id 230, 
expected 231
Nov 25 11:20:12 auth(default): Error: worker-server(l...@rails.cn,127.0.0.1): 
Aborted: Worker is buggy
dovecot -n:
namespace:
  type: private
  separator: /
  inbox: yes
  list: yes
  subscriptions: yes
namespace:
  type: shared
  separator: /
  prefix: shared/%%u/
  location: maildir:%Lh/%Ld/%%n/:INDEX=%Lh/%Ld/%Ln/shared/%%u
  list: children
auth default:
  mechanisms: plain login
  default_realm: com
  user: txmail
  master_user_separator: *
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
driver: passwd-file
args: /etc/dovecot.master
pass: yes
master: yes
  passdb:
driver: dict
args: /etc/dovecot-memcached.conf
  userdb:
driver: dict
args: /etc/dovecot-memcached.conf
  socket:
type: listen
client:
  path: /var/spool/postfix/dovecot-auth
  mode: 438
  user: postfix
  group: postfix
master:
  path: /var/run/dovecot/auth-master
  mode: 438
  user: txmail
  group: txmail
plugin:
  quota_warning: storage=90%% %Lh/bin/dovecot-quota-warning.sh 90 %u
  quota_warning2: storage=95%% %Lh/bin/dovecot-quota-warning.sh 95 %u
  acl: vfile
  acl_shared_dict: file:/%Lh/%Ld/shared-mailboxes.db
  quota: maildir
  quota_rule: *:storage=10M
  expire: * 7
  expire_dict: proxy::expire
  auth_socket_path: /var/run/dovecot/auth-master
  sieve: /opt/nsmail/data/sieve/%Ld/%Ln/.dovecot.sieve
  autocreate: trash
  autosubscribe: trash
  autocreate2: rubbishs
  autosubscribe2: rubbishs
  autocreate3: XfJT0ZABkK5O9g-
  autosubscribe3: XfJT0ZABkK5O9g-
  autocreate4: g0l6Pw-
  autosubscribe4: g0l6Pw-
  autocreate5: decrypt
dict:
  expire: mysql:/etc/dovecot-expire.conf
THANKS  
YINGYING




[Dovecot] A question of imap timeout exit

2013-08-26 Thread
hello:
I have a question on imap process:
   if a client connect to dovecot like foxmail(version 10) , dovecot  will 
start at least 3 imap processes , and these imap processes will online until 
client logout , if the client not logout ,the imap process will always online.  
this is similar to the long connection  and  imap's auto logout timer is not 
effect in this case.
   now I have two questions:
1: if there are a large number of users online at the same time ( eg about 30 
000 users): so dovecot should shart at least 30 000 * 3 imap processes,  if 
user not logout ,so many processes are online all the time .this is terrible.  
I dot'n know if there is a solution ??
now I have changed the timeout = 2min and test ,dovecot active disconnected 
imap process ,but I don't think this is a appropriate option.
 
2: I want to know why auto logout timer duration of IMAP protocol must be not 
less than 30 minuters ??
 
My English is not vary good ,I'm sorry but I really want to know the answer .
thanks