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
messages to the inbox?
--
Alex JOST
foo-${foo}";
if header :matches "Subject" "*"
deleteheader "Subject";
addheader "Subject" "[${foo}] ${1}";
}
}
--
Alex JOST
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
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
;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
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
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
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
/Authentication/RestrictAccess
--
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
removed. Unfortunately it is still referenced in
the Wiki.
https://www.dovecot.org/pipermail/dovecot/2017-May/108159.html
--
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
verything to the endpoint? You can modify the configuration of rsyslog
and explicitly set a hostname if needed.
--
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
that:
https://wiki.dovecot.org/PostLoginScripting
--
Alex JOST
'ipset list' to list all entries with their timeout.
--
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
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
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
.
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
can enforce an encrypted connection it is better to use
PLAIN/LOGIN and save the passwords as hashes (preferably with salts).
--
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
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
o mdbox before).
I'm wondering if this might be caused by using the same directory for
home and mail?
--
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
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
he session.
/etc/dovecot/conf.d/10-logging.conf:
mail_log_prefix = "%s(%u,%{session}): "
--
Alex JOST
x27;t automatically sync subfolders. I think you need to
edit the schedule and enable sync for every subfolder explicitly.
--
Alex JOST
what's the advantage over doveadm?
doveadm quota get -A
--
Alex JOST
dovecot.org/Services#inet_listeners
--
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
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
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
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
TLS,
# pop3s, imap+TLS and imaps
# plain imap and pop3 are still allowed for local connections
--
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
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
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
+Zp0mj3MEUGA1UdIAQ+MDwwOg==
-END CERTIFICATE-
--
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
ozilla.org/show_bug.cgi?id=773579
--
Alex JOST
squeeze-backports repository. My guess is
that you added configuration for LMTP but didn't install the
dovecot-lmtpd package.
--
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
overwriting your configuration.
--
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
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
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
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
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
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
", 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
, 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
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
ponds to on
FreeBSD).
Your configuration does not specify any protocol to enable.
--
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
't you query the database
directly?
--
Alex JOST
57 matches
Mail list logo