namespace...mailbox doesn't exist

2016-04-04 Thread Eric

Hello list,

I have a namespace called 'projects' which when clicked in Thunderbird 
(nonexistent in eM Client) yields the following error:


"The current operation on 'projects' did not succeed. The mail server 
for account
u...@domain.tld responded: mailbox doesn't exist: projects.projects 
(0.00 + 0.00 secs)."


The namespace is configure as follows:

# Shared namespace 'projects'
namespace {
   location = maildir:/home/vpopmail/domains/domain.tld/shared/projects
   prefix = projects.
   separator = .
   type = public
}

This is the log:
1: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: Effective uid=89, 
gid=89, home=/home/vpopmail/domains/domain.tld/postmaster
2: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: Quota root: 
name=ignore=Trash backend=maildir args=
3: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: Quota rule: 
root=ignore=Trash mailbox=? bytes=0 messages=0
4: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: Quota grace: 
root=ignore=Trash bytes=0 (10%)
5: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: Namespace : 
type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, 
subscriptions=yes location=
6: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: mdbox: 
access(/home/vpopmail/domains/domain.tld/postmaster/mdbox, rwx): failed: 
No such file or directory
7: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: mdbox: couldn't 
find root dir
8: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: sdbox: 
access(/home/vpopmail/domains/domain.tld/postmaster/sdbox, rwx): failed: 
No such file or directory
9: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: sdbox: couldn't 
find root dir
10: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: maildir: root 
exists (/home/vpopmail/domains/domain.tld/postmaster/Maildir)
11: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: maildir++: 
root=/home/vpopmail/domains/domain.tld/postmaster/Maildir, index=, 
indexpvt=, control=, 
inbox=/home/vpopmail/domains/domain.tld/postmaster/Maildir, alt=
12: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: Namespace : 
type=public, prefix=projects., sep=., inbox=no, hidden=no, list=yes, 
subscriptions=yes 
location=maildir:/home/vpopmail/domains/domain.tld/shared/projects
13: Apr 04 20:00:30 imap(postmas...@domain.tld): Debug: maildir++: 
root=/home/vpopmail/domains/domain.tld/shared/projects, index=, 
indexpvt=, control=, inbox=, alt=



This did not happen with other versions of dovecot (I think) but just 
started happening with the upgrade. While it is not
a serious problem and I can live with it, what would be causing it in 
the new dovecot iteration (2.2.23) ? And, could it be
that I'm missing the necessary setting to mitigate this? Please let me 
know if any additional information is necessary.


I'm thinking that the problem lies in lines 6/7 and 8/9 where Dovecot is 
looking for mdbox/sdbox.


Eric


Re: New feature: HTTP API

2016-04-04 Thread aki . tuomi

> On April 4, 2016 at 5:18 PM Tom Sommer  wrote:
> 
> 
> 
> On 2016-02-20 17:09, aki.tu...@dovecot.fi wrote:
> 
> > To use the API, you can go to http://host:8080/doveadm.
> 
> The documentation says http://host:8080/doveadm/v1 which is it?
> 
> > GET request will print
> > out possible commands, along with their parameters. If you have set API 
> > KEY, you
> > need to include it in the request as X-API-Key header.
> 
> The documentation says X-Doveadm-API, which is it?
> 
> A simple 1-line curl-example in the docs would do wonders :)
> 
> http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP
> 
> Thanks.
> 
> // Tom

Hi!

Yes, you're right.

I'll add this line to the docs as well, and also I discovered a bug in the code.
It will be fixed in next release. The response indicates X-Dovecot-API, but the
code uses X-Doveadm-API, this has been fixed to X-Dovecot-API.

For now, if you want to use BASIC authentication, you set doveadm_password to
something and use

curl -H "Authorization: Basic " http://server:8080/

to get acceptable routes

curl -H "Authorization: Basic "
http://server:8080/doveadm/v1

to get acceptable commands and their parameters

curl -H "Authorization: Basic "
http://server:8080/doveadm/v1

an example command would be

curl -H "Content-Type: application/json" -H "Authorization: Basic " -d
'[["fetch",{"user":"username","field":["uid"],"query":["mailbox","INBOX"]},"c01"]]'
http://server:8080/doveadm/v1

this should hopefully return something sensible, such as

[["doveadmResponse",[{"uid":"1"}],"c01"]]

Since the API is still a little beta, it will not return anything in case
doveadm does not like the arguments (that is, calls i_fatal). Also, success is
often indicated with 200 OK along with [["doveadmResponse",[],"c01"]].

We are going to improve the API in future release with v2, v1 is basically very
analogous to using doveadm cli.

Aki


Re: [PATCH 0/7] Fixes for lib-mail message-address

2016-04-04 Thread aki . tuomi

> On April 4, 2016 at 8:35 PM Pali Rohár  wrote:
> 
> 
> On Monday 04 April 2016 19:31:06 aki.tu...@dovecot.fi wrote:
> > Can you please send them directly to me, please?
> > ---
> > Aki Tuomi
> 
> Sent.
> 
> -- 
> Pali Rohár
> pali.ro...@gmail.com

Thanks.
---
Aki Tuomi


Re: [PATCH 0/7] Fixes for lib-mail message-address

2016-04-04 Thread Pali Rohár
On Monday 04 April 2016 19:31:06 aki.tu...@dovecot.fi wrote:
> Can you please send them directly to me, please?
> ---
> Aki Tuomi

Sent.

-- 
Pali Rohár
pali.ro...@gmail.com


Re: [PATCH 0/7] Fixes for lib-mail message-address

2016-04-04 Thread aki . tuomi

> On April 4, 2016 at 8:18 PM Pali Rohár  wrote:
> 
> 
> On Monday 04 April 2016 19:12:56 Pali Rohár wrote:
> > Hello,
> > 
> > I borrowed dovecot parser for email addresses and going to use it in new
> > perl module as replacement for Email::Address. During implementation and
> > testing I found bugs in dovecot parser & generator. So I'm sending my
> > patches together with tests.
> > 
> > Pali Rohár (7):
> >   lib-mail: message_address_write: Fix generating empty group list
> >   lib-mail: message_address_write: Fix generating group list with empty
> > name
> >   lib-mail: parse_addr_spec: Like in rfc822_skip_comment() check if
> > last_comment is not NULL
> >   lib-mail: parse_addr_spec: Email address without local-part is
> > invalid
> >   lib-mail: parse_mailbox: Set display name instead mailbox when
> > parsing failed
> >   lib-mail: message_address_write: Quote and escape strings if needed
> >   lib-mail: Update tests for message address
> > 
> >  src/lib-mail/message-address.c  |   99
> > +++
> >  src/lib-mail/test-message-address.c |   11 +++-
> >  2 files changed, 98 insertions(+), 12 deletions(-)
> > 
> 
> Again "Undelivered Mail Returned to Sender" :-( Cannot send them...
> 
> -- 
> Pali Rohár
> pali.ro...@gmail.com

Can you please send them directly to me, please?
---
Aki Tuomi


Re: [PATCH 0/7] Fixes for lib-mail message-address

2016-04-04 Thread Pali Rohár
On Monday 04 April 2016 19:12:56 Pali Rohár wrote:
> Hello,
> 
> I borrowed dovecot parser for email addresses and going to use it in new
> perl module as replacement for Email::Address. During implementation and
> testing I found bugs in dovecot parser & generator. So I'm sending my
> patches together with tests.
> 
> Pali Rohár (7):
>   lib-mail: message_address_write: Fix generating empty group list
>   lib-mail: message_address_write: Fix generating group list with empty
> name
>   lib-mail: parse_addr_spec: Like in rfc822_skip_comment() check if
> last_comment is not NULL
>   lib-mail: parse_addr_spec: Email address without local-part is
> invalid
>   lib-mail: parse_mailbox: Set display name instead mailbox when
> parsing failed
>   lib-mail: message_address_write: Quote and escape strings if needed
>   lib-mail: Update tests for message address
> 
>  src/lib-mail/message-address.c  |   99 
> +++
>  src/lib-mail/test-message-address.c |   11 +++-
>  2 files changed, 98 insertions(+), 12 deletions(-)
> 

Again "Undelivered Mail Returned to Sender" :-( Cannot send them...

-- 
Pali Rohár
pali.ro...@gmail.com


Re: enable/disable shared namespace in passdb

2016-04-04 Thread abi

>

hello all

i'm currently using passdb to enable and disable various namespaces
conditionally :  for example the following work

namespace/inbox/inbox=no
namespace/legacy_pfso/disabled=no
namespace/legacy_pfso/inbox=no
namespace/local_storage/disabled=no
namespace/comboINBOX_local_pfso/disabled=no
namespace/comboINBOX_local_pfso/inbox=yes

but i can't get things like the following to work

namespace/shared/disabled=yes

--

the shared namespace is configured as shown below

namespace shared {
 type = shared
 list = yes# children
 disabled = yes
 separator = /
 prefix = shared/%%u/
 location = imapc:~/dovemail/shared/%%u/
}

imapc_host = localhost
imapc_port = 143
imapc_password = superpassword# either super or a dummy
imapc_master_user = %u

--

it seems the shared namespaces do not have names any more so they can't
be modified dynamically

is there a way to circumvent ?  something i missed ?

i'm running 2.2.22 but i can switch easily to 2.2.9 or any other version
providing master_user or one of the variables that can let me know if a
master login was performed is available in passdb

the reason i'm doing this is so i can prevent long chains/loops from
occuring : then accessed by imapc: , the passdb should disable the
shared namespace so it does not produce (an)other imapc connection(s)

thanks for your help

alexis


hi all

bumping on my own...

i've tried to declare the namespace inside the imap protocol and adding 
the following extra protocol and listner


service imap-login-noshares {
protocol = imapnoshares
executable = imap-login
inet_listener imapnoshares {
address =
port = 20143
reuse_port = no
ssl = no
}
$login_process_common_stuff
}

protocol imapnoshares {
	# we need to clone imap stuff here... maybe not everything but at least 
quota and the likes

}

unfortunately it seems that the protocol is still 'imap' : the passdb 
and userdb queries still contain imap as the protocol name, the log 
displays imap(username), and it looks like the shared namespace is active.


the namespace is now declared like this

protocol imap {
namespace shared {
type = shared
list = yes  # children
#disabled = yes
separator = /
prefix = shared/%%u/
location = imapc:~/dovemail/shared/%%u/
}
}


any ideas ?

has anybody managed to get acls to work with imapc ?

thanks for your time

alexis


Re: New feature: HTTP API

2016-04-04 Thread Tom Sommer


On 2016-02-20 17:09, aki.tu...@dovecot.fi wrote:


To use the API, you can go to http://host:8080/doveadm.


The documentation says http://host:8080/doveadm/v1 which is it?


GET request will print
out possible commands, along with their parameters. If you have set API 
KEY, you

need to include it in the request as X-API-Key header.


The documentation says X-Doveadm-API, which is it?

A simple 1-line curl-example in the docs would do wonders :)

http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP

Thanks.

// Tom


Re: Migrating from Olde server to Dovecot

2016-04-04 Thread aki . tuomi
> the descriptions here are for moving between formats.
> http://wiki.dovecot.org/Migration/MailFormat
> Isn't mbox one big file that you can copy across ?
> I have just made a new server with Maildir format.
> Probably it is not the thing to do but I copied the old ~/Maildir/cur 
> contents to new ~/Maildir/new (or cur I forget which) seems to work 
> except they all get the same date.
> 
> 
> mick
> 

Hi!

mdbox is pretty good mix between maildir and mbox. Copying those files should 
work if you use option in copy to preserve timestamps.

> -- 
> key ID: 0x4BFEBB31

Aki Tuomi
Dovecot Oy


enable/disable shared namespace in passdb

2016-04-04 Thread abi


hello all

i'm currently using passdb to enable and disable various namespaces 
conditionally :  for example the following work


namespace/inbox/inbox=no
namespace/legacy_pfso/disabled=no
namespace/legacy_pfso/inbox=no
namespace/local_storage/disabled=no
namespace/comboINBOX_local_pfso/disabled=no
namespace/comboINBOX_local_pfso/inbox=yes

but i can't get things like the following to work

namespace/shared/disabled=yes

--

the shared namespace is configured as shown below

namespace shared {
type = shared
list = yes# children
disabled = yes
separator = /
prefix = shared/%%u/
location = imapc:~/dovemail/shared/%%u/
}

imapc_host = localhost
imapc_port = 143
imapc_password = superpassword		# either super or a dummy 
imapc_master_user = %u


--

it seems the shared namespaces do not have names any more so they can't 
be modified dynamically


is there a way to circumvent ?  something i missed ?

i'm running 2.2.22 but i can switch easily to 2.2.9 or any other version 
providing master_user or one of the variables that can let me know if a 
master login was performed is available in passdb


the reason i'm doing this is so i can prevent long chains/loops from 
occuring : then accessed by imapc: , the passdb should disable the 
shared namespace so it does not produce (an)other imapc connection(s)


thanks for your help

alexis


Re: Migrating from Olde server to Dovecot

2016-04-04 Thread mick crane

On 2016-04-04 07:49, Hendrik Velloen wrote:

Hi

I am new to the mailing List, and was hoping to get some assistance
migrating from an Old Cucipop + Sendmail server (running on a old 
Redhat v

7) to a new Dovecot setup.
My new installation is Dovecot + Postfix. All is setup and working, 
however

I want to trasnsfer the contents of the mailboxes from my old server to
this new Dovecot setup.

Please let me know what information will be required to transfer the
mailboxes - I have tried a number of things, but with no luck.

I think the correct method is the one below, but I am getting UIDL 
errors
and AUTH errors and not sure if this is the right approach   PLEASE 
HELP


dsync -u  mirror
mbox:~/mail:INBOX=

~#  dsync -u hendr...@tcmvpn.co.za mirror
mbox:~/mail:INBOX=/var/mail/User_mbox/hendrikv

dsync(hendr...@tcmvpn.co.za): Error: pop3c(196.26.136.162): AUTH PLAIN
failed: -ERR Invalid command, try one of: USER name, PASS string, APOP 
name

digest, QUIT
dsync(hendr...@tcmvpn.co.za): Error: pop3c: Disconnected from remote 
server
dsync(hendr...@tcmvpn.co.za): Error: pop3_migration: Couldn't sync 
mailbox
POP3-MIGRATION-NS/INBOX: Internal error occurred. Refer to server log 
for

more information. [2016-04-04 08:27:01]
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=ddbe5c71e58919cfe2a40905bced091d (UID=3054)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=64087a4c7bf960114cf17ba044047900 (UID=374)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=fd28baf9e91aedaf06c6e979ca76e96f (UID=2982)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=607087e611559d2df02c0684de87e10d (UID=991)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=c6a9aebd1f535f0cd82ed612a42bae77 (UID=1541)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=4c56ffcfb600c8b216b2f1603383dc13 (UID=1007)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=96ce5556fab323206f51deb03625be8a (UID=2357)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=cda74cb161321b7c99973cc65e80a591 (UID=1401)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=b735acf7ef69b39be157a97223878cdc (UID=642)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=6d9baedf21198be32152461f96737a1a (UID=481)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send 
mail

GUID=19f36b934b74ce11f1eda95e32a0b112 (UID=1998)
dsync(hendr...@tcmvpn.co.za): Error: Exporting mailbox INBOX failed: 
Can't

lookup pop3-uidl for UID=1: POP3 UIDLs couldn't be synce


the descriptions here are for moving between formats.
http://wiki.dovecot.org/Migration/MailFormat
Isn't mbox one big file that you can copy across ?
I have just made a new server with Maildir format.
Probably it is not the thing to do but I copied the old ~/Maildir/cur 
contents to new ~/Maildir/new (or cur I forget which) seems to work 
except they all get the same date.



mick





--
key ID: 0x4BFEBB31


Environment Variable Expansion

2016-04-04 Thread Tim Evers
System: Debian Jessie

I'm trying to put an environment variable in the sql config like:

password_query = SELECT userid AS user, crypt AS password, maildir as
userdb_home, 500 as userdb_uid, 500 as userdb_gid FROM local_account
WHERE userid = '%u' and mbox_host = '%{env:CLUSTERNAME}' \
and ( ( imap_aktiv='1' and '%s'='imap' ) or ( pop_aktiv='1' and
'%s'='pop3' ) or ( sieve_aktiv='1' and '%s'='sieve' ) ) \
and aktiv_abruf='1'

My variable is

%{env:CLUSTERNAME}

CLUSTERNAME is set through /etc/default/dovecot. I tried setting the
import_environment config variable to

TZ CLUSTERNAME

but that changed nothing.

When I execute this through a login attempt, I see the following in the
tcpflow output:

SELECT userid AS user, crypt AS password, maildir as userdb_home, 508 as
userdb_uid, 503 as userdb_gid FROM local_account WHERE userid = 'te' and
mbox_host = 'env:CLUSTERNAME}' and ( ( imap_aktiv='1' and 'pop3'='imap'
) or ( pop_aktiv='1' and 'pop3'='pop3' ) or ( sieve_aktiv='1' and
'pop3'='sieve' ) ) and aktiv_abruf='1'

So

%{env:CLUSTERNAME}

was parsed to

env:CLUSTERNAME}

which is not what the doc (http://wiki.dovecot.org/Variables) says, and
it also seems like the parser somehow sees this as a short variable
(removing %+{).

Any hints what might be happening here / how I can make it work.

Regards,

Tim


Re: v2.2.23 released

2016-04-04 Thread Teemu Huovila


On 31.03.2016 16:18, Hauke Fath wrote:
> On 03/30/16 14:48, Timo Sirainen wrote:
>> http://dovecot.org/releases/2.2/dovecot-2.2.23.tar.gz
>> http://dovecot.org/releases/2.2/dovecot-2.2.23.tar.gz.sig
>>
>> This is a bugfix-only release with various important fixes on top of v2.2.22.
> 
> ... the build breaks on NetBSD with
The build should work with 
https://github.com/dovecot/core/commit/4adefdb40c7ffcac3d8f8279cdf52d9f72d39636.
 Please report back, if it does not. 


> 
> [...]
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib 
> -I../../../src/lib-test -I../../../src/lib-master -I../../../src/lib-dict 
> -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage 
> -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir 
> -I../../../src/doveadm -std=gnu99 -O2 -Wall -W -Wmissing-prototypes 
> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 
> -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT quota-fs.lo 
> -MD -MP -MF .deps/quota-fs.Tpo -c quota-fs.c  -fPIC -DPIC -o .libs/quota-fs.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib 
> -I../../../src/lib-test -I../../../src/lib-master -I../../../src/lib-dict 
> -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage 
> -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir 
> -I../../../src/doveadm -std=gnu99 -O2 -Wall -W -Wmissing-prototypes 
> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 
> -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT 
> rquota_xdr.lo -MD -MP -MF .deps/rquota_xdr.Tpo -c rquota_xdr.c  -fPIC -DPIC 
> -o .libs/rquota_xdr.o
> libtool: link: ar cru .libs/lib10_doveadm_quota_plugin.a  doveadm-quota.o
> libtool: link: ranlib .libs/lib10_doveadm_quota_plugin.a
> libtool: link: ( cd ".libs" && rm -f "lib10_doveadm_quota_plugin.la" && ln -s 
> "../lib10_doveadm_quota_plugin.la" "lib10_doveadm_quota_plugin.la" )
> quota-fs.c: In function 'fs_quota_get_netbsd':
> quota-fs.c:695:7: error: 'i' undeclared (first use in this function)
> quota-fs.c:695:7: note: each undeclared identifier is reported only once for 
> each function it appears in
> Makefile:726: recipe for target 'quota-fs.lo' failed
> gmake[4]: *** [quota-fs.lo] Error 1
> gmake[4]: *** Waiting for unfinished jobs
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib 
> -I../../../src/lib-test -I../../../src/lib-master -I../../../src/lib-dict 
> -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage 
> -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir 
> -I../../../src/doveadm -std=gnu99 -O2 -Wall -W -Wmissing-prototypes 
> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 
> -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT 
> rquota_xdr.lo -MD -MP -MF .deps/rquota_xdr.Tpo -c rquota_xdr.c -o 
> rquota_xdr.o >/dev/null 2>&1
> mv -f .deps/quota-storage.Tpo .deps/quota-storage.Plo
> mv -f .deps/rquota_xdr.Tpo .deps/rquota_xdr.Plo
> gmake[4]: Leaving directory 
> '/var/obj/pkgsrc/mail/dovecot2/work/dovecot-2.2.23/src/plugins/quota'
> Makefile:456: recipe for target 'all-recursive' failed
> gmake[3]: *** [all-recursive] Error 1
> 
> 
> Cheerio,
> hauke
> 


Migrating from Olde server to Dovecot

2016-04-04 Thread Hendrik Velloen
Hi

I am new to the mailing List, and was hoping to get some assistance
migrating from an Old Cucipop + Sendmail server (running on a old Redhat v
7) to a new Dovecot setup.
My new installation is Dovecot + Postfix. All is setup and working, however
I want to trasnsfer the contents of the mailboxes from my old server to
this new Dovecot setup.

Please let me know what information will be required to transfer the
mailboxes - I have tried a number of things, but with no luck.

I think the correct method is the one below, but I am getting UIDL errors
and AUTH errors and not sure if this is the right approach   PLEASE HELP

dsync -u  mirror
mbox:~/mail:INBOX=

~#  dsync -u hendr...@tcmvpn.co.za mirror
mbox:~/mail:INBOX=/var/mail/User_mbox/hendrikv

dsync(hendr...@tcmvpn.co.za): Error: pop3c(196.26.136.162): AUTH PLAIN
failed: -ERR Invalid command, try one of: USER name, PASS string, APOP name
digest, QUIT
dsync(hendr...@tcmvpn.co.za): Error: pop3c: Disconnected from remote server
dsync(hendr...@tcmvpn.co.za): Error: pop3_migration: Couldn't sync mailbox
POP3-MIGRATION-NS/INBOX: Internal error occurred. Refer to server log for
more information. [2016-04-04 08:27:01]
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=ddbe5c71e58919cfe2a40905bced091d (UID=3054)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=64087a4c7bf960114cf17ba044047900 (UID=374)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=fd28baf9e91aedaf06c6e979ca76e96f (UID=2982)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=607087e611559d2df02c0684de87e10d (UID=991)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=c6a9aebd1f535f0cd82ed612a42bae77 (UID=1541)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=4c56ffcfb600c8b216b2f1603383dc13 (UID=1007)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=96ce5556fab323206f51deb03625be8a (UID=2357)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=cda74cb161321b7c99973cc65e80a591 (UID=1401)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=b735acf7ef69b39be157a97223878cdc (UID=642)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=6d9baedf21198be32152461f96737a1a (UID=481)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=19f36b934b74ce11f1eda95e32a0b112 (UID=1998)
dsync(hendr...@tcmvpn.co.za): Error: Exporting mailbox INBOX failed: Can't
lookup pop3-uidl for UID=1: POP3 UIDLs couldn't be synce

-- 
Kind Regards
Hendrik


[no subject]

2016-04-04 Thread Hendrik Velloen
Hi

I am new to the mailing List, and was hoping to get some assistance
migrating from an Old Cucipop + Sendmail server (running on a old Redhat v
7) to a new Dovecot setup.
My new installation is Dovecot + Postfix. All is setup and working, however
I want to trasnsfer the contents of the mailboxes from my old server to
this new Dovecot setup.

Please let me know what information will be required to transfer the
mailboxes - I have tried a number of things, but with no luck.

I think the correct method is the one below, but I am getting UIDL errors
and AUTH errors and not sure if this is the right approach   PLEASE HELP

dsync -u  mirror
mbox:~/mail:INBOX=

~#  dsync -u hendr...@tcmvpn.co.za mirror
mbox:~/mail:INBOX=/var/mail/User_mbox/hendrikv

dsync(hendr...@tcmvpn.co.za): Error: pop3c(196.26.136.162): AUTH PLAIN
failed: -ERR Invalid command, try one of: USER name, PASS string, APOP name
digest, QUIT
dsync(hendr...@tcmvpn.co.za): Error: pop3c: Disconnected from remote server
dsync(hendr...@tcmvpn.co.za): Error: pop3_migration: Couldn't sync mailbox
POP3-MIGRATION-NS/INBOX: Internal error occurred. Refer to server log for
more information. [2016-04-04 08:27:01]
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=ddbe5c71e58919cfe2a40905bced091d (UID=3054)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=64087a4c7bf960114cf17ba044047900 (UID=374)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=fd28baf9e91aedaf06c6e979ca76e96f (UID=2982)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=607087e611559d2df02c0684de87e10d (UID=991)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=c6a9aebd1f535f0cd82ed612a42bae77 (UID=1541)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=4c56ffcfb600c8b216b2f1603383dc13 (UID=1007)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=96ce5556fab323206f51deb03625be8a (UID=2357)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=cda74cb161321b7c99973cc65e80a591 (UID=1401)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=b735acf7ef69b39be157a97223878cdc (UID=642)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=6d9baedf21198be32152461f96737a1a (UID=481)
dsync(hendr...@tcmvpn.co.za): Error: Mailbox INBOX: Remote didn't send mail
GUID=19f36b934b74ce11f1eda95e32a0b112 (UID=1998)
dsync(hendr...@tcmvpn.co.za): Error: Exporting mailbox INBOX failed: Can't
lookup pop3-uidl for UID=1: POP3 UIDLs couldn't be synce






-- 
Kind Regards
Hendrik