Hi,
can't this just be triggered by using the notify plugin or push notification
framework?
Sami
> On 24. Jul 2023, at 10.46, Heiko Schlittermann via dovecot
> wrote:
>
> Hi Aki and all the Dovecot team,
>
> thank you for your work on Dovecot.
>
> As the &q
d be able to read of write the files.
You have some other issue likely an issue with userdb {} returning userid or
wrong userid.
Sami
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org
Hi,
you have different userdb setup for protocols imap, doveadm and lmtp?
try to check differences in 'doveconf -f protocol=doveadm -n' and 'doveconf -f
protocol=doveadm -n'
Sami
> On 19. Sep 2022, at 16.10, Philip Warner wrote:
>
> OK...I have made som
xample if an email comes from a
> specific ip address?
There is multiple ways to implement this. When I did this long time ago I
created separate userdb for protocol doveadm without quota restrictions and
injected the overquota mail with doveadm command.
Sami
a few days before I
> realized that there was an issue. How can I specify a backup server so that
> if my primary sql server goes down, a backup sql server will be queried?
Use haproxy.
Sami
uld just configure a deny passdb inside protocol imap {} block with a list
of users denied imap access. something like this:
protocol imap {
passdb {
driver = passwd-file
args = /etc/dovecot/imap-deny-passdb
deny = yes
}
}
Sami
igration framework to monitor the migration logs
and then apply workarounds if end user and this strange INBOX.INBOX setup.
Unfortunately that is all I can remember about it and I've since left Open
Xchange and do not have an access to my old migration toolkit bits and command
line documentations.
Sami
-u saywhat...@letest.tld <mailto:saywhat...@letest.tld> -R imapc:
Then check the saved rawlogs for hints if the remote even lists all subfolders
in response.
Sami
ow many (important) emails you have
not received because of this.
Sami
y feature in your operating system that blocks the
modifications.
Sami
name_format = %Lu (which is the default, not %n)
then for the PAM passdb use username_filter = !*@*
that will then skip all usernames that have @ included.
Dovecot 2.2.30 or later required for that.
Sami
retain all data as for example IMAP protocol
does not allow client to set email UID numbers. Backup made with imapsync
is always partial copy of the original and cannotbe restored identically.
Sami
e addon:
https://addons.thunderbird.net/en-us/thunderbird/addon/sieve/
<https://addons.thunderbird.net/en-us/thunderbird/addon/sieve/>
Not sure if there is any other native solution available.
Sami
le:
https://doc.dovecot.org/configuration_manual/sieve/plugins/extdata/
<https://doc.dovecot.org/configuration_manual/sieve/plugins/extdata/>
Sami
is this? with 2.3.17 or later you should probably use
service_count=0 here.
That would prevent auth-worker process from dying after each authentication and
then need for new process to be spawned for each authentication.
Sami
ot;backup" the docs say "doveadm backup performs one-way synchronization"
>
> That's where I'm confused.
invoke ‘doveadm backup’ locally and it will sync TO remote.
invoke ‘doveadm backup -R’ locally and it will sync FROM remote.
Sami
> of the "-R" flag is in relation to "doveadm backup" ? Surely by definition
> backup = remote -> local ?
–R means reverse sync. Reverse direction.
Sami
ions.
Dovecot Object Storage plugin is commercial offering from Open-Xchange. I
suggest you contact their sales for information.
Sami
27;t work
>args = /usr/local/bin/checkpassword.pl client_id
>
># Doesn't work
>args = /usr/local/bin/checkpassword.pl %{client_id}
> ...
> }
>
> What am I missing? Is it possible to get these variables into an external
> script that checkpassword or postlogin executes?
>
>
Is your client sending IMAP ID pre login?
Sami
> On 17. Jan 2022, at 10.54, Sami Ketola wrote:
>
>
>
>> On 17. Jan 2022, at 10.31, Vladislav Kurz > <mailto:vladislav.k...@webstep.net>> wrote:
>>
>> Dne 15. 01. 22 v 18:46 Panayiotis Fafakos napsal(a):
>>> The same here in Greece.
>>
adding IMAP
account:
https://imgur.com/a/sB3Kfu6 <https://imgur.com/a/sB3Kfu6>
(says in image: For better experience, your messages will be synced to the
Microsoft cloud)
I cannot opt-out from this. (Just realised that this actually might be
something forced by my employers Intune policies)
Sami
d since it has to
> figure out the sent date before it can search, but it's doable.
If you have fts_enforced = yes then that SEARCH probably goes to solr even if
message-id is found from cache. So the delay is probably on solr side.
Can you try to remove fts_enforced for that one particular user?
Sami
it just seems to dump index files. I tried
> dumping the cache file but it complains that it can't auto detect the file
> type.
Try this:
[root@ketola .INBOX]# pwd
/vmail/s...@ketola.io/index/.INBOX
[root@ketola .INBOX]# doveadm dump . | grep -c hdr.message-id
11007
This is Maildir, but it should work the same way with mdbox.
Sami
cache updated.
Each mail needs to be accessed for that to happen.
Ie. With doveadm fetch.
You can inspect the index files with doveadm dump to check what is cached. Not
sure how it went with mdbox storage driver.
Sami
.'
> command.
>
> How can I find out what dovecot is doing in those 30 seconds?
Did you have Messsage-ID listed in mail_always_cache_fields when you imported
the mailbox?
Do you have it now?
If not, please add it and then use doveadm fetch to populate that in cache.
I think the correct setting is
mail_always_cache_fields = hdr.message-id
But you also might want to add some other fields
Sami
eve by returning
service/imap/executable="/usr/bin/nice -n 10 /usr/libexec/dovecot/imap"
from users for the throttled users.
Sami
.
Which you can also force with subscribe = auto
Sami
> On 20. Oct 2021, at 17.36, Claudio Corvino wrote:
>
> Hi Sami,
>
> thanks for your answer!
>
> Why should I use sdbox?
>
> If I configure the archive location on a NFS mountpoint and I move mails
> olde
Hi,
You should be able to configure something like this:
namespace archive {
disabled = no
hidden = no
list = yes
prefix = ARCHIVE/
location = sdbox:/archive/location/%u
}
Sami
> On 20. Oct 2021, at 16.16, Claudio Corvino <mailto:ccorv...@trustita
pen-xchange.com/7.10.5/ui/features/all-messages-folder.html>
Sami
> On 12. Apr 2021, at 23.01, Marcel wrote:
>
> Any ideas on this? I am sure that I can't be the only one having issues with
> the search function while using Gmail.
>
>> Hi,
>>
>> I am using
Hi,
imapc does not sync sieve scripts. You need to use native doveadm protocol.
Sami
> On 25. Feb 2021, at 20.56, Edgaras Lukoševičius
> wrote:
>
> Then what is a correct configuration? Because I was not able to get it to
> work.
>
> It is a simple setup using Virtual
ecot 2.3.13 (89f716dc2)
> - Pigeonhole 0.5.13 (cdd19fe3)
>
> It's a straightforward setup, nothing fancy. So the question is - is it
> supposed to work at all without replicator?
>
It does sync sieve scripts as long as you have the plugin installed in both
ends and have correct configuration
regarding sieve script location.
Sami
.. specifically mail_log plugin for protocol doveadm {}
I myself made that mistake many times and loaded mail_log only for protocol
imap {} and then wondering why events are not logged.
Sami
> On 4. Feb 2021, at 15.01, Aki Tuomi wrote:
>
> Did you also load `mail_log` plugin?
In the source code, Google, nothing. It seems as only the web site
> would exist.
>
> Can somebody help me please
Dovemon is only part of the enterprise edition. It is not open source. Contact
Open-Xchange sales for more information.
Sami
ip address affinity is probably the easiest way - if supported on
>> your load balancer - and providing that your users are distributed on
>> different ip addresses (e.g. not behind a NAT and presenting all as the
>> same ip).
Best solution is to put dovecot director ring in front of the backends to
balance the load.
Sami
l/dovecot/2019-December/117963.html but it
> didn't worked better.
So if you delete *everything* from the target server and start from scratch with
"doveadm backup" it still fails to sync INBOX?
Can you collect debug logs and possibly imapc rawlogs from such session?
Sami
og notify
>
your mail_plugins does not even load replication plugin.
Sami
6-254-93.uk
<http://83-136-254-93.uk/>-lon1.upcloud.host[83.136.254.93]>: Client host
rejected:
eat a bag of dicks (in reply to RCPT TO command)
and for that reason I have blacklisted you from any help requests. You may do
the same whatever you are telling me to do.
Sami
ntical email in terms of mail
structure is silently dropped.
There is just no way to guarantee a delivery to gmail.
Sami
get silently dropped or moved to spam when working with gmail.
Sami
> On 20. Oct 2020, at 5.31, Victor Sudakov wrote:
>
> Sami Ketola wrote:
>>
>>
>>> On 19. Oct 2020, at 18.54, Victor Sudakov wrote:
>>>
>>> Dear Colleagues,
>>>
>>> Is there a file or directory within a user's Maildi
irectly but you might want to take a look at this:
https://doc.dovecot.org/configuration_manual/lastlogin_plugin/
Sami
nd first email in order which did not match
expunge criteria anymore.
It started from start of the mailbox and stopped when first recent email was
found. And if the mails were not in order it did leave rest of the folder
untouched.
Sami
> On 14. Oct 2020, at 14.20, @lbutlr wrote:
>
> On 14 Oct 2020, at 04:24, Sami Ketola wrote:
>> On 14. Oct 2020, at 12.51, Victor Sudakov wrote:
>>> Those Mac clients who do not use nested folders do not seem to be
>>> affected. That is, I've already
t; then go on using Mac Mail. I hope that's what he has done.
There is a bug in Mail.app that it always assumes / as hierarchy separator and
completely ignores server provided separator.
Not sure if anyone has created BUG to Apple about this. Atleast I have not.
Sami
maller ones that I do not know, would use Dovecot.
There is always mailbox.org <http://mailbox.org/> available that runs on
dovecot. Not free, but 1€/month
is not far from that.
Sami
deliver_log_format is prefixed with mail_log_prefix. default setting is
"%s(%u)<%{pid}><%{session}>:"
so service, userid, process id, session id.
deliver_log_format part then starts from msgid.
Sami
cot/dovecot-passwd
}
Sami
> On 24. Sep 2020, at 22.50, Graham Leggett wrote:
>
> On 24 Sep 2020, at 20:45, Sami Ketola <mailto:sami.ket...@dovecot.fi>> wrote:
>
>> can you link your doveconf -n and the sieve script?
>
> [root@gatekeeper ~]# cat /var/lib/dovecot-sieve/default.s
quire command: unknown Sieve capability
> `vnd.dovecot.environment'.
> default: line 19: error: referring to variable in unknown namespace 'vnd'.
> default: error: validation failed.
> sievec(root): Fatal: failed to compile sieve script
> '/var/lib/dovecot-sieve/default.sieve'
can you link your doveconf -n and the sieve script?
Sami
the vacation message attribute through the
> userdb lookup, could I then test if the variable was present, and then embed
> that variable in the message?
Pigeonhole can read sieve scripts from ldap too
https://wiki.dovecot.org/Pigeonhole/Sieve/Configuration/LDAP
<https://wiki.dovecot.org/Pigeonhole/Sieve/Configuration/LDAP>
Sami
> On 8. Sep 2020, at 9.21, h...@cndns.com wrote:
>
> Outlook version is 16.40
Latest I could find was 16.21 and it seems to work just fine.
Also if Outlook does not like the extra info after OK reply you probably should
open a bug for microsoft not being RFC compliant on this.
Sami
-0 devices. All harddrives are SAS 2.5" 15k
> drives.
>
> Server serves as a IMAP with Dovecot 2.2.27-3+deb9u6, 4104 accounts, Mailbox
> format, LMTP delivery.
does "Mailbox format" mean mbox?
If so, then there is your bottleneck. mbox is the slowest possible mailbox
format there is.
Sami
> two clients with this issue: Thunderbird and Outlook.
>
> Storage is local under two partitions, one as alternative storage.
since you are running mdbox did you run purge before the upgrade?
Sami
Hi,
try setting mail_shared_explicit_inbox=yes
https://doc.dovecot.org/settings/core/#mail-shared-explicit-inbox
<https://doc.dovecot.org/settings/core/#mail-shared-explicit-inbox>
Sami
> On 18. Aug 2020, at 23.56, Torsten wrote:
>
> Hello!
>
> INBOX sharing does not s
l ] [-r
>> ] [-m ] [-g ] [-n | -N] [-x
>> ] [-s ] [-t ] -d|
>>
>
> doveadm -o pop3c_user=_user_ -o pop3c_password=_password_ backup -R -u _user_
> pop3c:
Also I suggest to migrate over imap, not pop3. With pop3 migration you can't
save the imap uid:s and all clients will see the mails as new.
Sami
adm?
2.2.36 has it:
[root@ketola ~]# dovecot --version
2.2.36.8 (0c9d56b41)
[root@ketola ~]# doveadm backup
doveadm backup [-u |-A] [-S ] [-fPRU] [-l ] [-r
] [-m ] [-g ] [-n | -N] [-x
] [-s ] [-t ] -d|
Sami
> On 27. Jul 2020, at 23.11, Kishore Potnuru wrote:
>
> Hi ,
>
> I have tried the below command from the new server. But I am getting an
> error. Anything is missing here?
>
Are you sure that is dovecot 2.2.36?
Sami
Hi,
the idea was to run it on the new server and not on the old server.
That is also why you should use -R parameter to pull the mails from remote, not
push.
Sami
> On 27. Jul 2020, at 17.13, Kishore Potnuru wrote:
>
>
> I tried this command also. It didn't work. It s
TY
advertise SPECIAL-USE support? Mail.App will create those folders if
SPECIAL-USE is not advertised and there was bugs at some point that stopped
dovecot from adding SPECIAL-USE to the CAPABILITY string even after special_use
folders were in config.
Sami
simply copy these messages to the relevant folder in the proper
> namespace? Or do I need to export\import these? Some other procedure?
>
> Thanks in advance for any feedback…
doveadm move.
Sami
sages=0 vsize=0
> chandrasekhar messages=0 vsize=0
> admin messages=0 vsize=0
> gsnraju messages=0 vsize=0
You are not giving enough information to think.
Sami
t; userdb {
> args = uid=vmail gid=vmail home=/var/vmail allow_all_users=yes
> userdb_warning_disable=yes
> driver = static
> }
static does not support user listing. Where you think it would get the list of
users from?
Sami
> On 12. Jul 2020, at 23.58, Filip Hajny wrote:
>
>
>> 12. 7. 2020 v 22:37, Sami Ketola :
>>
>> I'm Apple user. I have separator set to / and I can create folders just fine
>> without any encoding. Can you please record imap rawlogs where it shows wha
> On 13. Jul 2020, at 1.47, Vitalii wrote:
>
> On Sun, 12 Jul 2020 23:45:07 +0300
> Sami Ketola wrote:
>
>>> On 12. Jul 2020, at 23.38, Sami Ketola
>>> wrote:
>>>
>>>
>>>
>>>> On 12. Jul 2020,
> On 12. Jul 2020, at 23.38, Sami Ketola wrote:
>
>
>
>> On 12. Jul 2020, at 12.54, Vitalii wrote:
>>
>> Panic: file imapc-sync.c: line 328 (imapc_initial_sync_check):
>> assertion failed: (mail_index_is_expunged(view, lseq) ||
>> seq_range_exis
hink there was bug around this in some version.
Sami
understand.
I'm Apple user. I have separator set to / and I can create folders just fine
without any encoding. Can you please record imap rawlogs where it shows what
command your Mail.App is sending?
Sami
ot;
> -o imapc_host=imap.gmail.com backup -R -u d...@ejoom.com imapc:
>
It basicly does it to verify mail -> UID pairing. You can try to save imapc
indexes locally by
defining imapc location as: imapc:~/.imapc to see if it can be skipped.
Sami
l:
> #sudo doveadm -D altmove -u v...@vito.pp.ua -r all
> That seems behave like the original command ignoring '-r'.
Can you try if works if you put the parameters to documented order?
like: doveadm altmove -r -u victim all
Sami
s 2.3.10.1 CE release
for CentOS 6. It should work on RHEL 6 too.
But since support for CentOS/RHEL 6 is dropping soon, I think we will stop
building CentOS 6 CE releases soon. Not sure what will be the last one as I'm
not in charge of that.
Sami
> On 7. Jul 2020, at 19.46, Sami Ketola wrote:
>
> Hi,
>
> yes, you can override these settings by returning variables from userdb.
>
> for example can define:
>
> namespace INBOX {
> inbox = yes
> location =
> separator = /
> mailbox Spam
special_use = \Junk
hidden = yes
}
}
and then from userdb return:
mailbox/inbox/mailbox/Spam/hidden=no
or
mailbox/inbox/mailbox/Roskaposti/hidden=no
if to show the language specific Spam folder.
Sami
> On 7. Jul 2020, at 9.38, Luca Müller wrote:
>
> Hello,
>
> I'm hos
I do not understand this question at all.
Can you please rephrase?
Sami
> On 11. Jun 2020, at 20.22, Ralph Seichter wrote:
>
> * Sami Ketola:
>
>> They do not rely on Date header. Date header is not mandatory and also
>> it's not written on server side. It is written by the sender.
>
> Could you please elaborate on "
e header. Date header is not mandatory and also it's not
written on server side. It is written by the sender.
Sami
> On 8. Jun 2020, at 17.39, John Stoffel wrote:
>
>>>>>> "Sami" == Sami Ketola >>>>> <mailto:sami.ket...@open-xchange.com>> writes:
>
>>> On 7. Jun 2020, at 18.20, John Stoffel wrote:
>>>
>>>&
oot, some put them under INBOX.
That is why special_use exists so that server can tell clients which folders
are for special use.
Sami
thub site, or see if it's
> packaged on your client end.
This is incorrect. Doveadm dsync can be used to pull mails from remote imap
server that is not dovecot.
> https://github.com/imapsync/imapsync
>
> This is a much simpler way to pull down a single IMAP account.
.. but imapsync does not migrate all data.
Sami
necessary that the source user name be the same as the
> destination user name? Is it possible to backup an IMAP account to a user
> account having a completely different name?
>
Nope. Source and destination usernames can be different. Please post your
doveconf -n as this is probably an error on your local config.
Sami
Just setup your own MX with priority 10 and your providers spooling MX with
priority 20 in DNS records and you are good to go.
Sami
e Inbox on my current
> mail server so it is trying to delete it. If so is there a way I can change
> my configuration to allow it to be deleted?
start from clean setup for the first backup run. Ie delete local mails. or move
them away.
Sami
il auth-policy[10357]: tls: true
> May 31 14:27:41 mail auth-policy[10357]: }
>
This completely depends on the imap client. Some clients send IMAP ID pre-login
and in that case it can be relayed to auth policy server.
Some clients send IMAP ID post-login and then auth policy stuff is already
completed without the information.
Sami
> On 29. May 2020, at 23.43, Joseph Tam wrote:
>
> On Fri, 29 May 2020, Sami Ketola wrote:
>
>>> # echo plaintextpass | doveadm pw -s BLF-CRYPT
>>> doveadm(user): Fatal: Error reading configuration:
>>> stat(/etc/dovecot/dovecot.conf) failed
eading configuration:
> stat(/etc/dovecot/dovecot.conf) failed: No such file or directory
>
> Is there a way to circumvent the need for a configuration file?
I don't think so. But you can specify the location of the config file with -c
/path/to/file
like
echo -n plaintextpass | doveadm -c /root/emptyfile.conf pw -s SHA1
Sami
a_rule: *:storage=1048576:messages=153000
>
> A 'doveadm user -u t...@test.com' command on the director host:
> userdb: t...@test.com
> user : t...@test.com
>
doveadm user is executed locally as director has its own userdb. try doveadm
mailbox list -u
Sami
> On 20. May 2020, at 17.51, Felipe Gasper wrote:
>
>>
>> On May 20, 2020, at 10:46 AM, Sami Ketola wrote:
>>
>>> On 16. May 2020, at 3.46, Felipe Gasper wrote:
>>>
>>> Hello,
>>>
>>> Some code that I didn’t
’d like to avoid creating a separate TCP
> connection per user.
>
> Thank you!
>
Not possible. But can run multiple users parallel.
Sami
his usage described in dsync’s man page. I just want to be
> sure: is this a supported use of dsync?
>
> Thank you!
Is there any reason why you are doing it this way and not using it the way it
is usually used? backup does not support -1 btw.
doveadm backup -u john -R ssh sshuser@remote "sudo /usr/bin/doveadm
dsync-server -u john"
Sami
no kidding
Our parent company Open-Xchange offers one. It's called App Suite.
Actually Dovecot Oy no longer exists as we are part of Open-Xchange now.
>
> at the current state i get more on using cyrus-*
>
> why was dovecot-oy even created ?
To provide paid support and consulting.
Sami
> On 10. May 2020, at 11.22, Peter wrote:
>
> Am 10.05.20 um 09:54 schrieb Sami Ketola:
>>> On 10. May 2020, at 1.51, Peter wrote:
>>> Am 10.05.20 um 00:22 schrieb Daniel Miller:
>>>> Thank you - I'm aware of the virtual folder option and do use i
t does
> multisearch!
Virtual folder scales just fine. What makes you think it does not?
We have customers that have users with thousand folders and millions of emails
and still virtual folder scales.
Sami
ge number of files in single folder than the pure size of the
mails combined. For filesystem based storage formats number of files is always
a challenge.
In your case mdbox probably would work better as it stores multiple mails in
single file. The only downside is that it requires periodic purge operations to
remove deleted mails from middle of the mail bundles.
Sami
.dovecot.org/configuration_manual/plugins/mail_event_logging/>
also if you want to check if that outlook does read the mail (ie. mail gets
moved from new to cur) you need to configure imap_logout_format and
pop3_logout_format to show number of mails fetched. see:
https://doc.dovecot.org/settings/core/ <https://doc.dovecot.org/settings/core/>
Sami
the email. But do we have any log in POP3 server,
>> stating the email has been to sent to Outlook?
>
> pop3 will remove emails on server
It is a client setting to delete or leave mails on server with pop3.
Sami
Hi,
With dovecot 2.2 you can log some events with mail_log plugin.
https://doc.dovecot.org/configuration_manual/plugins/mail_event_logging/
<https://doc.dovecot.org/configuration_manual/plugins/mail_event_logging/>
Sami
> On 5. May 2020, at 16.03, Kishore Potnuru wrote:
>
&g
ecot-lda does not do it. you need external software to implement the mailing
list. I believe both postfix and exim can do that.
Sami
> Or can i always change this namespace hierarchy separator later on?
This would cause similar caching problems on end user devices.
Sami
sswords where data is exposed from another site's breach
> (Users WANT to re-use passwords, this is where 2FA shines)
> * Weak Passwords
> (Users like using weak passwords, so implement password restrictions)
Actually by far the biggest source of stolen credentials is viruses/trojans
harvesting them.
Sami
f -n, but you probably should return
userdb_mail in your password_query instead of mail.
Sami
ISPs fair usage limits. But by repeating
> the command from time to time I should gradually be able to synchronise
> the whole mailbox.
Nice!
Those assert crashes are probably a bug of somekind. Maybe Aki or Timo could
take a look at them.
Sami
1 - 100 of 388 matches
Mail list logo