Re: [Dovecot] dovecot nightly 20130117: dsync does returns "Name or service not known"

2013-01-23 Thread Evgeny Basov
> Should work now with latest hg (tomorrow's nightly build).
>
>

No, it doesn't. After update to 20130123:


doveadm(vmail): Debug: Loading modules from directory: /usr/lib64/dovecot
doveadm(vmail): Debug: Module loaded:
/usr/lib64/dovecot/lib10_quota_plugin.so
doveadm(vmail): Debug: Loading modules from directory:
/usr/lib64/dovecot/doveadm
doveadm(vmail): Debug: Skipping module doveadm_acl_plugin, because
dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so:
undefined symbol: acl_user_module (this is usually intentional, so just
ignore this message)
doveadm(vmail): Debug: Skipping module doveadm_expire_plugin, because
dlopen() failed:
/usr/lib64/dovecot/doveadm/lib10_doveadm_expire_plugin.so: undefined
symbol: expire_set_deinit (this is usually intentional, so just ignore
this message)
doveadm(vmail): Debug: Module loaded:
/usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so
doveadm(vmail): Debug: Skipping module doveadm_fts_plugin, because
dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so:
undefined symbol: fts_backend_rescan (this is usually intentional, so
just ignore this message)
doveadm(u...@example.org): Debug: auth input: u...@example.org
home=/var/vmail/example.org/user/ quota2_rule=*:storage=40M
nodelay=Y uid=999 gid=999
doveadm(u...@example.org): Debug: Added userdb setting: plugin/nodelay=Y
doveadm(u...@example.org): Debug: Added userdb setting:
plugin/quota2_rule=*:storage=40M
doveadm(u...@example.org): Debug: Effective uid=999, gid=999,
home=/var/vmail/example.org/user/
doveadm(u...@example.org): Debug: Quota root: name=Domain quota
backend=dict args=example.org:redis:host=127.0.0.1:prefix=domain/
doveadm(u...@example.org): Debug: Quota rule: root=Domain quota
mailbox=* bytes=0 messages=0
doveadm(u...@example.org): Debug: Quota rule: root=Domain quota
mailbox=Trash bytes=0 (5%) messages=0
doveadm(u...@example.org): Debug: Quota root: name=User quota
backend=dict args=:redis:host=127.0.0.1:prefix=user/
doveadm(u...@example.org): Debug: Quota rule: root=User quota mailbox=*
bytes=41943040 messages=0
doveadm(u...@example.org): Debug: Quota rule: root=User quota
mailbox=Trash bytes=+2097152 (5%) messages=0
doveadm(u...@example.org): Debug: dict quota: user=example.org,
uri=redis:host=127.0.0.1:prefix=domain/, noenforcing=0
doveadm(u...@example.org): Debug: dict quota: user=u...@example.org,
uri=redis:host=127.0.0.1:prefix=user/, noenforcing=0
doveadm(u...@example.org): Debug: Namespace inbox: type=private,
prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes
location=mdbox:/var/vmail/example.org/user:INDEX=/var/vmail_indexes/example.org/user/
doveadm(u...@example.org): Debug: fs: root=/var/vmail/example.org/user,
index=/var/vmail_indexes/example.org/user, indexpvt=, control=, inbox=, alt=
doveadm(u...@example.org): Debug: Namespace : Using permissions from
/var/vmail/example.org/user: mode=0700 gid=default
dsync(u...@example.org): Debug: Effective uid=999, gid=999,
home=/var/vmail/example.org/user/
dsync(u...@example.org): Debug: Quota root: name=Domain quota
backend=dict args=example.org:redis:host=127.0.0.1:prefix=domain/
dsync(u...@example.org): Debug: Quota rule: root=Domain quota mailbox=*
bytes=0 messages=0
dsync(u...@example.org): Debug: Quota rule: root=Domain quota
mailbox=Trash bytes=0 (5%) messages=0
dsync(u...@example.org): Debug: Quota root: name=User quota backend=dict
args=:redis:host=127.0.0.1:prefix=user/
dsync(u...@example.org): Debug: Quota rule: root=User quota mailbox=*
bytes=41943040 messages=0
dsync(u...@example.org): Debug: Quota rule: root=User quota
mailbox=Trash bytes=+2097152 (5%) messages=0
dsync(u...@example.org): Debug: dict quota: user=example.org,
uri=redis:host=127.0.0.1:prefix=domain/, noenforcing=0
dsync(u...@example.org): Debug: dict quota: user=u...@example.org,
uri=redis:host=127.0.0.1:prefix=user/, noenforcing=0
dsync(u...@example.org): Debug: Namespace inbox: type=private, prefix=,
sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=imapc:
dsync(u...@example.org): Debug: imapc: root=, index=, indexpvt=,
control=, inbox=, alt=
dsync(u...@example.org): Debug: imapc(imap.example.org:143): Looking up
IP address
dsync(u...@example.org): Debug: imapc(imap.example.org:143): Connecting
to 111.222.333.444:143
dsync(u...@example.org): Debug: imapc(imap.example.org:143): Server
capabilities: IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=PLAIN
AUTH=DIGEST-MD5 AUTH=CRAM-MD5 AUTH=LOGIN AUTH=SRP SASL-IR
dsync(u...@example.org): Debug: imapc(imap.example.org:143):
Authenticating as u...@example.org
dsync(u...@example.org): Debug: imapc(imap.example.org:143): Server
capabilities: IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxte QUOTA
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN
MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SORT SORT=MODSEQ
SORT=DISPLAY THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE
LIST-EXTENDED WITHIN QRESYNC SCAN XLIST URLAUTH URLAUTH

Re: [Dovecot] dovecot nightly 20130117: dsync does returns "Name or service not known"

2013-01-22 Thread Timo Sirainen
On Tue, 2013-01-22 at 10:21 +0400, Evgeny Basov wrote:
> I'm updated dovecot to 20130122 nightly build.
> 
> Try migration again and get this ones
> 
> $ dsync -D -v -o imapc_user="u...@example.org" -o imapc_password="password"  
> -o imapc_host=imap.example.org -o imapc_features=rfc822.size -o 
> mailbox_list_index=no  backup -R -f -u "u...@example.org" imapc:
..
> dsync(u...@example.org): Panic: file dsync-mailbox-tree-fill.c: line 72 
> (dsync_mailbox_tree_add): assertion failed: (status.uidvalidity != 0)

Should work now with latest hg (tomorrow's nightly build).




Re: [Dovecot] dovecot nightly 20130117: dsync does returns "Name or service not known"

2013-01-21 Thread Evgeny Basov
I'm updated dovecot to 20130122 nightly build.

Try migration again and get this ones

$ dsync -D -v -o imapc_user="u...@example.org" -o imapc_password="password"  -o 
imapc_host=imap.example.org -o imapc_features=rfc822.size -o 
mailbox_list_index=no  backup -R -f -u "u...@example.org" imapc:
doveadm(vmail): Debug: Loading modules from directory: /usr/lib64/dovecot
doveadm(vmail): Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
doveadm(vmail): Debug: Loading modules from directory: 
/usr/lib64/dovecot/doveadm
doveadm(vmail): Debug: Skipping module doveadm_acl_plugin, because dlopen() 
failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so: undefined 
symbol: acl_user_module (this is usually intentional, so just ignore this 
message)
doveadm(vmail): Debug: Skipping module doveadm_expire_plugin, because dlopen() 
failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_expire_plugin.so: undefined 
symbol: expire_set_deinit (this is usually intentional, so just ignore this 
message)
doveadm(vmail): Debug: Module loaded: 
/usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so
doveadm(vmail): Debug: Skipping module doveadm_fts_plugin, because dlopen() 
failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so: undefined 
symbol: fts_backend_rescan (this is usually intentional, so just ignore this 
message)
doveadm(u...@example.org): Debug: auth input: u...@example.org 
home=/var/vmail/example.org/user/ quota2_rule=*:storage=40M nodelay=Y 
uid=999 gid=999
doveadm(u...@example.org): Debug: Added userdb setting: plugin/nodelay=Y
doveadm(u...@example.org): Debug: Added userdb setting: 
plugin/quota2_rule=*:storage=40M
doveadm(u...@example.org): Debug: Effective uid=999, gid=999, 
home=/var/vmail/example.org/user/
doveadm(u...@example.org): Debug: Quota root: name=Domain quota backend=dict 
args=example.org:redis:host=127.0.0.1:prefix=domain/
doveadm(u...@example.org): Debug: Quota rule: root=Domain quota mailbox=* 
bytes=0 messages=0
doveadm(u...@example.org): Debug: Quota rule: root=Domain quota mailbox=Trash 
bytes=0 (5%) messages=0
doveadm(u...@example.org): Debug: Quota root: name=User quota backend=dict 
args=:redis:host=127.0.0.1:prefix=user/
doveadm(u...@example.org): Debug: Quota rule: root=User quota mailbox=* 
bytes=41943040 messages=0
doveadm(u...@example.org): Debug: Quota rule: root=User quota mailbox=Trash 
bytes=+2097152 (5%) messages=0
doveadm(u...@example.org): Debug: dict quota: user=example.org, 
uri=redis:host=127.0.0.1:prefix=domain/, noenforcing=0
doveadm(u...@example.org): Debug: dict quota: user=u...@example.org, 
uri=redis:host=127.0.0.1:prefix=user/, noenforcing=0
doveadm(u...@example.org): Debug: Namespace inbox: type=private, prefix=, sep=, 
inbox=yes, hidden=no, list=yes, subscriptions=yes 
location=mdbox:/var/vmail/example.org/user:INDEX=/var/vmail_indexes/example.org/user/
doveadm(u...@example.org): Debug: fs: root=/var/vmail/example.org/user, 
index=/var/vmail_indexes/example.org/user, indexpvt=, control=, inbox=, alt=
doveadm(u...@example.org): Debug: Namespace : Using permissions from 
/var/vmail/example.org/user: mode=0700 gid=default
dsync(u...@example.org): Debug: Effective uid=999, gid=999, 
home=/var/vmail/example.org/user/
dsync(u...@example.org): Debug: Quota root: name=Domain quota backend=dict 
args=example.org:redis:host=127.0.0.1:prefix=domain/
dsync(u...@example.org): Debug: Quota rule: root=Domain quota mailbox=* bytes=0 
messages=0
dsync(u...@example.org): Debug: Quota rule: root=Domain quota mailbox=Trash 
bytes=0 (5%) messages=0
dsync(u...@example.org): Debug: Quota root: name=User quota backend=dict 
args=:redis:host=127.0.0.1:prefix=user/
dsync(u...@example.org): Debug: Quota rule: root=User quota mailbox=* 
bytes=41943040 messages=0
dsync(u...@example.org): Debug: Quota rule: root=User quota mailbox=Trash 
bytes=+2097152 (5%) messages=0
dsync(u...@example.org): Debug: dict quota: user=example.org, 
uri=redis:host=127.0.0.1:prefix=domain/, noenforcing=0
dsync(u...@example.org): Debug: dict quota: user=u...@example.org, 
uri=redis:host=127.0.0.1:prefix=user/, noenforcing=0
dsync(u...@example.org): Debug: Namespace inbox: type=private, prefix=, sep=, 
inbox=yes, hidden=no, list=yes, subscriptions=yes location=imapc:
dsync(u...@example.org): Debug: imapc: root=, index=, indexpvt=, control=, 
inbox=, alt=
dsync(u...@example.org): Debug: imapc(imap.example.org:143): Looking up IP 
address
dsync(u...@example.org): Debug: imapc(imap.example.org:143): Connecting to 
111.222.333.444:143
dsync(u...@example.org): Debug: imapc(imap.example.org:143): Server 
capabilities: IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=PLAIN AUTH=DIGEST-MD5 
AUTH=CRAM-MD5 AUTH=LOGIN AUTH=SRP SASL-IR
dsync(u...@example.org): Debug: imapc(imap.example.org:143): Authenticating as 
u...@example.org
dsync(u...@example.org): Debug: imapc(imap.example.org:143): Server 
capabilities: IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxte QUOTA 
MAILBOX-REFERRALS NAMESPA

Re: [Dovecot] dovecot nightly 20130117: dsync does returns "Name or service not known"

2013-01-17 Thread Evgeny Basov
More debug ouput:

$ dsync -D -v -o imapc_user="u...@example.org" -o 
imapc_password="password"  -o imapc_host=imap.example.org -o
imapc_features=rfc822.size -o mailbox_list_index=no  backup -R -f -u
"u...@example.org" imapc:
doveadm(vmail): Debug: Loading modules from directory: /usr/lib64/dovecot
doveadm(vmail): Debug: Module loaded:
/usr/lib64/dovecot/lib10_quota_plugin.so
doveadm(vmail): Debug: Loading modules from directory:
/usr/lib64/dovecot/doveadm
doveadm(vmail): Debug: Skipping module doveadm_acl_plugin, because
dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so:
undefined symbol: acl_user_module (this is usually intentional, so just
ignore this message)
doveadm(vmail): Debug: Skipping module doveadm_expire_plugin, because
dlopen() failed:
/usr/lib64/dovecot/doveadm/lib10_doveadm_expire_plugin.so: undefined
symbol: expire_set_deinit (this is usually intentional, so just ignore
this message)
doveadm(vmail): Debug: Module loaded:
/usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so
doveadm(vmail): Debug: Skipping module doveadm_fts_plugin, because
dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so:
undefined symbol: fts_backend_rescan (this is usually intentional, so
just ignore this message)
doveadm(u...@example.org): Debug: auth input: u...@example.org
home=/var/vmail/example.org/user/ quota2_rule=*:storage=40M
nodelay=Y uid=999 gid=999
doveadm(u...@example.org): Debug: Added userdb setting: plugin/nodelay=Y
doveadm(u...@example.org): Debug: Added userdb setting:
plugin/quota2_rule=*:storage=40M
doveadm(u...@example.org): Debug: Effective uid=999, gid=999,
home=/var/vmail/example.org/user/
doveadm(u...@example.org): Debug: Quota root: name=Domain quota
backend=dict args=example.org:redis:host=127.0.0.1:prefix=domain/
doveadm(u...@example.org): Debug: Quota rule: root=Domain quota
mailbox=* bytes=0 messages=0
doveadm(u...@example.org): Debug: Quota rule: root=Domain quota
mailbox=Trash bytes=0 (5%) messages=0
doveadm(u...@example.org): Debug: Quota root: name=User quota
backend=dict args=:redis:host=127.0.0.1:prefix=user/
doveadm(u...@example.org): Debug: Quota rule: root=User quota mailbox=*
bytes=41943040 messages=0
doveadm(u...@example.org): Debug: Quota rule: root=User quota
mailbox=Trash bytes=+2097152 (5%) messages=0
doveadm(u...@example.org): Debug: dict quota: user=example.org,
uri=redis:host=127.0.0.1:prefix=domain/, noenforcing=0
doveadm(u...@example.org): Debug: dict quota: user=u...@example.org,
uri=redis:host=127.0.0.1:prefix=user/, noenforcing=0
doveadm(u...@example.org): Debug: Namespace inbox: type=private,
prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes
location=mdbox:/var/vmail/example.org/user:INDEX=/var/vmail_indexes/example.org/user/
doveadm(u...@example.org): Debug: fs: root=/var/vmail/example.org/user,
index=/var/vmail_indexes/example.org/user, indexpvt=, control=, inbox=, alt=
doveadm(u...@example.org): Debug: Namespace : Using permissions from
/var/vmail/example.org/user: mode=0700 gid=default
ssh: Could not resolve hostname remote: Name or service not known
dsync-local(u...@example.org): Debug: brain M: in state=send_mailbox_tree
dsync-local(u...@example.org): Debug: brain M: out
state=send_mailbox_tree_deletes changed=1
dsync-local(u...@example.org): Debug: brain M: in
state=send_mailbox_tree_deletes
dsync-local(u...@example.org): Debug: brain M: out
state=recv_mailbox_tree changed=1
dsync-local(u...@example.org): Debug: brain M: in state=recv_mailbox_tree
dsync-local(u...@example.org): Error: read(remote) failed: EOF
dsync-local(u...@example.org): Debug: brain M: out
state=recv_mailbox_tree changed=0
dsync-local(u...@example.org): Error: Remote command returned error 255

$ ping imap.example.org
PING imap.example.org (111.222.333.444) 56(84) bytes of data.
64 bytes from mail.example.org (111.222.333.444): icmp_req=1 ttl=63
time=0.700 ms
64 bytes from mail.example.org (111.222.333.444): icmp_req=2 ttl=63
time=0.500 ms




17.01.2013 17:31, Evgeny Basov пишет:
> Hello.
>
> I have this settings of imapc:
>
> # doveconf -a | grep imapc
> imapc_features =
> imapc_host =
> imapc_list_prefix =
> imapc_master_user =
> imapc_max_idle_time = 29 mins
> imapc_password =
> imapc_port = 143
> imapc_rawlog_dir =
> imapc_ssl = no
> imapc_ssl_ca_dir =
> imapc_ssl_verify = yes
> imapc_user = %u