Displaying 20 results from an estimated 303 matches for "mail_log_prefix".
2009 Apr 13
1
Suggestion: deliver should honor mail_log_prefix
I can set the log prefix for imap/pop3 processes using mail_log_prefix
but the log prefix for deliver is hard-coded. (I'm using 1.1.13.)
Deliver should either honor mail_log_prefix or have its own setting
(deliver_log_prefix?). What do you think?
2016 Apr 05
2
Session ID separator change
..."). If somebody cares about parsing the original session ID from logs, they can just cut off the session ID from the first ':' character (because indexer-worker also adds its own :suffix).
So now I'm mainly wondering if ':' is a good character? Has somebody already changed mail_log_prefix in a way that these additional ':' chars might break their log parsers (e.g. mail_log_prefix=%u:%s%{session}:%r).
2017 Jun 05
1
2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?
...; session ID to my future log files. Is this documented anywhere?
>
> https://wiki.dovecot.org/Variables does not help enough with regards to
> how to apply it to logfile settings in dovecot.conf... :-(
Something like this should log the session.
/etc/dovecot/conf.d/10-logging.conf:
mail_log_prefix = "%s(%u,%{session}): "
--
Alex JOST
2017 Dec 21
2
Dovecot 2.3-rc Logging Format
Hi,
the release candidate defaults to a log format with session IDs.
mail_log_prefix = "%s(%u)<%{pid}><%{session}>: "
As the LMTP service seems to have the session ID hardcoded, the IDs get duplicated in the logs:
Dec 21 08:48:03 edi dovecot: lmtp(26573): Connect from local
Dec 21 08:48:03 edi dovecot: lmtp(tlx at leuxner.net)[26573]: <fCVaBjNnO1rNZwAAIRO...
2018 Nov 07
1
MailLog plugin distinguish between simultaneous logins
...pobox.sk wrote:
>> Hi,
>>
>> is it, somehow, possible to distinguish between multiple simultaneous
>> logins in MailLog plugin? For example, which login deleted which
>> message. Is that p[lugin able to log e.g. session ID?
>>
>> azur
>>
>>
> mail_log_prefix = "%s(%u)<%{pid}><%{session}>: "
>
> Aki
Thank you but it doesn't work for me. Which Dovecot version do i need?
I'm using 2.2.34.
2008 Jul 31
4
syslog with PID
Hi,
LOG_NDELAY is the only option for openlog() in dovecot 1.1.2.
Wouldn't be
LOG_NDELAY|LOG_PID as option parameter much more useful?
Without logging
the pid, it is impossible to match 'Disconnected' log entries and the
corresponding session start/login. Therefore I suggest to use
LOG_NDELAY|LOG_PID
in the options of i_set_failure_syslog() at all 6 occurrences which passes
it
2012 Apr 28
1
Session IDs
...home/tss
Apr 28 17:38:27 imap-login: Info: Login: user=<tss>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=14338, secured, session=<rNuHLL6+jgB/AAAB>
..
Apr 28 17:47:15 imap(tss,<rNuHLL6+jgB/AAAB>): Info: Disconnected: Logged out in=8 out=369
The last line requires a modified mail_log_prefix, I wasn't planning on changing its default.
I'm mainly wondering:
1) Does this change break someone's auth log line parsing?
2) Does the auth prefix look prettier with or without <> around session id? :)
3) Anything else I should do about this now that I'm changing it anyway...
2015 Dec 01
2
mail_log plugin and uid=error in log file
On 01/12/2015 16:31, Timo Sirainen wrote:
>
> Does this help? http://hg.dovecot.org/dovecot-2.2/rev/25d63d9c7f5a
>
Hi Timo,
Sorry about the thread hijacking but, speaking about the mail_log
plugin, what do you think about the ability to add the session number to
the log lines produced by this plugin?
This could be a useful information to have too, especially on a large
traffic
2016 Apr 26
2
Solr with shared mailboxes
We have multiple logins assigned to single mailboxes, so we can give one login to different devices.
Does this cause a problem with mailbox guids in solr or is the ID stored within the indexes and not related to username.
2018 Nov 07
2
MailLog plugin distinguish between simultaneous logins
Hi,
is it, somehow, possible to distinguish between multiple simultaneous
logins in MailLog plugin? For example, which login deleted which
message. Is that p[lugin able to log e.g. session ID?
azur
2007 Apr 16
2
mail_log plugin
Hello all,
Is there any way to add additional options for the mail_log plugin?
Specifically, I'm wanting to make it so IMAP copy commands will show the
source filename and/or the user's IP address. Is this possible? If
there are docs for this info, feel free to point me to it.
-Phillip
2013 Feb 24
1
%{session} does not work with deliver_log_format
...ample.org: stored mail into mailbox 'INBOX/postmaster'
http://wiki2.dovecot.org/Variables leads me to the assumption
that %{session} works "everywhere" and for deliver_log_format too.
Is deliver_log_format variable expansion handled differently
from login_log_format_elements and mail_log_prefix?
Regards
Daniel
--
https://plus.google.com/103021802792276734820
2012 Sep 24
1
Logging question regarding delete actions
A user is logged in via imap from multiple devices.
The log has this:
Sep 21 11:46:32 postamt dovecot: imap(awxxxxer): delete: box=INBOX, uid=15347, msgid=<1341851741.4ffb085d2e2b7 at swift.generated>, size=15675
Sep 21 11:46:32 postamt dovecot: imap(awxxxxer): delete: box=INBOX, uid=15739, msgid=<b23b2e42f6ae9ba1602690be42b7b5c7.squirrel at webmail.charite.de>, size=18134
Sep 21
2007 May 10
2
Tracing an IP of a user who deleted the message
Hello,
Dovecot writes to the log file lines like these:
May 10 13:19:04 mailserver dovecot: IMAP(office): copy -> Trash: uid=1131, msgid=<45E669BE.8090705 at example.com>, box=Sent
May 10 13:19:05 mailserver dovecot: IMAP(office): deleted: uid=1131, msgid=<45E669BE.8090705 at example.com>, box=Sent
May 10 13:53:08 mailserver dovecot: IMAP(office): copy -> Trash: uid=1719,
2007 Feb 19
3
Crash: index-mail.c: line 790
Here is the first crash I've seen with the current CVS...
Feb 19 00:45:52 mail35a dovecot: IMAP(mnash at stest1.com): Corrupted transaction log file /var/index//data1/mail/st/stest1.com/mn/mnash//.Trash/dovecot.index.log: Append with UID 5736, but next_uid = 5744
Feb 19 00:45:55 mail35a dovecot: IMAP(mnash at stest1.com): Corrupted transaction log file
2011 Dec 07
1
dovecot 2.0 sieve if working, managesieve not.
...= %Lu
auth_verbose = yes
disable_plaintext_auth = no
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
login_greeting = Dovecot ready
mail_debug = yes
mail_gid = 999
mail_home = /MAIL/%d/%n/
mail_location = maildir:/MAIL/%d/%n/
mail_log_prefix = "%Us(%u): "
mail_plugins = " quota"
mail_privileged_group = mail
mail_uid = 999
passdb {
args = /etc/dovecot/dovecot-ldap.conf
driver = ldap
}
passdb {
args = /etc/dovecot/passwd.masterusers
driver = passwd-file
master = yes
pass = yes
}
plugin {
quota = maildir:...
2020 Jun 09
0
How to unset namespace configuration from dovecot.conf in conf.d/99-cutom.conf?
...name: ############
auth_mechanisms = #######################
auth_username_chars = ################
disable_plaintext_auth = ####
first_valid_uid = ####
imap_client_workarounds = delay-newmail
imap_logout_format = rcvd=%i, sent=%o
mail_home = ##################
mail_location = #####################
mail_log_prefix = "service=%s, user=%u, ip=[%r]. "
mail_plugins = " quota"
managesieve_logout_format = rcvd=%i, sent=%o
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational rege...
2016 Nov 01
5
Repeat e-mail syndrome shows up in 2.2.26+
...se_dir = /var/run/dovecot/
disable_plaintext_auth = no
first_valid_uid = 100
info_log_path = /var/log/dovecot-info.log
listen = [::]
log_path = /var/log/dovecot.log
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
mail_debug = yes
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_log_prefix = %Us(%u):
mdbox_rotate_size = 2 k
passdb {
args = /etc/master.passwd
driver = passwd-file
}
plugin {
home = /usr/dovecot2
}
service auth {
executable = /usr/dovecot2/libexec/dovecot/auth
user = root
}
service imap-login {
chroot = login
client_...
2019 Jan 19
2
sieve issue after upgrad
....myserver.net
info_log_path = /var/log/dovecot.info
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = 10.1.1.100
login_greeting = Dovecot at mcfadyens.net
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
mail_location = maildir:/var/spool/dovecot/%n
mail_log_prefix = "%s(%u): "
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 index ihave duplicate mi...
2018 Feb 22
2
replication and .dovecot.lda-dupes
...w it
doveadm_port = 12345
listen = *
login_log_format_elements = pid=%p user=<%u> method=%m rip=%r lip=%l
mpid=%e %c
mail_attachment_dir = /IMAP/mail/attachments
mail_attachment_fs = sis-queue /IMAP/mail/attachments/queue:posix
mail_home = /IMAP/mail/mailboxes/%u
mail_location = mdbox:~/mdbox
mail_log_prefix = "%s(%u[%p]): "
mail_max_userip_connections = 0
mail_plugins = " notify replication zlib fts fts_squat"
maildir_stat_dirs = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;asci...