Archive maildir

2019-02-13 Thread Gandalf Corvotempesta via dovecot
Hi to all We have a maildir with about 180GB of emails. We have to archive them to a structure like: .Archive.YYY./MM.folder Are you aware of a script doing this ? I've found a perl script that doesn't spit in year and month and a very, very, very, very, very old python script that: 1) doesn't man

Re: Archive maildir

2019-02-13 Thread Gandalf Corvotempesta via dovecot
Il giorno mer 13 feb 2019 alle ore 11:09 Aki Tuomi ha scritto: > with 2.3.4 you could use the new FILTER command over IMAP to run sieve script. It's a very very old server, i'm not on 2.4.x I've managed to make this working: https://gist.github.com/fwenzel/280896 is working properly. I had to ma

Re: Archive maildir

2019-02-13 Thread Gandalf Corvotempesta via dovecot
Il giorno mer 13 feb 2019 alle ore 14:02 @lbutlr via dovecot ha scritto: > Why would the script be looking at the contents of the messages at all? css having to "deal" with the subject? If you are using maildir, you have the > timestamp in the filename, and you can easily sort a message into yyy

Re: server migration

2024-04-10 Thread Gandalf Corvotempesta via dovecot
Guys, any help? Also, what would happen if the new server has a different hostname ? Il giorno dom 10 mar 2024 alle ore 14:28 Gandalf Corvotempesta ha scritto: > > Hi guys > I have to migrate around 10k mailboxes from dovecot 2.13 to (i think) > the same version but on a different server. > > I h

Re: server migration

2024-04-10 Thread Gandalf Corvotempesta via dovecot
Il giorno mer 10 apr 2024 alle ore 21:40 Kirill Miazine via dovecot ha scritto: > What you describe is exactly what I have been doing since ... forever > > - reduce TTL > - setup new server > - rsync > - stop ALL mail services on old server (also anything which might be > doing deliveries, thi

Re: server migration

2024-04-10 Thread Gandalf Corvotempesta via dovecot
Il giorno mer 10 apr 2024 alle ore 22:32 Marc via dovecot ha scritto: > Why? The whole idea about having a LTS distribution is that you almost never > need to do this? It is not like the imap/pop/smtp standards are having yearly > innovations. Or is this a service you provide for clients? In my

Re: server migration

2024-04-10 Thread Gandalf Corvotempesta via dovecot
Il giorno mer 10 apr 2024 alle ore 23:12 Kirill Miazine via dovecot ha scritto: > UIDVALIDITY change In which case uidvalidity would change ? Manually changes in config file ? ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email

Re: server migration

2024-04-10 Thread Gandalf Corvotempesta via dovecot
.. The rest should present no issue.. On 2024-04-10 14:25, Kirill Miazine via dovecot wrote: > > > • Gandalf Corvotempesta via dovecot [2024-04-10 23:18]: >> Il giorno mer 10 apr 2024 alle ore 23:12 Kirill Miazine via dovecot

imap/pop proxy

2024-04-11 Thread Gandalf Corvotempesta via dovecot
Hi all first time user as dovecot imap/pop3 proxy. As i'm migrating some mailboxes to a new server, i would like to move a couple at once, not everything (more than 10k). The quickest way would be to setup the current (and old) dovecot server as pop3/imap server AND proxy. I'm thinking to start

Variable expansion on %w

2024-04-11 Thread Gandalf Corvotempesta via dovecot
I'm following the guide for changing the password schema. Everything works as expected (i'm using a static passwd file), but when the plain password has a % inside, dovecot is trying to expand that, triggering an error: Apr 11 21:33:55 mail02 dovecot: pop3(x)<3962994><4soGPNcVXsoln9W6>: Error: Fai

Re: Variable expansion on %w

2024-04-13 Thread Gandalf Corvotempesta via dovecot
any clue? Il gio 11 apr 2024, 21:57 Gandalf Corvotempesta < gandalf.corvotempe...@gmail.com> ha scritto: > I'm following the guide for changing the password schema. > Everything works as expected (i'm using a static passwd file), but > when the plain password has a % inside, dovecot is trying to

Re: Variable expansion on %w

2024-04-16 Thread Gandalf Corvotempesta via dovecot
guys any help ? Is not possible to change the password schema when using passwd file ? Il giorno sab 13 apr 2024 alle ore 14:48 Gandalf Corvotempesta ha scritto: > > any clue? > > Il gio 11 apr 2024, 21:57 Gandalf Corvotempesta > ha scritto: >> >> I'm following the guide for changing the passwo

Re: Variable expansion on %w

2024-04-16 Thread Gandalf Corvotempesta via dovecot
t; dovecot is trying to expand %Y before passing it to the post login script Il mer 17 apr 2024, 08:24 Aki Tuomi ha scritto: > Can you explain what you are trying to do? > > Aki > > On 16/04/2024 21:36 EEST Gandalf Corvotempesta via dovecot < > dovecot@dovecot.org> wrote:

Re: Variable expansion on %w

2024-04-17 Thread Gandalf Corvotempesta via dovecot
17 apr 2024 alle ore 14:22 Benny Pedersen via dovecot ha scritto: > > Gandalf Corvotempesta via dovecot skrev den 2024-04-17 08:31: > > im following the docs to change the password schema > > > > docs says that i have to pass the clear password to the post login > > sc

Re: Variable expansion on %w

2024-04-17 Thread Gandalf Corvotempesta via dovecot
Il giorno mer 17 apr 2024 alle ore 15:31 Aki Tuomi ha scritto: > If you have version with Lua support, you can make a passdb with lua that > base64 encodes the plain password. Then it should work. I'm not using lua currently, and i'm planning to move the server to a new one with users on DB, tha

Re: Variable expansion on %w

2024-04-20 Thread Gandalf Corvotempesta via dovecot
so it's not possible without using lua? i think this is a bug honestly Il mer 17 apr 2024, 16:16 Gandalf Corvotempesta < gandalf.corvotempe...@gmail.com> ha scritto: > Il giorno mer 17 apr 2024 alle ore 15:31 Aki Tuomi > ha scritto: > > If you have version with Lua support, you can make a passdb

MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Hi all is possible to tell dovecot to use a mysql connection with SSL ? My new remote mysql server only allows ssl connections ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 15:12 Christopher Wensink via dovecot ha scritto: > Yes. > > https://dev.mysql.com/doc/refman/8.3/en/using-encrypted-connections.html This is for using ssl with native mysql client. Dovecot uses the native library or has a embedded mysql library ? because my .m

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 15:34 Christopher Wensink ha scritto: > > See here for the documentation for dovecot: > > https://doc.dovecot.org/admin_manual/ssl/ This has nothing to do with mysql connection. What i've asked for is how to tell dovecot to connect to a mysql server by using an

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 15:58 Aki Tuomi ha scritto: > I don't think dovecot will read your .my.cnf̣. > > See supported options at https://doc.dovecot.org/settings/plugin/sql-mysql/ Probably "client_flags" is what i need to use but: 1. i don't know the int value for CLIENT_SSL (and mysq

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 16:35 Stuart Henderson via dovecot ha scritto: > Wrong bit of the manual. See the sample dovecot-sql.conf.ext or > https://doc.dovecot.org/configuration_manual/authentication/sql/#id10 Seems much easier with this... I'll try tomorrow

Rebuild uuidlist?

2024-12-14 Thread Gandalf Corvotempesta via dovecot
Guys i did a mess. A bad script made by me, changed (a lot) of filenames in the maildir, in example almost all email filenames were changed. I think I have to rebuild the UID <> filename mapping because dovecot is still trying to read the old file that doesn't exists anymore (it has a new name) An