Re: debug SMTP commands sent/received to/from the submission service

2021-04-09 Thread Victor Sudakov
/tmp/dovecot remains empty. What am I missing? I'd use Wireshark > > but the communication between SMTP clients and Dovecot is encrypted > > after STARTTLS, so Wireshark is pretty useless here. > > > > Can you please point me to the right direction to log all SMTP commands? &

Re: debug SMTP commands sent/received to/from the submission service

2021-04-09 Thread Victor Sudakov
Plutocrat wrote: > On 09/04/2021 15.13, Victor Sudakov wrote: > > I'd use Wireshark but the communication between SMTP clients and Dovecot is > > encrypted > > after STARTTLS, so Wireshark is pretty useless here. > > You might get some useful information

debug SMTP commands sent/received to/from the submission service

2021-04-09 Thread Victor Sudakov
and Dovecot is encrypted after STARTTLS, so Wireshark is pretty useless here. Can you please point me to the right direction to log all SMTP commands? All is happening on Debian/buster, Dovecot 2.3.4.1. -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet signature.asc Description: PGP signature

Re: How to move/reorganise existing e-mails to yearly subfolders

2020-10-20 Thread Victor Sudakov
the destination folders. You could try imapfilter (written in lua), it can move mails between mailboxes and do other things. A short example: oldmails = account1["INBOX"]:is_older(365) oldmails:move_messages(account1["Old"]) -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:

Re: A user's last access time

2020-10-20 Thread Victor Sudakov
ens of /usr/local/virtual/%d/%u/.lastlogin > > Dovecot is smart enough to do the expansion per user in the ~ Thanks for the hint. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ signature.asc Description: PGP signature

Re: A user's last access time

2020-10-20 Thread Victor Sudakov
@lbutlr wrote: > On 19 Oct 2020, at 20:31, Victor Sudakov wrote: > > I have seen this but I do not want this information in a database. > … > > > Even a local sqlite database would do. > > What? > This meant that an external DMBS/daemon process (MySQL, Redis e

Re: A user's last access time

2020-10-20 Thread Victor Sudakov
Aki Tuomi wrote: > > On 20.10.2020 9.30, Matthias Lay wrote: > > Am Tue, 20 Oct 2020 09:31:16 +0700 > > schrieb Victor Sudakov : > > > > > >> Hello Sami, > >> > >> I have seen this but I do not want this information in a database. If > &

Re: A user's last access time

2020-10-19 Thread Victor Sudakov
Sami Ketola wrote: > > > > On 19. Oct 2020, at 18.54, Victor Sudakov wrote: > > > > Dear Colleagues, > > > > Is there a file or directory within a user's Maildir, whose date of > > modification or access indicates the last time the us

A user's last access time

2020-10-19 Thread Victor Sudakov
a mail was delivered to the INBOX. This information is probably available in the log, but a file which is touched each time a user accesses his/her mail, is more convenient. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread Victor Sudakov
@lbutlr wrote: > On 13 Oct 2020, at 20:36, Victor Sudakov wrote: > > I am using Dovecot 2.3.4.1 with maildirs. Just found out that MacOS Mail > > clients cannot work with nested folders, presumably because the MacOS > > Mail does not understand "." as the IMAP sepa

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread Victor Sudakov
@lbutlr wrote: > On 14 Oct 2020, at 04:24, Sami Ketola wrote: > > On 14. Oct 2020, at 12.51, Victor Sudakov wrote: > >> Those Mac clients who do not use nested folders do not seem to be > >> affected. That is, I've already suggested to the Mac Mail user that he

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread Victor Sudakov
Filip Hajný wrote: > 14. 10. 2020 v 11:51, Victor Sudakov : > > > >> I had to do it with 10-20 live users and it went fine, nobody noticed > >> anything (I made the change in the night hours just to be sure > >> though). I had to go down and fix some erratic

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread Victor Sudakov
should see > nonsense folders in the form of '.folder\2esubfolder‘ there that cannot be > worked with in any way. I manually moved the contents of these to their > properly named ('.folder.subfolder‘) variants - on disk. Thanks for the warning Filip! -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ signature.asc Description: PGP signature

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread Victor Sudakov
Markus Winkler wrote: > > On 14.10.20 04:36, Victor Sudakov wrote: > > Do you think I can change the hierarchy separator in the "inbox" > > namespace without breaking other clients and the mail layout on disk, > > losing mail etc? > > I personally would

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread Victor Sudakov
Filip Hajný wrote: > > > > On 14.10.20 04:36, Victor Sudakov wrote: > >> Do you think I can change the hierarchy separator in the "inbox" > >> namespace without breaking other clients and the mail layout on disk, > >> losing mail etc? > > &g

Changing IMAP separator - does it break things?

2020-10-13 Thread Victor Sudakov
nested folders etc. My `doveconf -n` is here: https://termbin.com/w1wd -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ signature.asc Description: PGP signature

Reload Dovecot with thousands of domains.

2020-02-10 Thread Victor
Hello!, I have a dovecot server configured with about 3k different domains. It worked without problems until SSL certificates has been installed. After increase available RAM and stabilizing the service my current problem is in renewals. Dovecot reload process consumes a lot of memory for every

all of a sudden, slow resync

2019-01-27 Thread Victor Sudakov
/dns-operations/dovecot.index.log was locked for 95 seconds (Mailbox was synchronized) And it really takes forever to finish. What could cause this? FreeBSD 11.2-RELEASE-p8, dovecot-2.3.3_4 -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

Re: mailbox locking

2018-12-16 Thread Victor Sudakov
Victor Sudakov wrote: I use exim's appendfile transport, procmail and a local mutt on my system, they all (to my knowledge) use lockfiles when working with mboxes. [vas@adm2 ~] procmail -v | & grep Locking Locking strategies: dotlocking, lockf() vas@adm2 ~] mutt -v|gre

mailbox locking

2018-12-15 Thread Victor Sudakov
t = 0 mbox_dotlock_change_timeout = 2 mins mbox_lock_timeout = 5 mins mbox_read_locks = fcntl mbox_write_locks = dotlock fcntl pop3_lock_session = no Do I need to change anything in dovecot's default locking setup? Does it still use lockfiles on mboxes or not? There are some contradictory parameters IMHO. -- Vict

Re: DMARC policies

2018-11-30 Thread Victor
UNSUBSCRIBE

Re: Local access to IMAP mailboxes

2018-09-29 Thread Victor Sudakov
Aki Tuomi wrote: > > > > Is this that corrupted index case? It even causes the panic in the > > daemon. Can I fix the index or somehow reindex the mailbox? > > > > You can use doveadm force-resync -u vas "*" Thanks! -- Victor Sudakov, VAS4

Re: Local access to IMAP mailboxes

2018-09-28 Thread Victor Sudakov
ice(imap): child 85560 killed with signal 6 (core not dumped - https://dovecot.org/bugreport.html#coredumps - set service imap { drop_priv_before_exec=yes }) Is this that corrupted index case? It even causes the panic in the daemon. Can I fix the index or somehow reindex the mailbox? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

Re: Local access to IMAP mailboxes

2018-09-28 Thread Victor Sudakov
ed those mails locally from /var/mai/vas. They are being cached somewhere. Is it not dovecot caching them? Nor can I find a way to forcefully rescan an IMAP folder in the Gmail app. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

Re: Local access to IMAP mailboxes

2018-09-28 Thread Victor Sudakov
ed those mails locally from /var/mai/vas. They are being cached somewhere. Is it not dovecot caching them? Nor can I find a way to forcefully rescan an IMAP folder in the Gmail app. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

Re: Local access to IMAP mailboxes

2018-09-27 Thread Victor Sudakov
ar in a local file like muttrc, or entering the password each > time you launch mutt. > > > Hence my gpg text file trick. ( Do you enter your gpg password each time you launch mutt, or do you use some kind of gpg agent? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

Re: Local access to IMAP mailboxes

2018-09-27 Thread Victor Sudakov
Larry Rosenman wrote: > I have my dovecot running with TLS, so the passwords are NOT transmitted in > the clear (starttls). The problem is not transmitting them in the clear but keeping them in the clear in a local file like muttrc, or entering the password each time you launch mutt. --

Re: Local access to IMAP mailboxes

2018-09-27 Thread Victor Sudakov
Larry Rosenman wrote: > What I do is keep my passwords in a file encrypted by GPG and have mutt do: > source "gpg -q --textmode -d ~/.neomutt/passwords.gpg |" > > that way they're not readable except by use of a passworded GPG key. > Very clever, I must adm

Re: Local access to IMAP mailboxes

2018-09-27 Thread Victor Sudakov
ox corruption, but they can be safely ignored. My mail goes through procmail, so Dovecot will not be the only one to touch the mboxes anyway. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

Re: Local access to IMAP mailboxes

2018-09-27 Thread Victor Sudakov
don't want to bother with authentication and don't want to keep my password in muttrc. Anyway, my mail is sorted and delivered to ~/Mail/* by procmail, so the mboxes will be touched by a process outside of dovecot. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

Re: Best way to move mail from one server to another

2018-09-27 Thread Victor Sudakov
Communigate Pro has a nice Migration/MoveIMAPMail utility. As Communigate is free to use for up to five accounts, I think it is legal to install it and use the MoveIMAPMail utility. I have used it once to migrate mail from Communigate to dovecot. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005

Re: Local access to IMAP mailboxes

2018-09-26 Thread Victor Sudakov
Ah, is this perhaps the reason why my Android IMAP client sometimes takes so long to list a folder's contents? I must have touched the folder locally by Mutt and Dovecot is reindexing, is that right? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

Local access to IMAP mailboxes

2018-09-26 Thread Victor Sudakov
ndexes etc? What if I even do "rm ~/Mail/some/mailbox", will Dovecot be mad at me? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

Re: dovecot/FreeBSD and Android IMAP clients

2018-09-24 Thread Victor Sudakov
gt; between the client & server, maybe it gives you more indication what > goes wrong. I am afraid I don't know the protocol well enough to parse this chatter. I was looking for a more cookbook solution. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/

dovecot/FreeBSD and Android IMAP clients

2018-09-24 Thread Victor Sudakov
Dear Colleagues, I have a fairly vanilla setup of dovecot on FreeBSD, serving IMAP and POP3. Thunderbird/IMAP works fine, and so does mutt/IMAP. However, Android clients (Gmail/IMAP and K-9 Mail) have problems accessing folders other than the INBOX. They either show them empty with no mails (K-9

Re: Dovecot on CentOS 7

2018-07-10 Thread Victor Oñate
Hi. Check your Firewall 2018-07-10 12:28 GMT-04:00 Tracy Greggs : > Did you verify the server is listening on 0.0.0.0 and that your > firewall is not blocking? > > tcp0 0 0.0.0.0:993 0.0.0.0:* > LISTEN 2325/dovecot > tcp0 0 0.0.0.0:995

Re: Pop3 service stops responding

2015-06-02 Thread Victor Benincasa
dovecot configuration (we also tried the default setting). Nothing solved the problem (service restart, default config, etc) only a server reboot. CentOS 6.6 x64 Dovecot 2.2.18 *Victor Benincasa* CIO / CTO :: Networks, Apps, Systems, Security, High-end support On 02/06/2015 04:35, Mike

Re: [Dovecot] mail not reject when the mailbox is full (Dovecot-LDAP-Imap_quota)

2013-07-15 Thread Victor Oñate
quota_full_tempfail: no auth default: cache_size: 4096 user: nobody passdb: driver: pam userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf plugin: quota: dirsize quota_exceeded_message: Quota exceeded any idea is welcome 2013/7/14 Daniel Parthey > Hi Victor, >

[Dovecot] mail not reject when the mailbox is full (Dovecot-LDAP-Imap_quota)

2013-07-12 Thread Victor Oñate
llocated disk space, the idea is that when full the mail reject with a message "mailbox XXX full" . As always appreciate the ideas. Victor Oñate

Re: [Dovecot] Sieve script does not run in dovecot 2.0 on squeeze

2012-05-03 Thread Victor Oñate
rence = 3 Any idea. Thank you. Victor Oñate 2012/5/3 Janne Snabb : > On 05/03/2012 04:54 AM, Victor Oñate wrote: > >> In dovecot.conf I have >> >> >> mail_location = maildir:~/Maildir >> >> plugin { >>   quota = dirsize >>   sie

[Dovecot] Sieve script does not run in dovecot 2.0 on squeeze

2012-05-02 Thread Victor Oñate
he problem is that the script does not run and so the mail is delivered the initial recipient. I use LDAP to delivery the mail. any idea. Thank you. Th. Victor Oñate

[Dovecot] sieve against ldap in Dovecot 1.2 vacation messeage

2012-04-20 Thread Victor Oñate
t(IMAP). without touching the postfix configuration file is that possible, or am I dreaming. Thanks.. Victor Oñate.

Re: [Dovecot] Username bug in '%%' variables selects

2012-04-06 Thread Victor
I solved this issue by changing a namespace to native type. namespace { separator = / prefix = inbox = yes } namespace { separator = . prefix = INBOX. inbox = no hidden = yes list = no alias_for = } namespace { type = shared separator = / prefix = shared/%%u/ list = y

[Dovecot] Username bug in '%%' variables selects

2012-04-05 Thread Victor
ic...@testmail.domain.com): Error: Couldn't create namespace 'INBOX.shared.' for user victor@domain: userdb didn't return a home directory, but mail_location used it (%h): maildir:%h That's I seen in logs: auth-worker: Debug: sql(victor@domain): SELECT CONCAT(&

Re: [Dovecot] Question about imaps

2011-11-21 Thread Victor Oñate
Try to conect from shell # telnet server 993 2011/11/21 Joe Giles : > On Monday, November 21, 2011 01:20:55 PM Jerry wrote: >> On Mon, 21 Nov 2011 09:40:02 -0700 (MST) >> jgi...@cybermesa.com articulated: >> >> > On Mon, November 21, 2011 8:44 am, jgi...@cybermesa.com wrote: >> > > Hi List! >>

Re: [Dovecot] Mail_quota plugin and LDAP on Dovecot 1.2

2011-11-20 Thread Victor
Thank a lot, your were completely in the truth Victor Onate

[Dovecot] Mail_quota plugin and LDAP on Dovecot 1.2

2011-11-17 Thread Victor
t)(uid=%u)) This is the same configuration in the 6 last years. So, I would really appreciate if give me a hand which are more than 15000 Users who administered easily taking the quota in the LDAP attribute. and I want to keep the scheme. Thz Victor Onate Usuario Linux

[Dovecot] mbox/maildir mixed setup with system/virtual mixed users

2011-05-03 Thread Victor TARHON-ONU
Hello Everyone, I'm using dovecot 1.0.7 (not sure how relevant it is though) configured to handle both sytem users and virtual users. The system users are handled by default (PAM), while the virtual users are handled pretty much like this: passdb passwd-file { args = /var/spo

Re: [Dovecot] pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5):

2009-10-30 Thread Victor Benincasa
n provide? -- Victor Benincasa