Re: Missing permissions

2020-04-11 Thread Alex JOST
licy. Check that grep includes only lines that you want included in your new policy: grep dovecot /var/log/audit/audit.log | audit2allow -w Create your new policy for Dovecot and install it: grep dovecot /var/log/audit/audit.log | audit2allow -M dovecot_custom semodule -i dovecot_custom.pp -- Alex JOST

Re: Problem With Quota Dovecot

2019-12-06 Thread Alex JOST via dovecot
messages to the inbox? -- Alex JOST

Re: Sieve adding header content to a different header

2019-07-24 Thread Alex JOST via dovecot
foo-${foo}"; if header :matches "Subject" "*" deleteheader "Subject"; addheader "Subject" "[${foo}] ${1}"; } } -- Alex JOST

Re: Mail migration problem

2019-06-23 Thread Alex JOST via dovecot
in https://wiki.dovecot.org/Migration/MailFormat is incorrect or for some reason is not working for me as it should for example #1. Second issue is not recognizing maildir format – what about that? Docecot has some missing libraries? Does your mail user have write access for this directory? -- Alex JOST

Re: Sieve logging?

2019-06-13 Thread Alex JOST via dovecot
reference └── Maildir sieve = file:~/.sieve;active=~/.active_sieve You specified '~/.active_sieve' as your active scripts location but the script is actually located at '~/.sieve/.active_sieve'. -- Alex JOST

Re: Sieve logging?

2019-06-13 Thread Alex JOST via dovecot
;267d5d71-d99c-4790-8706-c1a92bcc9...@kreme.com>: stored mail into mailbox ‘INBOX' Which doesn’t really tell me anything other than that the script failed. The users home directory should contain a log file named .dovecot.sieve.log. -- Alex JOST

Re: new Centos server install yum dependancy error

2019-02-22 Thread Alex JOST via dovecot
2.3 CentOS $releasever - $basearch baseurl=http://repo.dovecot.org/ce-2.3-latest/centos/$releasever/RPMS/$basearch gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG gpgcheck=1 enabled=1 Did you run 'yum update && yum upgrade'? -- Alex JOST

Re: special_use folders still created

2019-01-07 Thread Alex JOST
nce on big mailboxes by simply sorting archived mails by the mail's year. Thunderbird uses yearly archived folders by default, but this behaviour can be changed. https://support.mozilla.org/en-US/kb/archived-messages -- Alex JOST

Re: Renewal of Let's Encrypt Certificates in Dovecot

2018-10-11 Thread Alex JOST
the need of any sysadmin intervention or automated script after that renewal. You can add a POST_HOOK to Certbot (or whatever you are using) to reload Dovecot after certificates have been renewed. No need for manual intervention. -- Alex JOST

Re: Force a user to use POP3

2018-07-17 Thread Alex JOST
/Authentication/RestrictAccess -- Alex JOST

Re: Sieve_default

2018-06-12 Thread Alex JOST
There are no user sieve files # find /home -name "*sieve*" -type f # The x-spam-flag header in the message in my mailbox is definitely there and definitely set to yes. I think you need to enable the 'fileinto' extension via 'require'. And did you pre-compile the script? -- Alex JOST

Re: Error compiling with --with-storages=

2018-05-10 Thread Alex JOST
removed. Unfortunately it is still referenced in the Wiki. https://www.dovecot.org/pipermail/dovecot/2017-May/108159.html -- Alex JOST

Re: multi-site SSL certificates

2018-04-02 Thread Alex JOST
oot -w /usr/share/nginx/html \ -d www.a.com -d a.com -d mail.a.com \ -d www.b.com -d b.com \ -d www.c.com -d c.com -- Alex JOST

Re: dovecot logging

2018-03-27 Thread Alex JOST
verything to the endpoint? You can modify the configuration of rsyslog and explicitly set a hostname if needed. -- Alex JOST

Re: How to stop sieve processing to skip sieve_after scripts ?

2018-03-23 Thread Alex JOST
processing in user sieve script, but processing continue. sieve_default might be the better approach to this. It uses your script until the user defines his own script. -- Alex JOST

Re: Save login's to a table

2018-01-12 Thread Alex JOST
that: https://wiki.dovecot.org/PostLoginScripting -- Alex JOST

Re: ot: fail2ban dovecot setup

2017-12-18 Thread Alex JOST
'ipset list' to list all entries with their timeout. -- Alex JOST

Re: ot: fail2ban dovecot setup

2017-12-17 Thread Alex JOST
ec 17 09:31:40 systemd[1]: Reloaded Fail2Ban Service. Hint: Some lines were ellipsized, use -l to show in full. Did you enable the dovecot service in fail2ban? By default all jails are disabled. /etc/fail2ban/jail.conf: [dovecot] enabled = true -- Alex JOST

Re: Dovecot path separator clarification

2017-12-15 Thread Alex JOST
Dovecot create: ../Maildir/.Scuola.prova Here my question: why not ../Maildir/Scuola/prova ? The mailbox separator doesn't change the filesystem layout. See: https://wiki.dovecot.org/Namespaces#Hierarchy_separators -- Alex JOST

Re: sieve filter move wrong email to Junk folder

2017-12-15 Thread Alex JOST
l is from dovecot mailling list and it end up in my Junk folder. Mailllog and header here. Would someone help me to figure out what went wrong here? X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00  autolearn=ham version=3.3.2, No AFAIK, header matching is case-insensitive. That's why 'YES' matches 'BAYES' and triggers the action. -- Alex JOST

Re: Sieve global path?

2017-11-10 Thread Alex JOST
. Do you have 'maildir_stat_dirs=yes'? Without it non-mailbox files may show up as mailboxes. See: https://wiki.dovecot.org/VirtualUsers/Home#Home_vs._mail_directory -- Alex JOST

Re: Need help in understanding auth digest-md5 and realm

2017-10-28 Thread Alex JOST
can enforce an encrypted connection it is better to use PLAIN/LOGIN and save the passwords as hashes (preferably with salts). -- Alex JOST

Re: Mail Alias Stores in mySQL Not working

2017-10-10 Thread Alex JOST
ser_query is not limiting the SQL search with a WHERE clause" To me this sounds like you are trying to login with an alias address. This will not work with such a simple query. Dovecot requires 1 username/address per account. Aliases are generally handled by the MTA. -- Alex JOST

Re: Problems to configure IMAP Quota

2017-09-10 Thread Alex JOST
syntaxly incorrect MySQL uodate request...) Using 'storage' instead of 'bytes' should provide limits as kilobytes. See Wiki: https://wiki2.dovecot.org/Quota/Configuration#Limit_configuration -- Alex JOST

Re: can't get quota working. I use static userdb driver.

2017-09-06 Thread Alex JOST
o mdbox before). I'm wondering if this might be caused by using the same directory for home and mail? -- Alex JOST

Re: Problem switching from LDA to LMTP (with Postfix)

2017-08-04 Thread Alex JOST
= roomNumber=quota_rule=*:bytes=%$,uid=home=/home/vmail/%u iterate_filter = (objectClass=*) You are searching for the complete username (%u = user@domain) but it sounds like you only want the localpart (%n). See: https://wiki.dovecot.org/Variables -- Alex JOST

Re: Sieve can't move messages in a public namespace

2017-06-30 Thread Alex JOST
I double checked config, dovecot documentation, sieve documentation, ACL, filesystem paths, filesystem permissions, etc. etc. I'm pretty sure it's all right. So why isn't sieve working? I think the :create command requires 'mailbox'. require ["fileinto","mailbox"]; -- Alex JOST

Re: 2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?

2017-06-05 Thread Alex JOST
he session. /etc/dovecot/conf.d/10-logging.conf: mail_log_prefix = "%s(%u,%{session}): " -- Alex JOST

Re: Question about how to serve many imap users on some mailbox.

2017-05-30 Thread Alex JOST
x27;t automatically sync subfolders. I think you need to edit the schedule and enable sync for every subfolder explicitly. -- Alex JOST

Re: quota-warning: possible to have size also?

2017-03-06 Thread Alex JOST
what's the advantage over doveadm? doveadm quota get -A -- Alex JOST

Re: dovecot 2.2.x listening on multiple interfaces

2017-03-06 Thread Alex JOST
dovecot.org/Services#inet_listeners -- Alex JOST

Re: Transitioning away from mail_location = maildir:~

2017-03-06 Thread Alex JOST
he same as mail directory with mbox or Maildir formats (but with dbox/obox it's fine). It's possible to do that, but you might run into trouble with it sooner or later." -- Alex JOST

Re: tlsv1 alert unknown ca: SSL alert number 48

2017-01-29 Thread Alex JOST
lert unknown ca: SSL alert number 48, session= Is this a self signed cert? Did you import it into Thunderbird? Does the common name match? Enabling the Error Console in Thunderbird (Menu => Extras) might give you a better clue. -- Alex JOST

Re: MAPI Properties?

2015-10-27 Thread Alex JOST
tell for sure, but from what I've read on this topic Outlook understands IMAP keywords and is syncing them to the IMAP server. [1] http://wiki2.dovecot.org/MailboxFormat/Maildir -- Alex JOST

Re: SSL accept error

2015-07-21 Thread Alex JOST
SSL_accept:SSLv3 flush data I have look through both my dovecot and postfix configs but have not been able to isolate the issue yet, hoping someone might be able to help. What are the permissions for your certificates? -- Alex JOST

Re: Problem logging in during testing

2015-06-15 Thread Alex JOST
TLS, # pop3s, imap+TLS and imaps # plain imap and pop3 are still allowed for local connections -- Alex JOST

Re: Problem logging in during testing

2015-06-15 Thread Alex JOST
tings. Refer to server log for more information. ~doveadm log find' says everything goes to /var/log/maillog, so that's all I have. Try adding a default mail_location. userdb { driver = passwd-file args = username_format=%u /etc/dovecot/users default_fields = mail=maildir:~/Maildir } -- Alex JOST

Re: Problem logging in during testing

2015-06-15 Thread Alex JOST
et 127.0.0.1 143 and attempt to log in with the string: a login whether it's one in my users file or not, I get: a NO [AUTHENTICATIONFAILED] Authentication failed. Logs might give you a clue what exactly doesn't work. -- Alex JOST

Re: Testin new installation

2015-06-14 Thread Alex JOST
the first and second of the above three files, then saving the concatenated buffer as /etc/pki/dovecot/certs/tgv2015.crt IMHO the easiest way to do this: cat mydomain_cert.pem intermediate_cert.pem > new_cert_bunddle.pem -- Alex JOST

Re: Testin new installation

2015-06-14 Thread Alex JOST
+Zp0mj3MEUGA1UdIAQ+MDwwOg== -END CERTIFICATE- -- Alex JOST

Re: Order of keys

2015-06-10 Thread Alex JOST
ance. The private certificate is separate and defined by "ssl_key". The signed certificate for your domain and the CA's intermediate certificate are combined in 1 file and defined by "ssl_cert". The signed certificate is placed at top and the intermediate certificate next. -- Alex JOST

Re: Creating IMAP folders/subfolders with Thunderbird

2015-05-29 Thread Alex JOST
ozilla.org/show_bug.cgi?id=773579 -- Alex JOST

Re: how to config dovecot from source with lmtp

2014-09-19 Thread Alex JOST
squeeze-backports repository. My guess is that you added configuration for LMTP but didn't install the dovecot-lmtpd package. -- Alex JOST

Re: Case sensitivity

2014-09-15 Thread Alex JOST
e that can't happen, how can I get dovecot to ignore case when looking for mailboxes? Is the username modified by your user query? Something like "%Ln"? http://wiki2.dovecot.org/Variables -- Alex JOST

Re: Dovecot is looking for .dovecot.lda-dupes in the wrong place

2014-09-03 Thread Alex JOST
overwriting your configuration. -- Alex JOST

Re: New user mailbox permission

2014-08-21 Thread Alex JOST
nks. You could use sudo to grant your backup user the required rights to read those files. ==> /etc/sudoers backupuser ALL=NOPASSWD: /usr/bin/rsync -- Alex JOST

Re: Mailboxes not showing up in MS Outlook

2014-07-20 Thread Alex JOST
h the list of available IMAP folders? http://office.microsoft.com/en-us/outlook-help/download-an-imap-folder-list-HP010080418.aspx#BM1 -- Alex JOST

Re: Dovecot/K9/Thunderbird IMAP interaction issues: replicated messages, constant reloading (TB) & missing new messages (K-9)

2014-07-17 Thread Alex JOST
and grep for it on the server * Use a local client (like Mutt or Roundcube) on the server to access the mailbox * Use a different client than Thunderbird on your PC -- Alex JOST

Re: Sieve: adding Date: header when missing

2014-07-17 Thread Alex JOST
n-5.1 Finally, currentdate can be used in conjunction with the editheader extension to insert a header-field containing date/time information: require ["variables", "date", "editheader"]; if currentdate :matches "std11" "*" {addheader "Processing-date" "${0}";} -- Alex JOST

Re: Dovecot/K9/Thunderbird IMAP interaction issues: replicated messages, constant reloading (TB) & missing new messages (K-9)

2014-07-15 Thread Alex JOST
user = vmail } user = vmail } ssl = required ssl_cert = I don't know if it makes a difference for you as you are not using "LAYOUT=fs" but try to disable those imap_client_workarounds. -- Alex JOST

Re: Dovecot not changing SSL key and certificate as in config file

2014-07-08 Thread Alex JOST
Am 08.07.2014 12:58, schrieb Mitchell McMillan: I am trying to use my (decrypted) SSL key and certificate in Dovecot. I have changed /etc/dovecot/conf.d/10-ssl.conf like so: ssl_cert = Maybe the values got overwritten by another file. grep -ER 'ssl_(key|cert)' /etc/dovecot/ -- Alex JOST

Re: Dovecot Auth Tries Spam

2014-07-08 Thread Alex JOST
", protocol=tcp] logpath = /var/log/mail.log Thanks for help & Nice day Silvio Seems as if you have configured Dovecot to use a file that doesn't exist. This has nothing to do with fail2ban. Let's see the output of "doveconf -n" to start with. -- Alex JOST

Re: Error receiving mail from postfix

2014-07-01 Thread Alex JOST
, but I must be missing it. As Edgar Pettijohn has written on the Postfix mailing list this setting should be found in /usr/local/etc/dovecot/conf.d/15-lda.conf -- Alex JOST

Re: Dovecot and Postfix

2014-06-30 Thread Alex JOST
les. That's why they are not matched by !include conf.d/*.conf It looks like the "10-master.conf" isn't being used. Why do you think so? -- Alex JOST

Re: Dovecot and Postfix

2014-06-30 Thread Alex JOST
ponds to on FreeBSD). Your configuration does not specify any protocol to enable. -- Alex JOST

Re: Wheezy Dovecot workarounds

2014-06-24 Thread Alex JOST
7;t shoot me, I'm just the messenger. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance I've just checked with a fresh installation and it's working flawlessly on my server. Dovecot is started after installation and listening. -- Alex JOST

Re: [Dovecot] checkpassword memory limit

2014-06-07 Thread Alex JOST
't you query the database directly? -- Alex JOST