Re: Very slow mail download/notification with dovecot 2.3.7 and Thunderbird
Am 27.12.2020 um 16:11 schrieb Juri Haberland: I can't help you with your performance problem, but for Thunderbird to check all folders, you need to set "mail.check_all_imap_folders_for_new" to 'true' in the Thunderbird config editor. I think the setting is: mail.server.default.check_all_folders_for_new;true Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Re: Character not allowed in mailbox name
Am 22.07.2019 um 17:52 schrieb Timo Sirainen via dovecot: > Accidental bug. Fixed > by > https://github.com/dovecot/core/commit/62f3b738efd4a6444a4bde4a80bea208c5b39ccd thanks a lot for this, that restored now all my installationd into a working state, which were broken by 2.3.6 -> 2.3.7 upgrade. Gruß Matthias
IMAPSieve message marked as HAM should go through full sieve script of user
Dear all, I use the IMAPSieve implementation described here: https://wiki.dovecot.org/HowTo/AntispamWithSieve It is working really great! Thanks a lot for this. The problem I have now is: A message was by accident marked by rspamd as spam, so a false-positive and is moved to the Junk folder. If I click in my email program now on `Not Spam` it is learn as HAM but moved to the INBOX. I would like that the email is not moved to INBOX but it should be moved through the sieve script of the user again, as it is a new email. Currently I have to mark all false-positives as not spam and have then to manually move it to the correct subfolder which is a bit annoying. Is this possible? Thanks a lot! -- Gruß Matthias
Re: Using SHA256/512 for SQL based password
Am 13. Februar 2019 00:34:15 schrieb Robert Moskowitz : On 2/12/19 6:03 PM, Matthias Fechner via dovecot wrote: Am 12.02.2019 um 17:05 schrieb Robert Moskowitz via dovecot: I have trying to find how to set the dovecot-sql.conf for using SHA256/512. I am going to start clean with the stronger format, not migrate from the old MD5. It seems all I need is: you maybe would like to have a look to the hashing algo ARGON2I which is currently recommended for new developments and deployments. Recommended by whom? Can you provide a link? Sure, please see here: https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet And if I was adventurous about hashes, I would be looking more at Keccak. Check out my Internet Draft: draft-moskowitz-small-crypto-00.txt Thanks for the tip, will have a look for into it. Gruß Matthias
Re: Using SHA256/512 for SQL based password
Am 12.02.2019 um 17:05 schrieb Robert Moskowitz via dovecot: > I have trying to find how to set the dovecot-sql.conf for using > SHA256/512. I am going to start clean with the stronger format, not > migrate from the old MD5. It seems all I need is: you maybe would like to have a look to the hashing algo ARGON2I which is currently recommended for new developments and deployments. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Use sieve to move all mail automatically based on List-Id
Dear all, I currently use the following rule to automatically sort email into folders based on mailing lists: # split out the various list forms # Mailman & other lists using list-id if exists "list-id" { if header :regex "list-id" "<([a-z_0-9-]+)[.@]" { set :lower "listname" "${1}"; fileinto :create "${listname}"; } else { if header :regex "list-id" "^\\s* it moves the email to the folder 142 as the regex matches inside the <> string till the none-letter/none-number/_/- is matching. I do not understand the expresion [.@] so it is nearly impossible for my to extend that query. What I would like to do is using the ID as folder name as fallback. So in this case I would like that the email is moved to folder `mfechner/ci-test`. I'm not sure if sieve can handle the `/` correctly. Thanks a lot for any tip. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Re: Dovecot 2.3.0 TLS
Dear Odhiambo, Am 22.01.2018 um 19:58 schrieb Odhiambo Washington: > ...and I am still unable to successfully compile 2.3RC on FreeBSD 8.4 > and 9.3 > and my reports were ignored, so should I assume support for those > has been dropped? Support for FreeBSD 8.4 stopped August 1, 2015. Support for FreeBSD 9.3 stopped December 31, 2016 Please see here: https://www.freebsd.org/security/unsupported.html You should really upgrade to current version 10.4 or 11.1. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Re: Solr 7
Hi Michael, Am 12.10.2017 um 12:37 schrieb M. Koehler: > could you please provide more informations about the installation from > scratch? The documentations I´ve found are all outdated and doesn´t > work :(. I set solr 7.0.1 now up on FreeBSD and created a short manual for it: https://wiki.idefix.fechner.net/freebsd:postfix_dovecot_virtual#solr_integration_in_dovecot Maybe that helps you. Creating the schema.xml was a little bit tricky as the one dovecot provides is to old and is missing some datatypes the standard solr7 profile requires. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Plugin sieve vs. imap_sieve
Dear all, I just saw that a "new" plugin imap_sieve is available: https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve I configured everything using the plugin sieve. Was the plugin sieve just renamed to imap_sieve or is it completely different? Thanks a lot for explaining what had been changed here, I cannot find anything in the wiki. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Re: v2.2.25 released
Am 01.07.2016 um 20:10 schrieb Odhiambo Washington: > (21:13:26 <~/Tools/Dovecot/2.2/dovecot-2.2.25>) 0 $ uname -a > FreeBSD gw.kictanet.or.ke 8.4-STABLE FreeBSD 8.4-STABLE #3: Sun May 17 > 14:55:55 EAT 2015 r...@gw.kictanet.or.ke:/usr/obj/usr/src/sys/GW i386 > (21:13:40 <~/Tools/Dovecot/2.2/dovecot-2.2.25>) 0 $ FreeBSD 8.4 is not supported anymore, you should upgrade at least to 9.3 better 10.3. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Re: Password database extra fields and SQL
Am 29.04.2016 um 15:49 schrieb Dave: For example, say you have a query like: password_query = SELECT hash AS password, NULLIF(active = 1, 'y') AS nologin FROM users WHERE name = '%u' why not using a logic like this to block users that are not active: password_query = SELECT username as user, password as password, \ homedir AS userdb_home, maildir AS userdb_mail, \ concat('*:bytes=', quota) as userdb_quota_rule, uid as userdb_uid, gid as userdb_gid \ FROM mailbox \ WHERE username = '%Lu' AND active = '1' \ AND ( access_restriction = 'ALL' OR LOCATE( '%Us', access_restriction ) > 0 ) Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Re: Accessing to mail as another user
Am 2016-02-09 10:54, schrieb Angel L. Mateo: I'm looking for a way to access to a POP/IMAP account as another user different than me, but using my password. That is, I'm "some...@domain.com" and I want to access to "another...@domain.com" mailbox using the password of "some...@domain.com", not the "another...@domain.com" (something similar to master passwords, but without sharing any password). Obviously, in my LDAP backend I can configure something to authorize "someone" to access to "anotherone"'s mailbox. do you maybe mean shared mailboxes: http://wiki.dovecot.org/SharedMailboxes -- Gruß Matthias
Cannot use dovecot with vpopmail and sendmail
Hi, I setup a configuration that will use sendmail with dovecot as imap/pop3 service and vpopmail as backend to handle virtual users and store email there. For this I created a dovecot.m4 as described in the wiki, it looks like: ##*## ### DOVECOT Mailer specification ### ##*## Mdovecot, P=/usr/local/libexec/dovecot/dovecot-lda, F=l59DFMPhnu, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP, M=5120, U=vpopmail:vchkpw, T=DNS/RFC822/X-Unix, A=/usr/local/libexec/dovecot/dovecot-lda -d $u Then I added to my .mc file: MAILER(dovecot) I added to my mailertable: dovecot.fechner.net dovecot:dovecot I create one entry in the virtusertable to catch a email and forward it to dovecot (all other email have to handled by another imap server till dovecot is running fine): dove...@fechner.net ide...@dovecot.fechner.net I created a domain and a user in vpopmail to catch ide...@dovecot.fechner.net. If I execute: doveadm auth test ide...@dovecot.fechner.net Password: passdb: ide...@dovecot.fechner.net auth succeeded extra fields: user=ide...@dovecot.fechner.net So I think the first part is fine. But if I try to sent an email to dove...@fechner.net I get the error message: Aug 14 21:48:34 anny dovecot: lda(ide...@dovecot.fechner.net): Fatal: setuid(89(vpopmail) from userdb lookup) failed with euid=1002(idefix): Operation not permitted (This binary should probably be called with process user set to 89(vpopmail) instead of 1002(idefix)) Aug 14 21:48:34 anny sendmail[94303]: s7EJXgma087740: to=dove...@fechner.net, ctladdr=ide...@anny.lostinspace.de (1002/0), delay=00:14:52, xdelay=00:00:00, mailer=dovecot, pri=120389, relay=dovecot, dsn=4.0.0, stat=Deferred: dovecot mailer (/usr/local/libexec/dovecot/dovecot-lda) exited with EX_TEMPFAIL It seems to be a problem with dovecot-lda but I have no idea what is wrong. The user is set in the .m4 file and permission/group/user is set in the auth socket correctly. The output of doveconf -n is: # 2.2.13: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 10.0-STABLE amd64 zfs auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes first_valid_uid = 10 mail_debug = yes mail_location = maildir:/usr/local/vpopmail/domains/%d/%n/Maildir managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = cache_key=%u%r%l webmail=127.0.0.1 driver = vpopmail } service auth-worker { unix_listener auth-worker { group = vchkpw user = vpopmail } } service auth { unix_listener auth-userdb { group = vchkpw mode = 0666 user = vpopmail } user = vpopmail } service imap-login { inet_listener imap { port = 22143 } inet_listener imaps { port = 22993 } } service pop3-login { inet_listener pop3 { port = 22110 } inet_listener pop3s { port = 22995 } } userdb { args = quota_template=quota_rule=*:backend=%q driver = vpopmail } Thanks for any ideas who this could be fixed. Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook