dovecot initscript

2017-11-22 Thread dovecot
Hi, about https://wiki.dovecot.org/DovecotInit, i wondered about stop) if test $running = yes; then echo "Stopping Dovecot" kill `cat $pidfile` echo "." else echo "Dovecot is already stopped." fi ;; Is "doveadm stop&quo

FW: imapsieve rules not matching at all?

2021-03-19 Thread dovecot
eport-spam.sieve and report-ham.sieve scripts, and absolutely nothing changed, which is why I think the rules aren't being tried. The requisite doveconf -n output: - - - -8< - - - - # 2.3.13 (89f716dc2): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.5.13 (cdd19fe3

RE: FW: imapsieve rules not matching at all?

2021-03-20 Thread dovecot
Aki Tuomi wrote: > We provide this handy guide for teaching spam filters, see > https://doc.dovecot.org/configuration_manual/howto/antispam_with_sieve/ Yes, I followed that and am having trouble. I think (haven't yet confirmed through a protocol trace) that the problem is Outlook using APPEND

RE: FW: imapsieve rules not matching at all?

2021-03-20 Thread dovecot
Aki Tuomi wrote: > Yeah. Outlook does APPEND+EXPUNGE instead of MOVE. That rather critical item should probably be mentioned in the configuration manual; in my searching about on the problem, I didn't find anything that indicated this Microsoft-caused limitation. On the upside, I'm glad I found

RE: Sieve daemon errors? (Part 1 of 2, Pt 2 to follow when Pt 1 resolved)

2021-04-30 Thread dovecot
s.yappy Don't let your schooling get in the way of your education. From: Dan Egli Sent: Friday, April 30, 2021 23:50 To: st...@watt.com; dovecot@dovecot.org Subject: Re: Sieve daemon errors? (Part 1 of 2, Pt 2 to follow when Pt 1 resolved) Ask and ye shall receive: # dovecot -n # 2

RE: Sieve daemon errors? (Part 1 of 2, Pt 2 to follow when Pt 1 resolved)

2021-05-01 Thread dovecot
let your schooling get in the way of your education. From: Dan Egli Sent: Saturday, May 1, 2021 08:10 To: st...@watt.com; dovecot@dovecot.org Subject: Re: Sieve daemon errors? (Part 1 of 2, Pt 2 to follow when Pt 1 resolved) Still haven't heard back on why 4190 isn't being listened

RE: Sieve daemon errors? (Part 1 of 2, Pt 2 to follow when Pt 1 resolved)

2021-05-01 Thread dovecot
P.S. the .BAK file shows sieve present, but the line is still commented out. -- Steve Watt KD6GGD PP-ASEL-IA factories.words.yappy Don't let your schooling get in the way of your education. From: Steve Watt Sent: Saturday, May 1, 2021 13:04 To: 'Dan Egli&#

Quota Config With Prefetch Creating Alias Directories

2021-06-26 Thread dovecot
Using Dovecot 2.3.8 with Postfix & MySQL on Centos. I have a sql table with account info, email addresses, password, quotas, etc I have another sql table for aliases containing which alias points to what email address. For imap access im using passdb password_query with prefetch. I s

Quota Config With Prefetch Creating Alias Directories

2021-06-26 Thread dovecot
On 06-26-2021 7:39 pm, dove...@ptld.com wrote: First question: Is this the best way to configure dovecot using quota verification for postfix to work will aliases? Second question: How can i prevent directories and indexes being created for non found user (aliases) accounts? I figured out i

Pigeonhole sieve_user_log

2021-06-28 Thread dovecot
https://doc.dovecot.org/configuration_manual/sieve/configuration/ Pigeonhole creates logs separate from main dovecot logs. I see sieve_user_log allows you to change log location and it says if you don't set it logs are still made by default. I can not find anything about log rotati

Pigeonhole - Auto create default per user script

2021-06-28 Thread dovecot
Is there a way to have a per-user default sieve script get auto created if it doesn't exist? Or created on first time use like when the directory set by plugin{sieve=file:~/} gets created? Not global scripts.

SSHA512 Salting in SQL Query

2021-07-01 Thread dovecot
I don't understand what im doing wrong. Password = test Salt = salt MariaDB> select to_base64(concat(sha2('testsalt', 512), 'salt')); NmM4MzhlOTM0ZTNmZWVmYWU2Y2ZhNTNhZjExMzc1ZDQ5NTRmODVjNmY1ZWQ4ODhjMDJjZDc4MDZhNzE2OTZkMWNiNDQ5ZjJiZTc4ZTllNmVhMzAxYTk1YzgxZjI4YWQ4NzY2ZjNhZTU4MmY5YmVhYWMzM2M3ZGMy

Bypass Trash Folder Sometimes.

2021-07-03 Thread dovecot
Is there a way, or a config setting, that would allow you to for-reals delete an email from the inbox instead of sending it to the Trash folder? Not always, the default behavior should still send deleted emails to the trash folder, but on a per case bases be able to just delete an email without

Re: Bypass Trash Folder Sometimes.

2021-07-03 Thread dovecot
this is imho not controlled in dovecot at all Oops, wrong mailing list. I meant to send this to the roundcube mailing list.

Re: Deleting an active sieve script leaves sieve unfunctional

2021-07-05 Thread dovecot
On 07-05-2021 10:29 am, Tobias Leupold wrote: So, to avoid this, one has to FIRST deactivate the respectice script, so that USER.sieve is updated and THEN delete the script. Or to manually fix USER.sieve on the server, which is surely not what's intended. Curious, can you also fix the situati

Re: Deleting an active sieve script leaves sieve unfunctional

2021-07-05 Thread dovecot
On 07-05-2021 1:04 pm, Tobias Leupold wrote: There's no symlink pointing to that very script. I have virtual users, so I keep the respective sieve scripts in /srv/sieve/user@domain/. Such a directory looks like that: active-script.sieve -> USER.sieve USER.sieve some-script.sieve

Re: Deleting an active sieve script leaves sieve unfunctional

2021-07-05 Thread dovecot
On 07-05-2021 1:34 pm, Tobias Leupold wrote: Yes, that is the one im talking about: active-script.sieve Just remove that symlink and sieve will be disabled for that user and you shouldn't have any errors. Yeah, of course I won't -- but sieve filtering won't work as well without the symlink ..

Re: Deleting an active sieve script leaves sieve unfunctional

2021-07-05 Thread dovecot
On 07-05-2021 2:04 pm, Tobias Leupold wrote: When I delete a sieve script via the managesieve interface of KMail, I would expect that this script is removed from the USER.sieve script so that it's no longer included and not run anymore. Then, it should be deleted. As far as sieve is concerne

Re: Postfix / Dovecot Not Able to Authenticate

2021-07-05 Thread dovecot
On 07-05-2021 4:59 pm, techli...@phpcoderusa.com wrote: Jul 5 18:58:47 soho dovecot: auth: Debug: passwd-file(ke...@keiththewebguy.com,98.191.108.149,): lookup: user=ke...@keiththewebguy.com file=/etc/dovecot/dovecot-users Jul 5 18:58:47 soho dovecot: auth: passwd-file(ke

Re: Postfix / Dovecot Not Able to Authenticate

2021-07-05 Thread dovecot
On 07-05-2021 7:49 pm, techli...@phpcoderusa.com wrote: Ok, figured out the issue. My passwd-file was not configured correctly. Now I can send however I cannot receive. I find nothing in the logs. Now you are back to a postfix question so you might be told to move the convo back there. You

Dovecot silently discards duplicates?

2021-07-09 Thread dovecot
I setup an al...@example.com in postfix to point at m...@example.com I send one email to m...@example.com and al...@example.com, tried both ways of using CC and putting both addresses in the To field. I see in postfix logs that it delivers two messages to dovecot-lmtp. However i only get one

Re: Sv: function for whitelisting IPs

2021-07-15 Thread dovecot
I have found that dynamic IP blocking programs such as sshguard or fail2ban are a CPU burden since that table needs to be refreshed as new IPs are added or removed so I have stopped using them. Have you seen ipset? https://ipset.netfilter.org/ It is built for dynamically adding/remove IP's fr

Re: Disable authentication for submission service

2021-07-28 Thread dovecot
Are you sure? I know that postfix can use the same backend database for authentication as dovecot, and dovecot can be the master, but dovecot does NOT listen on port 25 or 587 at all, those are all just used by Postfix. Not true anymore. Dovecot added a submission service in a recent

Re: quota-status fails when size=0 from Postfix

2021-07-28 Thread dovecot
now you want it to be checking for over quota. It just sends every thing over to dovcot who knows that you want to be checking for over quota. One of the key=values postfix sends is size= of the message size. Dovecot looks at this and ignores the rest of what postfix sent and returns a result.

Re: quota-status fails when size=0 from Postfix

2021-07-29 Thread dovecot
At least from Thunderbird, yes. But SIZE=… does not seem to be a mandatory addition to the RCPT-TO line. Perhaps other mail clients do not use SIZE either. Just guessting. http://www.postfix.org/SMTPD_POLICY_README.html The "size" attribute value specifies the message size that the client spec

Re: quota-status fails when size=0 from Postfix

2021-07-29 Thread dovecot
and since dovecot does not know postfix virtual aliases is would make sense dovecot also support postfix virtual aliases in dovecot quota service Why not? You can create a query telling dovecot to lookup the quota of the mailbox the alias points to. Ofcourse your tables wont look like mine

Re: check_policy_service sends size=0

2021-07-29 Thread dovecot
It sounds like a better approach would be to make Dovecot reject any email no matter what the size is (even size=0) if a user is over quota. I'll take further discussion to the dovecot mailing list then. If you are not aware, dovecot has by default a 10% over quota grace. So even be

Re: quota-status fails when size=0 from Postfix

2021-07-29 Thread dovecot
Plus Dovecot complains that the policy service is only supposed to be used in the RCPT stage. So clearly this is a bad approach. I want to explore this more. I tried it and also see: dovecot[1096]: quota-status(26164): Warning: Received policy query from MTA in unexpected state END-OF-MESSAGE

quota_grace

2021-07-29 Thread dovecot
There isn't much documentation on quota_grace. How would you disable quota grace? quota_grace = 0 quota_grace = 0% quota_grace = 0m quota_grace = -1 Assuming "0" isn't an "unlimited" setting?

Pigeonhole Sieve Config Warning

2021-07-29 Thread dovecot
In the sieve plugin settings i have plugin { ... sieve_user_email = %u } Variables pages says %u = full username (e.g. user@domain) This config seems to work in practice, the email is from: the users email address. However on starting dovecot im getting a warning twice

Re: quota-status fails when size=0 from Postfix

2021-07-29 Thread dovecot
The only solution is to reject all mail for an over-quota recipient during recipient restrictions, and if the mail passes that stage, deliver it anyway even if it makes the user go over quota. But does this happen out of the box? Wont dovecot end up back splatter bouncing one of the recipients

Re: check_policy_service sends size=0

2021-07-31 Thread dovecot
if that is entirely done in the postfix side dovecot could be stopped and it will still work on the postfix side of it, if dovecot policy service is down, postfix will not get the result from it, but it could failback to check dovecot dict still with is used in postfixadmin, I think the issue

Re: v2.3.16 released

2021-08-07 Thread dovecot
Was the update issue sorted? Is it safe to update or was/is there a glitch? Or did the person with the issue update from the wrong branch? And just to confirm, based on the change log in this email it doesn't look like we need to change anything in our config for this update? (Coming from 2.3.

Re: Pigeonhole Sieve Config Warning

2021-08-09 Thread dovecot
starting dovecot im getting a warning twice: dovecot[35893]: managesieve: Warning: sieve: Invalid address value for setting `sieve_user_email': Missing domain dovecot[35893]: master: Dovecot v2.3.8 (9df20d2db) starting up for imap, lmtp, sieve dovecot[35897]: managesieve: Warning:

Re: Panic: lib-sql: Too many bind args

2021-08-11 Thread dovecot
On 08-11-2021 5:39 pm, Joseph D Wagner wrote: dovecot[51153]: dict(51395): Panic: lib-sql: Too many bind args (2) for statement: SELECT attr_name FROM attributes WHERE attr_name LIKE  AND username = ? No idea if this is the only problem, but the sql query has invalid syntax. SELECT

Re: Panic: lib-sql: Too many bind args

2021-08-11 Thread dovecot
Maybe there's something wrong with my "map" configuration, which led to the improper syntax (see original email), but it's Dovecot that generated the syntax. I have not used dictionaries and do not have first hand working knowledge. Until someone else more knowledgeable c

Re: Help to setup a Unix socket based authentication server for dovecot in Python

2021-08-13 Thread dovecot
-value authentication (dict) database via socket as per Or another option... Using SQL would allow you to have key-value, you can have different mail location per domain / user, and dovecot can talk to SQL over TCP or unix:socket. You wouldn't need to make a script, and when users are s

Re: Help to setup a Unix socket based authentication server for dovecot in Python

2021-08-13 Thread dovecot
age. Maybe it can give you hints as to the format needed for a python script. On the same page it also says: When given a proxy URL the Dict backend speaks a simple protocol over a UNIX socket. The protocol is defined in src/lib-dict/dict-client.h https://github.com/dovecot/core/blob/master/sr

Why do so many dovecot list mails fail dmarc?

2021-08-13 Thread dovecot
Im trying to get my head around this problem that too many valid emails from the mailing list fail dmarc. Why when other mailing list don't seem to have the same problem? I see today it says "signature verification failed", but why? Is there a problem with protonmail's dkim

Re: [OT] Re: What kind of search response time are you setting with solr full text search?

2021-08-25 Thread dovecot
So this looks really good and fast. So I think we can say with confidence solr is doing its job. So why is roundcube/dovecot taking so long to show the results? Random guess... Buffering? Whatever is sending to the browser isn't sending enough bytes to flush the buffer so the data is le

Re: Dovecot Director: Preferred backend server

2021-08-30 Thread dovecot
I have a dovecot cluster with directror and two IMAP Servers behind. Since they are in geographical different locations I would like to have users to go to a specific IMAP backend server (if both are up) and only switch to the other if one goes down (failover). As to my current knowledge the

Re: Duplicate plugins - FTS Xapian

2021-09-01 Thread dovecot
On 09-01-2021 2:21 pm, Joan Moreau wrote: Just for clarity, Open-Xchange has not written any xapian plugin whatsoever. Yes but the doc says that Open Xchaneg "supports" one over the other. Honestly, I am doing this over my free time, begin very reactive to user requests, and have this confirm

Over Quota Reply Codes

2021-09-01 Thread dovecot
Dovecot quota plugin returns code 554 5.2.2 when a user inbox is full. Why 554 (transaction failed) instead of 552 (exceeded storage allocation)? Im curious behind the logic as im trying to determine the best code to use to reject a user sending more emails than their number-of-emails-limit

Using a DICT PROXY with SQL for AUTH

2021-09-02 Thread dovecot
, how do i use this with proxy? passdb { driver = sql args = /etc/dovecot/mysql_login } userdb { driver = prefetch } /etc/dovecot/mysql_login: driver = mysql connect = host=/var/lib/mysql/mysql.sock dbname=redacted user=redacted password=red

Re: How can I always send a vacation response with sieve?

2021-09-04 Thread dovecot
On 09-04-2021 4:28 pm, Steve Dondley wrote: I don't want dovecot to wait X days before sending out another vacation response. However, setting the :days to "0" doesn't work. RFC https://www.rfc-editor.org/rfc/rfc5230.html#section-4.1 says: 4.1. Days Parameter The &quo

Re: Password Schemes

2021-09-11 Thread dovecot
does the {MD5} vs {SHA512-CRYPT} in passwd over-rule auth-passwdfile.conf.ext ? Yes this is by design and is why passwords are prefixed with the type. This allows easy upgrade to stronger encryption in the future without having to throw out all the old passwords at once. It allows users to re

Storing Last Login Plugin value in SQL

2021-09-13 Thread dovecot
The last-login plugin sends a number (epoch seconds) as uint or string in a query to sql. If i create a column type in sql of varchar() the number is saved in the column as a string, but not very useful. I can not figure out how to get that value into a date/time column such as date, datetime

Re: Storing Last Login Plugin value in SQL

2021-09-13 Thread dovecot
s a dict map{}. I can not create my own query for the plugin to execute otherwise this would be way easier. Using the map{} method all you can do it tell it the column name to update and the plugin/dovecot writes the insert on dupe query automatically removing any kind of flexibility or customizat

Re: Storing Last Login Plugin value in SQL

2021-09-13 Thread dovecot
Assuming you use MariaDB / MySQL, you create this trigger in the database. Assuming your int/bigint/varchar column is lastlogin and the table name is mailacct, the trigger will update the datetime `logindate` column whenever the table is updated, by whatever existing queries you have. This is yo

Issue between roundcube and newer dovecot 2.3.16 with doveadm pw

2021-09-15 Thread dovecot
Aki; I know most likely this isn't dovecot's fault, however upgrading from 2.3.8 to 2.3.16 broke the password plugin for roundcube. Im only asking if you might know what changes in dovecot might have caused this incompatibility so i can fix it myself or point roundcube in the right

Unprivileged users can't use doveadm anymore in 2.3.16

2021-09-16 Thread dovecot
ation file /etc/dovecot/dovecot.conf line 19: ssl_key: Can't open file /etc/letsencrypt/live/example_cert/privkey.pem: Permission denied I tried "doveadm quota get ..." from the console as user apache and got the same error. I then tried running just "doveadm" and got t

ssl_cipher_list

2021-10-03 Thread dovecot
Is there a difference between not setting #ssl_cipher_list = or setting to nothing ssl_cipher_list = or setting to ssl_cipher_list = PROFILE=SYSTEM Which is the best preferred way for default? Also, the docs say "You should usually prefer server ciphers and their order, so setting ssl_

Re: Authentication problems due to file ownership issue.

2021-10-03 Thread dovecot
Oct 03 20:19:52 auth: Error: net_connect_unix(auth-worker) in directory /run/dovecot failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /run/dovecot/auth-worker, dir owned by 0:0 mode=0755) I set this about an hour ago, then applied some security patches and

Re: sieve: active= doesn't seem to use bindir=

2021-10-05 Thread dovecot
It looks like dovecot is trying to save the compiled active script to the same directory as the source file, instead of to bindir. Am I missing something? sieve = file:/usr/local/etc/mail/%{domain}/%{username}/sieve; active=/usr/local/etc/mail/%{domain}/%{username}/sieve/.active.sieve

Re: sieve: active= doesn't seem to use bindir=

2021-10-05 Thread dovecot
I thought active was where to read the active source script from? I'm not using managesieve, so I wouldn't expect dovecot to try writing to that file. I don't see anything in https://doc.dovecot.org/configuration_manual/sieve/configuration/ about active pointing at a compiled f

Re: haproxy config manual update for multiple ports

2021-10-07 Thread dovecot
On 10-07-2021 5:51 am, Marc wrote: Maybe update this to having multiple ports (if this is even possible) frontend ft_imap bind :110 << bind :143 mode tcp default_backend bk_imap backend bk_imap mode tcp balance leastconn stick store-request src stick-table type i

Re: reconsidering my (your?) current setup

2021-10-07 Thread dovecot
On 10-07-2021 4:30 am, Marc wrote: With redhat 'dumping' the support for centos and the availability of containers. I thought about reconsidering my default dovecot setup. Since the concept of having a lts distribution that is supported by redhat/centos is more or less 'unavaila

Re: [External] Re: reconsidering my (your?) current setup

2021-10-07 Thread dovecot
On 10-07-2021 11:57 am, Kevin A. McGrail wrote: The CentOS community manager is a friend and he understands that they really missed the mark on the messaging around CentOS8 Stream. In short, I'm not sure it's going to be that bad of a solution. People think that because Redhat has repeatedly

Re: Create a separated mailbox for archived mails

2021-10-20 Thread dovecot
I would like to archive e-mail older than 5 years on a second storage Considering dovecot uses indexes, is there a performance benefit to the inbox in moving older emails to an "archive" folder?

Re: doveconf non-syntax check

2021-10-23 Thread dovecot
root@unix:/etc/dovecot# dovecot -F doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf ...maybe it's useful to add a 'quiet' option (i.e. no stdout) to doveconf. dovecot -F > /dev/null 2>&1 :)

Re: Design Check

2021-10-27 Thread dovecot
n to go to their own mailbox. Your question might be more suited to the postfix mailing list. Dovecot doesn't receive mail from the internet, which i believe you understand as you said "have postfix accepting the emails before passing them to Dovecot". On the postfix side, one op

Re: Design Check

2021-10-27 Thread dovecot
barbaz+te...@mydomain.com -> bar...@mydomain.com You can change the + to any symbol you want postfix to look out for. I think my "creating users" was me wanting to make sure that when postfix passes an email for "bar...@mydomain.com" to Dovecot, then Dovecot will store it and wai

Re: Design Check

2021-10-27 Thread dovecot
On 10-27-2021 11:10 pm, justina colmena ~biz wrote: Interesting. Have you looked at this? https://serverfault.com/questions/133190/host-wildcard-subdomains-using-postfix That makes sense and would work, setting domains and user addresses with perl regex expressions.

Re: Subfolder in sieve not working as expected

2021-11-15 Thread dovecot
>     fileinto :create "INBOX/${2}"; > } I am not using variables and my folders are pre-created. But just to give you a starting point, this is what works using maildir++ format with default directory layout. https://doc.dovecot.org/configuration_manual/mail_location/Maildir/

Re: Can sieve-script run when saving mail in Sent folder?

2021-11-17 Thread dovecot
nto different sent folders like work vs personal. However i do not think it is possible as https://doc.dovecot.org/configuration_manual/sieve/troubleshooting/ says... " Sieve scripts are executed by the Dovecot LDA (Local Delivery Agent) and/or the Dovecot LMTP service. That is why you firs

Re: imap_metadata plugin panic

2021-11-21 Thread dovecot
> On 11-21-2021 1:15 pm, Elisamuel Resto wrote: > I have gone through my configuration and even found a configuration example > by Aki and that confirms how I configured it… still getting that > error. > Nov 15 12:19:19 wyvern dovecot[461]: dict(51438): Panic: lib-sql: Too many

Re: /var/run/dovecot/stats-writer) failed: No such file or directory

2021-11-22 Thread dovecot
> On 11-22-2021 5:11 am, Brent Clark wrote: > dovecot: imap-login: Error: net_connect_unix(/var/run/dovecot/stats-writer) > failed: No such file or directory > > With a bit of googling, I tried the suggestions of: > https://forum.iredmail.org/post67042.html#p67042 > http

Re: Dovecot v2.3.17.1 Released

2021-12-07 Thread dovecot
> We are happy to announce 2.3.17.1 patch release of Dovecot. > This contains some fixes for issues found after 2.3.17 release. I am still seeing this issue in startup logs: LOGS: dovecot[16466]: config: Warning: sieve: Invalid address value for setting `sieve_user_email': Missing

Re: Force clients to use pgp encryption when sending email?

2021-12-07 Thread dovecot
> Basically I want the server to check if the message being sent is encrypted > with OpenGPG and either proceed or reject the message based on that criteria. Postfix is your submission service so i think best to look that direction. If there is a header you can check for (if the header exist th

Re: spf helo pass

2021-12-30 Thread dovecot
> spf is more stable > results from current msg DMARC breaks on dovecot mailing list. DMARC does not break on postfix mailing list. Having a mailing list that doesn't break DMARC is possible. Maybe ask Wietse how he does it :)

Re: spf helo pass

2021-12-30 Thread dovecot
> On 12-30-2021 10:35 am, Felix Zielcke wrote: > > But dovecot mailing list uses ARC Headers. > And they seem to verify for me (using rspamd) I have not fully studied ARC, but from briefly looking isn't ARC just a way for the sending server to attest to the email it is relayi

Re: Can't connect to database

2022-01-02 Thread dovecot
>> mysql(localhost): Connect failed to database (postfix): Can't connect >> to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) > Maybe MySQL is not running, or perhaps something is blocking connecting to > it? Check dmesg and (if on redhat based system) > /var/log/audit/audit.

Re: Doveadm auth fails

2022-01-04 Thread dovecot
> kwright@grace:/etc/dovecot/conf.d$ ls -la /var/run/dovecot/auth-client > srw--- 1 dovecot root 0 Jan 4 19:09 /var/run/dovecot/auth-client > > I see /var/run/dovecot/auth-client only has read and write permissions > for the owner and nothing for anyone else. Is this par

Re: Doveadm auth fails

2022-01-04 Thread dovecot
> Error: auth-client: conn unix:/var/run/dovecot/auth-client: > connect(/var/run/dovecot/auth-client) failed: Permission denied > (euid=1000(kwright) egid=1000(kwright) missing +r perm: It might be failing you at the prompt because you are running doveadm as kwright. Try running the c

Re: TLS connection closed unexpectedly

2022-01-07 Thread dovecot
> user_query = SELECT maildir, 2000 AS uid, 2000 AS gid FROM mailbox > WHERE username = '%u' AND active='1' If you are using a static uid/gid it is not needed to have it include it in queries. You can set them in the config with: mail_uid = 2000 mail_gid = 2000 And then shorten the query

Is Diffie-Hellman needed?

2022-01-10 Thread dovecot
Is Diffie-Hellman needed on a modern new dovecot setup? ssl_dh is empty by default. Both ssl_cert and ssl_key on my setup are pointing to let's encrypt certs. However i see Diffie-Hellman related warnings in logs: dovecot[1073]: imap-login: Error: Diffie-Hellman key exchange requested, b

Re: Is Diffie-Hellman needed?

2022-01-10 Thread dovecot
And follow up question; The docs say you are encouraged to disable non-ECC DH algorithms completely. However i didn't see anything on that same page explaining how to go about doing that. Can someone point me to something explaining what that means and how to go about doing it?

Re: source code doesn't compile

2022-01-11 Thread dovecot
> I am running an older version of dovecott and would really like to > upgrade it and there is no package for this linux version Not sure what OS you are using, but in case you didn't know, dovecot maintains their own repos for popular OS's allowing you to use your package man

lmtp_save_to_detail_mailbox

2022-01-16 Thread dovecot
lmtp_save_to_detail_mailbox: " If the recipient address includes a detail element / role (as in user+detail format), save the message to the detail mailbox. " Im not understanding this, what is the "detail mailbox"? I tried testing this feature by setting "lmtp_save_to_detail_mailbox = yes" and

Re: lmtp_save_to_detail_mailbox

2022-01-18 Thread dovecot
> That means, if there is a mailbox with the same name as the used detail > extension, it will move that email there. > > In your example: > Set "lmtp_save_to_detail_mailbox = yes". > Create a mailbox with name "test" in user's postbox. > Then send an email to and it will end up in > mailbox "tes

Re: lmtp_save_to_detail_mailbox

2022-01-18 Thread dovecot
> Create a mailbox with name "test" in user's postbox. > Then send an email to and it will end up in > mailbox "test" instead of INBOX. I have noticed this is case-sensitive. If i create a folder "test" but someone sends the email to "user+t...@example.com" it wont get sorted into the folder.

Re: lmtp_save_to_detail_mailbox

2022-01-19 Thread dovecot
>> lmtp_save_to_detail_mailbox = yes >> Is there anyway it make this feature case-insensitive? > auth_username_format = %Lu > might help... > Aki Im using the default for that setting and it shows it is already %Lu [root dovecot]# doveconf -a auth_username_forma

Re: noob maildir question

2022-01-23 Thread dovecot
> I would like to ask if it is an acceptable practice to manage messages in the > maildir as a file (move them from one folder to another) while dovecot is in > stop state thinking that it will be rebuild to the next imap user login Acceptable? That is subjective. It is your sy

Re: silly quesiton

2022-01-25 Thread dovecot
> On 01-25-2022 11:35 am, Marc wrote: > 2. if you do not use separate users, everything is written under the same uid. IMO: So what? What is the difference between a linux user vs a virtual user permission wise? They are both equally unprivileged users. If dovecot can get to them, virt

Re: silly quesiton [ot]

2022-01-30 Thread dovecot
Storing mail in a db... at the end of the day isn't it still just a file (.db file) on the drive? Aren't you just adding bloat and complexity vs just storing the mail directly (maildir format) to a file on the drive? What do you think you are saving? Security? If someone can read files on your s

Re: Sv: dovecot mailing list (this mailing list), DKIM, SPF and DMARC

2022-02-09 Thread dovecot
> when dkim pass there is no breakage, but dkim fail can lead to in some setups > to make reject, even for maillists > that is a design fail on dkim I disagree. DKIM is doing its job. It is a design fail on the part of most mailing list and/or lack of user's DKIM signatures. Look at it logical

dovecot --hostdomain

2016-09-15 Thread dovecot
Hi, I'm currently debugging replication issues and I found that both servers answer to a "dovecot --hostdomain" simply with localhost From what I've read, this can lead to problems. Where do I configure the dovecot hostdomain name? The machine itself has a valid n

Re:Self-Signed Certificate issue

2016-09-23 Thread dovecot
you want them. Restart dovecot. You may have to change the configuration to use the names just created. Dave Ryan On 09/23/16 11:07, Darryl Baker wrote: > My apologies if this is a repeat but my search of the archive did not turn > it up in the recent past. If this has been covered just poi

permissions and doveadm

2016-12-22 Thread dovecot
luuk@opensuse:~/bin> doveadm quota recalc luuk@opensuse:~/bin> doveadm quota recalc -u luuk doveadm(luuk): Error: userdb lookup: connect(/usr/local/var/run/dovecot/auth-userdb) failed: Connection refused doveadm(luuk): Fatal: User lookup failed: Internal error occurred. Refer to server log f

Sieve: fileinto :create issue with Public Folder

2017-01-16 Thread dovecot
mand works as well. Any tip? Running dovecot 2.2.13 on a pi/debian jessie Thanks

Re: Sharing between domains?

2017-01-29 Thread dovecot
not appear under the "Shared" Here is the config - # 2.2.13: /etc/dovecot/dovecot.conf auth_mechanisms = plain login default_login_user = virmail first_valid_gid = 5501 first_valid_uid = 5501 imap_client_workarounds = delay-newmail tb-extra-mailb

Sieve and multi-auth databases

2017-02-21 Thread dovecot
Hello Community, I am currently facing the following: - dovecot+postfix+sieve are running smoothly using passwd-file authentication - if a add a second authentication scheme (let's say mysql), I face a problem with sieve: -- receiving thru postfix is ok on both passwd-file and

Re: letsencrypt

2017-03-03 Thread dovecot
wanting to do is get letsencrypt going for my email setup, the smtp handled by postfix, but mail, and imap I believe are handled by dovecot. With the web it was easy just let apache serve the token that letsencrypt needed and I got certificates. How do I do this with regards email? You can use certbo

new article

2017-03-10 Thread dovecot
Hi, There is an article I've written recently and Iwanted to hear your thoughts about it, please read it here http://example.wowcinema.com/6f6e Best regards, dovecot

LAYOUT=fs and subfolders listing

2017-04-07 Thread Dovecot
dovecot-2.2.28-1.el6_31.wing.x86_64 I've created this public shared namespace with namespace public2 { type = public separator = . prefix = Public2. location = maildir:/mail/public2:INDEX=/mail/%u/public:LAYOUT=fs:DIRNAME=.store subscriptions = no } and I'm

Re: Sieve GLOBAL + Sieve LOCAL

2017-05-17 Thread dovecot
> But what I would need is execute a global sieve_before for all users to > apply some spam selection rules. Did anybody easily achieved it? Is this what you are looking for? This is how I enforce spam rules prior to users' custom scripts. #in dovecot configuration plugin { s

Re: Sieve GLOBAL + Sieve LOCAL

2017-05-19 Thread dovecot
On Thu, May 18, 2017 at 07:29:15PM -0400, Bill Shirley wrote: > Doesn't 'keep' imply 'stop'? What if your users want the email in a > different folder that the INBOX? > > Leave the 'else' clause off. It doesn't in this circumstance. "For normal Sieve execution, "keep;" is equivalent to "filein

dovecot: auth-worker: Fatal: master: service(auth-worker): child XXXXX killed with signal 11

2017-05-24 Thread dovecot
Trying to track down a dovecot issue The error message is: dovecot: auth-worker: Fatal: master: service(auth-worker): child X killed with signal 11 (core not dumped - set service auth-worker { drop_priv_before_exec=yes }) The setup is dovecot 2.2.29.1 with passwd and mysql auth

dovecot: auth-worker: Fatal: master: service(auth-worker): child XXXXX killed with signal 11

2017-05-24 Thread dovecot
Trying to track down a dovecot issue The error message is: dovecot: auth-worker: Fatal: master: service(auth-worker): child X killed with signal 11 (core not dumped - set service auth-worker { drop_priv_before_exec=yes }) The setup is dovecot 2.2.29.1 with passwd and mysql auth

dovecot: auth-worker: Fatal: master: service(auth-worker): child XXXXX killed with signal 11

2017-05-26 Thread dovecot
Still Trying to track down a dovecot issue The error message is: dovecot: auth-worker: Fatal: master: service(auth-worker): child X killed with signal 11 (core not dumped - set service auth-worker { drop_priv_before_exec=yes }) The setup is dovecot 2.2.29.1 with passwd and mysql

  1   2   3   4   5   6   7   8   9   10   >