Re: Dovecot, FreeBSD, and Solr?

2019-07-26 Thread Patrick Mahan via dovecot
On Fri, Jul 26, 2019 at 2:44 PM @lbutlr via dovecot 
wrote:

> On 26 Jul 2019, at 09:35, dove...@filter.demeijer.com wrote:
> > I basically followed https://www.c0ffee.net/blog/mail-server-guide/ And
> > dovecot with solr is running fine on freebsd for me.
>
> Thanks for that link, looks very straight-forward.
>
>
I too followed that guide for setting up dovecot+postfix+solr.  The one
major caveat is that the binary dovecot package does not have solr support
and I had to build it from the port source tree and enable it.


>
> --
> Nothing says poor craftsmanship more than wrinkled duct tape.
>
>


Re: Dovecot, FreeBSD, and Solr?

2019-07-26 Thread @lbutlr via dovecot
On 26 Jul 2019, at 09:35, dove...@filter.demeijer.com wrote:
> I basically followed https://www.c0ffee.net/blog/mail-server-guide/ And
> dovecot with solr is running fine on freebsd for me.

Thanks for that link, looks very straight-forward.


-- 
Nothing says poor craftsmanship more than wrinkled duct tape.



Re: doveadm migration to server with no root access

2019-07-26 Thread jon rose via dovecot
Thanks



--
Sent from: http://dovecot.2317879.n4.nabble.com/


Re: Dovecot, FreeBSD, and Solr?

2019-07-26 Thread J. de Meijer via dovecot
> Hello,
>
> Does anyone have this combination going? I'm running freebsd and
dovecot, to which i'd like to add solr text search. I am stuck on xml
schema integration, if anyone has any notes i'd appreciate them.

I basically followed https://www.c0ffee.net/blog/mail-server-guide/ And
dovecot with solr is running fine on freebsd for me.






Re: Dovecot, FreeBSD, and Solr?

2019-07-26 Thread Christian Kivalo via dovecot



On July 26, 2019 5:03:02 PM GMT+02:00, David Mehler via dovecot 
 wrote:
>Hello,
>
>Does anyone have this combination going? I'm running freebsd and
>dovecot, to which i'd like to add solr text search. I am stuck on xml
>schema integration, if anyone has any notes i'd appreciate them.
Have you read the wiki  https://wiki.dovecot.org/Plugins/FTS/Solr and  the many 
threads on this mailinglist about dovecot & solr in the last few months?

What's not working?
>Thanks.
>Dave.

-- 
Christian Kivalo


Dovecot, FreeBSD, and Solr?

2019-07-26 Thread David Mehler via dovecot
Hello,

Does anyone have this combination going? I'm running freebsd and
dovecot, to which i'd like to add solr text search. I am stuck on xml
schema integration, if anyone has any notes i'd appreciate them.

Thanks.
Dave.


Re: doveadm migration to server with no root access

2019-07-26 Thread Sami Ketola via dovecot
Hi,

most likely no. You need to ask the admin of the server to do the migration.

Sami


> On 26 Jul 2019, at 17.11, jon rose via dovecot  wrote:
> 
> Hi Sami
> 
> Thanks for your response.
> 
> Is it then possible to run doveadm without root permission? I've tried, but
> get the following errors (using the same kind of setup as my initial post).
> 
> command:
> doveadm -D -v -c /root/tmp/dovecot_hetz.conf -o mail_fsync=never backup -u
> t...@propertyzone.co.za pop3c:
> response:
> doveadm(t...@propertyzone.co.za): Error: userdb lookup:
> connect(/var/run/dovecot/auth-userdb) failed: Permission denied
> (euid=1264(propenmnvk) egid=1264(propenmnvk) missing +r perm:
> /var/run/dovecot/auth-userdb, we're not in group 8(mail), dir owned by 0:0
> mode=0755)
> doveadm(t...@propertyzone.co.za): Error: User lookup failed: Internal error
> occurred. Refer to server log for more information.
> 
> 
> 
> --
> Sent from: http://dovecot.2317879.n4.nabble.com/



Re: doveadm migration to server with no root access

2019-07-26 Thread jon rose via dovecot
Hi Sami

Thanks for your response.

Is it then possible to run doveadm without root permission? I've tried, but
get the following errors (using the same kind of setup as my initial post).

command:
doveadm -D -v -c /root/tmp/dovecot_hetz.conf -o mail_fsync=never backup -u
t...@propertyzone.co.za pop3c:
response:
doveadm(t...@propertyzone.co.za): Error: userdb lookup:
connect(/var/run/dovecot/auth-userdb) failed: Permission denied
(euid=1264(propenmnvk) egid=1264(propenmnvk) missing +r perm:
/var/run/dovecot/auth-userdb, we're not in group 8(mail), dir owned by 0:0
mode=0755)
doveadm(t...@propertyzone.co.za): Error: User lookup failed: Internal error
occurred. Refer to server log for more information.



--
Sent from: http://dovecot.2317879.n4.nabble.com/


Re: doveadm migration to server with no root access

2019-07-26 Thread Sami Ketola via dovecot
Hi,

you can't migrate by pushing to imapc: or pop3c: host. It's not supported and 
in fact is not even possible without losing data.

you need to pull the mails by running doveadm on the new server.

Sami


> On 26 Jul 2019, at 16.13, jon rose via dovecot  wrote:
> 
> Hi
> 
> I am trying to do mailbox migrations using doveadm to a server that I do not
> have root access on without success. Is this possible?
> 
> What I have done and results:
> 
> ssh to server with mailboxes to copy and then su
> cp /etc/dovecot/dovecot.conf  /root/tmp/dovecot_new.conf
> append text below** to end of dovecot_new.conf
> try to copy mail 3 different ways (all fail see error messages)
> 
> doveadm -D -v -c /root/tmp/dovecot_new.conf -o mail_fsync=never sync -1 -u
> t...@propertyzone.co.za pop3c:
> fail with: Error: Mailbox INBOX.Archive sync: mailbox_set_subscribed failed:
> Subscriptions not supported
> 
> doveadm -D -v -c /root/tmp/dovecot_new.conf -o mail_fsync=never sync -u
> t...@propertyzone.co.za pop3c:
> fail with: Error: Can't create mailbox INBOX.Archive: POP3 mailbox creation
> isn't supported
> 
> doveadm -D -v -c /root/tmp/dovecot_new.conf -o mail_fsync=never backup -u
> t...@propertyzone.co.za pop3c:
> fail with: dsync(t...@propertyzone.co.za): Panic: file
> mailbox-list-delete.c: line 473 (mailbox_list_delete_symlink_default):
> assertion failed: (ret > 0)
> 
> 
> ** append at end of dovecot_new.conf  
>   
>   
> 
> pop3c_host = dedi225.jnb3.host-h.net
> pop3c_user = t...@propertyzone.co.za
> pop3c_password = *
> namespace inbox {
>  inbox = yes
> }
> namespace {
>  prefix = POP3-MIGRATION-NS/
>  location = pop3c:
>  list = no
>  hidden = yes
> }
> protocol doveadm {
>  mail_plugins = $mail_plugins pop3_migration
> }
> plugin {
>  pop3_migration_mailbox = POP3-MIGRATION-NS/INBOX
> 
> 
> 
> 
> 
> --
> Sent from: http://dovecot.2317879.n4.nabble.com/



doveadm migration to server with no root access

2019-07-26 Thread jon rose via dovecot
Hi

I am trying to do mailbox migrations using doveadm to a server that I do not
have root access on without success. Is this possible?

What I have done and results:

ssh to server with mailboxes to copy and then su
cp /etc/dovecot/dovecot.conf  /root/tmp/dovecot_new.conf
append text below** to end of dovecot_new.conf
try to copy mail 3 different ways (all fail see error messages)

doveadm -D -v -c /root/tmp/dovecot_new.conf -o mail_fsync=never sync -1 -u
t...@propertyzone.co.za pop3c:
fail with: Error: Mailbox INBOX.Archive sync: mailbox_set_subscribed failed:
Subscriptions not supported

doveadm -D -v -c /root/tmp/dovecot_new.conf -o mail_fsync=never sync -u
t...@propertyzone.co.za pop3c:
fail with: Error: Can't create mailbox INBOX.Archive: POP3 mailbox creation
isn't supported

doveadm -D -v -c /root/tmp/dovecot_new.conf -o mail_fsync=never backup -u
t...@propertyzone.co.za pop3c:
fail with: dsync(t...@propertyzone.co.za): Panic: file
mailbox-list-delete.c: line 473 (mailbox_list_delete_symlink_default):
assertion failed: (ret > 0)


** append at end of dovecot_new.conf


  
pop3c_host = dedi225.jnb3.host-h.net
pop3c_user = t...@propertyzone.co.za
pop3c_password = *
namespace inbox {
  inbox = yes
}
namespace {
  prefix = POP3-MIGRATION-NS/
  location = pop3c:
  list = no
  hidden = yes
}
protocol doveadm {
  mail_plugins = $mail_plugins pop3_migration
}
plugin {
  pop3_migration_mailbox = POP3-MIGRATION-NS/INBOX





--
Sent from: http://dovecot.2317879.n4.nabble.com/