Recommended tool for migrating IMAP servers

2017-12-03 Thread Davide Marchi
Hi Friends, I would like to ask you a suggestion: I need to migrate a imap server to a new one and then dismiss the old one. Reading from relative Dovecot documentation page (https://wiki.dovecot.org/Migration), more tools are shown: UW-IMAP's mailutil, imapsync, YippieMove and Larch. The eac

Re: Recommended tool for migrating IMAP servers

2017-12-04 Thread Davide Marchi
[..] Hi, I vouch for imapsync. Have used it in the past with quite a big amount of emails. cheers. x0p Ah, thanks x0! Also if you have fs access on both servers, and you are using maildir, plain rsync works just as well. Aki no, I've not fs access on both servers! :-/ If you want to

Re: Recommended tool for migrating IMAP servers

2017-12-11 Thread Davide Marchi
Il 2017-12-05 07:16 Sami Ketola ha scritto: [..] Trust us. We have run multiple migrations at scale of 10+ million users. Sami However, it seems that Imapsync has license issues and in fact it's not included in the Debian repositories. Is it to be used anyway or should be avoid? Many tha

Re: Recommended tool for migrating IMAP servers

2017-12-13 Thread Davide Marchi
Sami Ketola wrote:> We run all our migrations using Dovecot internal dsync. Usually using imapc connector to connect to legacy platform. Wqmi Many thanks Wqmi! Well, I've read the dsync documentation, but this warning has me a little worried: "Make sure destination is exactly as source, del

Re: Recommended tool for migrating IMAP servers

2017-12-15 Thread Davide Marchi
[..] Well, I've read the dsync documentation, but this warning has me a little worried: "Make sure destination is exactly as source, deleting/reverting any changes in destination if necessary" This is when you use the 'backup' option. Dsync then makes 1:1 copy of the source. If you use 'sync

Dovecot path separator clarification

2017-12-15 Thread Davide Marchi
Hi Friends, On Debian Jessie and Dovecot 1:2.2.x using the default separator "/" (simply leave commented 10-mail.conf -> "#separator =") I've create for a vuser (from client) a subfolder Scuola/prova on server side, Dovecot create: ../Maildir/.Scuola.prova Here my question: why not ../Maild

Auto configure email clients from Dovecot?

2018-06-30 Thread Davide Marchi
Hi Friends, I'm using on Debian Jessie, Dovecot 1:2.2.13-12~deb8u3. I would like to know if is it possible to auto-configure the email client, for example Thunderbird or K-9 mail. Essentially I would like to know if is it possible to let dovecot instruct the mail client about how to auto-config

Re: Auto configure email clients from Dovecot?

2018-07-01 Thread Davide Marchi
[..] Eduardo M KALINOWSKI: It is possible but it's not a dovecot job. Ak, ok! Thunderbird has a protocol to get the settings but is DNS/xml related ( and is pretty normal because it not know the name of the mail server before ) https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Auto

Error compiling pigeonhole managesieve 0.4.24

2018-08-10 Thread davide marchi
Hi i have a problem compiling as mantioned on object of this mail: i'm changing dovecot on my debian 6 from version 2.2.32 to 2.2.36 and pigeonhole from 0.4.20 to 0.4.24 this is output of dovecot -n for listing versions installed dovecot -n # 2.2.32 (dfbe293d4): /usr/local/etc/dovecot/dovecot.conf

Strange problem on lmtp with dovecot 2.3.2.1

2018-08-20 Thread davide marchi
Hi to all i have compiled and installed dovecot 2.3.2.1 on debian 6 with success but now i'm facing a strange problem on communication from postfix installed on server A with dovecot installed on server B (which version is 2.3.2.1). All incoming emails delivered from esternal from server A to serve

How to inhibit pop3 server email deletion?

2019-02-02 Thread Davide Marchi
Hi Friends, for some special needs I would like to inhibit the email deletion from any email client POP3 access. For example prevent the Thunderbird ability to delete server messages older than.. Is this possibile via ACL? Many many thanks! Davide

Strange result searching over fts_solr

2016-09-05 Thread Davide Marchi
mail_plugin_dir = /usr/local/lib/dovecot mail_plugins = " notify zlib quota fts fts_solr stats acl mail_log sieve" postmaster_address = postmas...@mail.cgilfe.it rejection_reason = Il sistema ha rifiutato automaticamente il messaggio destinato a <%t> per il seguente motivo:%n%r rej

Unable to use encrypted password for imap and pop3

2017-02-11 Thread Davide Marchi
Hi friends, Following the Workaround tutorial for Jessie (https://workaround.org/ispmail/jessie ) I've set up six month ago my first Postfix email server and all works very fine, except for the ability from the user to encrypt login password. I can use the encrypted login password with smtp (Po

ACL and virtual user

2017-05-15 Thread Davide Marchi
Hi friends, I would like to remove write rights for a specific virtual user/email address. I've read the wiki "https://wiki2.dovecot.org/ACL"; but there is nothing about it. So I started reading and rereading some old ML, like this: https://www.dovecot.org/list/dovecot/2006-June/013683.html

Re: ACL and virtual user

2017-05-15 Thread Davide Marchi
...I had under my eyes the solution I have not seen: * user=foo lrw Public user=bar lrwstipekxa Public/* user=bar lrwstipekxa I was enough (in my case) add the initial "*" wildcards, like this: * user=i...@mydomain.com lrwsi where the "*" wildcards means all groups. I have verified and so

failed to store into mailbox 'INBOX/Junk': Permission denied

2017-07-24 Thread Davide Marchi
Hello to everyone, On Debian Jessie (no SElinux) and "dovecot-sieve 1:2.2.13-12~deb8u1" I've changed the sieve (sieve_after) Junk and Trash path, from: "INBOX.Junk" to "INBOX/Junk" compiled it: sievec /etc/dovecot/sieve-after/spam-to-folder.sieve but now if i look into mail.err log, found

Re: failed to store into mailbox 'INBOX/Junk': Permission denied

2017-07-24 Thread Davide Marchi
For more clarity I also attach the content of "/etc/dovecot/conf.d/15-mailboxes.conf" # mailbox Junk { #special_use = \Junk # } # mailbox Trash { #special_use = \Trash # } mailbox INBOX/Junk { auto = subscribe special_use = \Junk } mailbox INBOX/Trash { auto = subscribe

Re: failed to store into mailbox 'INBOX/Junk': Permission denied

2017-07-25 Thread Davide Marchi
For more clarity I also attach the content of "/etc/dovecot/conf.d/15-mailboxes.conf" # mailbox Junk { #special_use = \Junk # } # mailbox Trash { #special_use = \Trash # } mailbox INBOX/Junk { auto = subscribe special_use = \Junk } mailbox INBOX/Trash { auto = subscribe

Re: failed to store into mailbox 'INBOX/Junk': Permission denied

2017-07-25 Thread Davide Marchi
I add a clarification: Now that I've commented out sieve Junk/Trash on "/etc/dovecot/conf.d/15-mailboxes.conf" mailbox Junk { special_use = \Junk } mailbox Trash { special_use = \Trash } remains a single account with permission issues, only one with write permissions cont

Re: failed to store into mailbox 'INBOX/Junk': Permission denied

2017-07-26 Thread Davide Marchi
Steffen Kaiser ha scritto: Does INBOX/Junk already exists? Yes, (but empty): find /var/vmail/hotelsangiorgioriccione.com/info/ |grep INBOX /var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX /var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Trash /var/vmail/hotelsangiorgioricci

Re: failed to store into mailbox 'INBOX/Junk': Permission

2017-07-26 Thread Davide Marchi
From: Thomas Leuxner cat /etc/dovecot/dovecot-acl * user=book...@hotelsangiorgioriccione.com lrwsi * user=i...@hotelsangiorgioriccione.com lrwsi Hi Davide, For LMTP to file the mails you need to add the p flag (POST). Well, I've added the "p" flag and now I will monitor the situation ;-) PS

Re: under another kind of attack

2017-07-29 Thread Davide Marchi
Hi to all, @Olaf Hopp I've this filter enabled for fail2ban, my question is: could my filters overlap or interfere with those suggested by you? this is my filter: Contents of /etc/fail2ban/jail.conf: [postfix] # Ban for 10 minutes if it fails 6 times within 10 minutes enabled = true port

Re: under another kind of attack

2017-07-31 Thread Davide Marchi
From: Olaf Hopp Davide, yours is all postfix and thus has got no overlap with dovecot. So no interference. Olaf Yes, I know, but I preferred not to give anything for granted ;-) Many Thanks Olaf!

ACL permission: give permission to move email into different folder

2017-10-03 Thread Davide Marchi
Hi friends, I've set ACL for two user (two primary email address, no alias), where these users must not be able to delete email from imap server. Now I would like to add (from the client) the ability to move any incoming mail into different directory, if possible into an existing directory chos

Re: ACL permission: give permission to move email into different folder

2017-10-06 Thread Davide Marchi
I've set ACL for two user (two primary email address, no alias), where these users must not be able to delete email from imap server. Now I would like to add (from the client) the ability to move any incoming mail into different directory, if possible into an existing directory chosen by me. May

Re: ACL permission: give permission to move email into different folder

2017-10-06 Thread Davide Marchi
On 06.10.2017 12:42:22, Aki Tuomi wrote: [..] Maybe it is not possible with Dovecot? Many Thanks Davide Just give the relevant permissions to the user, and it also requires that the target directory is writable by source user. Aki Oh, excuse me for the (most probably) silly question, but

Re: ACL permission: give permission to move email into different folder

2017-10-09 Thread Davide Marchi
On October 7, 2017 at 1:29 AM Aki Tuomi wrote: [..]Can you provide mail_debug=yes logs? Hi Aki, I've set on /etc/dovecot/conf.d/10-logging.conf: mail_debug = yes debug_log_path = /var/log/dovecot.debug and on /etc/dovecot/dovecot.conf protocol imap { mail_plugins = $mail_plugins mail

LMTP with alias addresses

2016-04-06 Thread davide marchi
Hi, my problem is this: if i use lmtp for delivery and lookup for real_virtual_u...@mydomain.com all function perfectly and mails are delivered correctly (quota and presence of user also) but if i send an email to real_alias_addr...@mydomain.com LMTP service (it's an alias containing several users

Auto MX Email Client configuration, the right way?

2019-03-09 Thread Davide Marchi via dovecot
Hi Friends! An opinion. I would like to facilitate the configuration of one's mail client (desktop or mobile) to my users server. Some time ago I asked the same question and you suggested me to use "Automx". So I started of good will and I looked for the Automx documentation. And here the pr

Re: Auto MX Email Client configuration, the right way?

2019-03-10 Thread Davide Marchi via dovecot
Now I've seen the new RFC 6186 specification (https://tools.ietf.org/html/rfc6186) that describe a "DNS way" to achieve the same goal. [..] again: [..] When a user identifier is required, MUAs MUST first use the full email address provided by the user, and if that results in an

Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-19 Thread Davide Marchi via dovecot
Hi Friends, a doubt: I would like to enable (the same) quota (count) for all (virtual)users, on Debian Stretch, Postfix 3.1.8, Dovecot 2.2.27, and is not clear for me if I need to tell Postfix to communicate with the service in /etc/postfix/main.cf as here: smtpd_recipient_restrictions =

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-20 Thread Davide Marchi via dovecot
From: Urban Loesch Hi, I would like to enable (the same) quota (count) for all (virtual)users, on Debian Stretch, Postfix 3.1.8, Dovecot 2.2.27, and is not clear for me if I need to tell Postfix to communicate with the service in /etc/postfix/main.cf as here: smtpd_recipient_restrictions =

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-21 Thread Davide Marchi via dovecot
From: Urban Loesch Hi, Well, so the right syntax (in my case) would be: -o smtpd_recipient_restrictions = reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject,check_policy_service inet:mailstore.example.com:12340 right?? I configured it before the "per

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-21 Thread Davide Marchi via dovecot
Well, so the right syntax (in my case) would be: -o smtpd_recipient_restrictions = reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject,check_policy_service inet:mailstore.example.com:12340 right?? I configured it before the "permit_sasl_authenticated" an