Bug#1011238: dsync panic

2022-05-18 Thread Timo Sirainen
On 18. May 2022, at 16.56, Marc F. Clemente wrote: > > dsync -D -v -u marc mirror mbox:/home/marc/mail:INBOX=/var/mail/marc > > It mostly works, and I have been able to convert multiple users. I get a lot > of debug output about what it's doing, until it crashes like this: > > May 18 09:21:20

Bug#1001506: IMAP core dump when moving e-mail into read-only cur/ sub-directory

2021-12-13 Thread Timo Sirainen
On 13. Dec 2021, at 12.04, Simon Josefsson wrote: > >> The fix for this is going to be in v2.3.18: >> https://github.com/dovecot/core/commit/616684a8fe0cccaaec7247d6d3be396e7bf924eb > > Thanks! > > Is there any best practice on how to mark certain folder as read-only > on the server side? I ta

Bug#1001506: IMAP core dump when moving e-mail into read-only cur/ sub-directory

2021-12-12 Thread Timo Sirainen
On 11. Dec 2021, at 11.42, Simon Josefsson wrote: > > Package: dovecot > Version: 1:2.3.13+dfsg1-2 > > Hi. > > tldr; dovecot crashes when moving an email into a Maildir that has the > cur/ sub-directory marked as read-only. .. >#0 0x7fd78f75d340 mail_set_critical > (libdov

Bug#997513: dovecot: FTBFS: dh_auto_test: error: make -j4 check VERBOSE=1 returned exit code 2

2021-12-06 Thread Timo Sirainen
On 6. Dec 2021, at 23.09, Adrian Bunk wrote: > > On Mon, Oct 25, 2021 at 08:54:45PM +0200, Christian Göttsche wrote: >> The source of these test failure is LTO: it built fine with GCC 10.3 >> with LTO a month ago on buildd, GCC 11 without LTO works and Clang 13 >> with LTO also works. >> So eithe

Bug#976989: valgrind: Environment variables with slashes get dropped

2020-12-09 Thread Timo Sirainen
Package: valgrind Version: 1:3.16.1-1 Severity: minor Dear Maintainer, Environment variables like "FOO/BAR" are dropped when executing programs via valgrind. This happens only when building the Debian package with dpkg-buildpackage. It does not happen when using exactly the same Debian source c

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-23 Thread Timo Sirainen
On 21. Sep 2020, at 16.43, Dimitry Andric wrote: > > Sep 21 14:04:00 hostname dovecot: imap(username)<29488>: > Panic: file message-parser.c: line 174 (message_part_finish): assertion > failed: (ctx->nested_parts_count > 0) Oh, right, this is fixed by: https://github.com/dovecot/core/commit/a

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

2020-09-17 Thread Timo Sirainen
On 15. Sep 2020, at 14.00, Matthew Vernon wrote: > One of my IMAP users reports failures when trying to do full-text > searches of a large (3G) mailbox; subject-only searches are OK. > > The backtrace in syslog is: > > Sep 15 11:51:37 aragorn dovecot: imap(atreic): Panic: file message-parser.c:

Bug#961220: dovecot: lda: Fatal: Plugin 'push_notifications' not found from directory /usr/lib/dovecot/modules

2020-05-27 Thread Timo Sirainen
On 21. May 2020, at 17.22, Joseph Nahmias wrote: > I was trying to set up push_notification, but when I add it to the config, I > start getting errors like this: > > dovecot: lda: Fatal: Plugin 'push_notifications' not found from directory > /usr/lib/dovecot/modules > > I do see the file: > >

Bug#961033: stats-writer permission issue when using LDA via procmail

2020-05-19 Thread Timo Sirainen
On 19. May 2020, at 17.34, Joseph Nahmias wrote: > > I have my machine configured to run fetchmail via cron, which retrieves my > emails from various different services. My .forward then sends all mail > through > procmail, for filtering, sorting into folders, etc... Procmail then calls the > do

Bug#951351: dovecot-sieve: extracttext w/out :first causes sieve to segfault

2020-02-17 Thread Timo Sirainen
On 15. Feb 2020, at 2.01, Bradley M. Kuhn wrote: > > Package: dovecot-sieve > Version: 1:2.3.4.1-5+deb10u1 > Severity: important > > I've attached a test.sieve file and an email message that you can use with > this command line: > >$ sieve-test -t - -Tlevel=tests test.sieve multipart.eml

Bug#903161: Same issue here; solution found

2019-08-29 Thread Timo Sirainen
On 29 Aug 2019, at 3.57, Josh Triplett wrote: > > On Wed, Aug 28, 2019 at 05:43:27PM -0700, Josh Triplett wrote: >> So if the stats sockets don't exist at *all*, deliver won't complain. >> >> To disable those stats sockets, add the following configuration to a >> file in /etc/dovecot/conf.d/ : >

Bug#932253: /usr/lib/dovecot/maildirlock does complains about no timeout given (although I did give it one)

2019-07-17 Thread Timo Sirainen
On 17 Jul 2019, at 4.52, Jeronimo Pellegrini wrote: > > $ /usr/lib/dovecot/maildirlock PATH_TO_MAILDIR 100 > Panic: BUG: No IOs or timeouts set. Not waiting for infinity. We recently added code to make sure Dovecot never just waits infinitely when nothing can wake it up. Looks like there's the

Bug#923283: dovecot-sieve: panic in i_stream_concat_close: assertion failed: (cstream->cur_input == cstream->input[cstream->cur_idx])

2019-04-11 Thread Timo Sirainen
On 26 Feb 2019, at 9.20, Graham Cobb wrote: > > When processing a particular type of notification email, I consistently get > the > following sieve crash during execution of /usr/lib/dovecot/dovecot-lda. > (note, extracted from mail.log and reformatted a little for readability) > > Feb 25 19:22

Bug#824212: dovecot-core: mail_access_groups must be set on Debian

2016-07-23 Thread Timo Sirainen
On 23 Jul 2016, at 02:28, Apollon Oikonomopoulos wrote: > > Hi, > > On 18:05 Fri 22 Jul , Timo Sirainen wrote: >> That would be a dangerous change. Users with shell access could >> symlink (or hardlink) other peoples' inboxes to their own folders and >>

Bug#824212: dovecot-core: mail_access_groups must be set on Debian

2016-07-22 Thread Timo Sirainen
That would be a dangerous change. Users with shell access could symlink (or hardlink) other peoples' inboxes to their own folders and read them. > Francois Gouget kirjoitti 13.5.2016 kello 13.49: > > Package: dovecot-core > Version: 1:2.2.23-1 > Severity: normal > > On Debian the mail inboxes

Bug#804622: -x auth_info is a required parameter, at least with SQL

2016-07-22 Thread Timo Sirainen
On 22 Jul 2016, at 04:44, martin f krafft wrote: > > also sprach Timo Sirainen [2016-07-22 09:51 +0200]: >> pgsql: Query failed, aborting: SELECT p.userid, p.password, u.uid AS >> userdb_uid, u.gid AS userdb_gid, u.home AS userdb_home, u.mail AS >> userdb_mail FR

Bug#804622: -x auth_info is a required parameter, at least with SQL

2016-07-22 Thread Timo Sirainen
On 22 Jul 2016, at 01:10, Apollon Oikonomopoulos wrote: > > Hi Martin, > > On 22:00 Tue 12 Jul , martin f krafft wrote: >> Attached is the auth conf. The failing command is 'doveadm auth' >> without any -x parameter. > > I'm afraid we'll also need the actual query from dovecot-sql.conf.ext.

Bug#810295: WARNING: Serious error when reading debug info

2016-05-08 Thread Timo Sirainen
On Sat, 9 Jan 2016 14:15:16 + Alessandro Ghedini wrote: > On Fri, Jan 08, 2016 at 01:31:48PM +1100, Martin Schwenke wrote: > > Package: valgrind > > Version: 1:3.11.0-1 > > Severity: important > > > > When I run valgrind against anything, I see warnings like this: > > > > $ valgrind -q /bin/

Bug#818652: dovecot-imapd: Crash upon virtual folder selection after update to 1:2.2.21-1 (follow-up)

2016-04-12 Thread Timo Sirainen
On 25 Mar 2016, at 21:26, Sylvain LÉVÊQUE wrote: > >> This line tell me it is a null pointer to a struct with at least 0x20 >> members being used in mail_search_args_equal(): > > Thank you for this. > > The crash is reproducible by issuing a UID search similar to the > virtual folder definitio

Bug#784704: postal: [PATCH] Crashes randomly due to buffer underflow

2015-05-07 Thread Timo Sirainen
Package: postal Version: 0.73+nmu1 Severity: important I can't run Postal for more than a few minutes before it crashes. Fix included below. diff -ru postal-0.73/smtp.cpp ../postal-0.73+nmu1/smtp.cpp --- postal-0.73/smtp.cpp2012-01-14 14:38:45.0 +0200 +++ ../postal-0.73+nmu1/smtp

Bug#776094: dovecot-imapd: corrupts mailbox after trying to retrieve it (fwd)

2015-02-15 Thread Timo Sirainen
On 14 Feb 2015, at 16:23, Santiago Vila wrote: > I wrote about this three weeks ago but got no answer. I'm going to > officially "forward" the Debian bug this time, with all the details. > > The test case is just 840 bytes long. Please give it a try. .. > Package: dovecot-imapd > Version: 1:2.2.

Bug#725466: [LCFC] templates://dovecot/{dovecot-core.templates}

2013-10-30 Thread Timo Sirainen
On 30.10.2013, at 20.50, Justin B Rye wrote: > Christian PERRIER wrote: >> This is the last call for comments for the review of debconf >> templates for dovecot. > > Weren't we thinking of changing "Description: secure mail system" to > "Description: secure POP3/IMAP server”? There’s also LMTP

Bug#724449: dovecot-imapd eating 100% cpu

2013-09-23 Thread Timo Sirainen
On 24.9.2013, at 1.20, Nikolaus Rath wrote: > It seems that every once in a while the imap-login process gets > out of control, eating 100% CPU over multiple hours. > > Attaching gdb, I'm getting this: > > (gdb) bt > #0 0x7fffe54a5a56 in gettimeofday () > #1 0x7fee6d9f1f8a in gettime

Bug#720559: libqt5-dev: Package not installable

2013-08-23 Thread Timo Sirainen
Package: libqt5-dev Severity: grave Justification: renders package unusable Package can't be installed, because libqt5x11extras-dev doesn't exist: libqt5-dev : Depends: libqt5x11extras-dev but it is not installable -- System Information: Debian Release: 7.0 APT prefers unstable APT policy:

Bug#720558: libqt5-dev: Package not installable

2013-08-23 Thread Timo Sirainen
Package: libqt5-dev Version: 3 Justification: renders package unusable Severity: grave Package can't be installed, because libqt5x11extras-dev doesn't exist: libqt5-dev : Depends: libqt5x11extras-dev but it is not installable -- System Information: Debian Release: 7.0 APT prefers unstable A

Bug#712764: dovecot-core: libnss_ldap.so not found

2013-06-19 Thread Timo Sirainen
On 19.6.2013, at 12.53, Micha Krause wrote: > userdb { > args = service=ldap > driver = nss > } > > I get the following error written to the mail.log: > > Jun 19 11:37:04 mailint1 dovecot: auth: Fatal: > dlopen(/usr/lib/libnss_ldap.so) failed: /usr/lib/libnss_ldap.so: cannot open > shared o

Bug#708221: dovecot-imapd: can't read mailbox since upgrade (cache issue? renaming files?)

2013-05-14 Thread Timo Sirainen
On 14.5.2013, at 15.53, Jonathan Dowland wrote: > Hello, > > On Tue, May 14, 2013 at 01:37:48PM +0300, Timo Sirainen wrote: >> The maildir filename has wrong S=size value. > > That's strange. the ,S= values were all almost certainly set by dovecot > version >

Bug#707602: /usr/sbin/dovecot: Uppercase username converted by dovecot to lowercase, pam-login fails

2013-05-14 Thread Timo Sirainen
On Thu, 2013-05-09 at 09:41 -0700, PePa wrote: > Upon upgrade to wheezy, my mixed-case username which previously showed up in > the dovecot logs as intended, now is converted to lowercase, > and the pam-login fails. Please advise what I can do to get it working again!! auth_username_format = %u

Bug#708221: dovecot-imapd: can't read mailbox since upgrade (cache issue? renaming files?)

2013-05-14 Thread Timo Sirainen
On 14.5.2013, at 12.41, Jonathan Dowland wrote: > Since upgrading from squeeze → wheezy, I cannot connect to dovecot-imapd > and read my mail. It reads the inbox and then disconnects shortly afterwards. > I see the following in my mail.err: > >> May 14 10:20:26 bryant dovecot: imap(jon): Error:

Bug#699121: dovecot-core: Cannot iterate through users list on Debian GNU/kFreeBSD AMD64 Wheezy

2013-03-20 Thread Timo Sirainen
On Wed, 2013-03-13 at 00:00 -0700, Joel Lopes Da Silva wrote: > > As you noticed, apparently getsockopt(SO_PEERCRED) doesn't work with > > kFreeBSD. You can anyway work around the problem by giving everyone > > access to the userdb socket: > > > > service auth { > > unix_listener userdb { > >

Bug#699121: dovecot-core: Cannot iterate through users list on Debian GNU/kFreeBSD AMD64 Wheezy

2013-02-19 Thread Timo Sirainen
On Sun, 2013-01-27 at 12:21 -0800, Joel Lopes Da Silva wrote: > # doveadm fetch -A user ALL > doveadm(root): Error: userdb list: Disconnected unexpectedly > doveadm: Error: Failed to iterate through some users > zsh: exit 75doveadm fetch -A user ALL .. > Jan 27 11:47:18 orange

Bug#697760: dovecot-core: ssl_cert/key should be specific to each protocol

2013-01-09 Thread Timo Sirainen
On 9.1.2013, at 15.04, Teodor wrote: > It appears that these settings are common for all protocols: > >ssl_cert = ssl_key = > I would like to set different hostnames (and IP addresses) for IMAP and > POP3, but this is not possible right now because ssl_cert and ssl_key > are global par

Bug#695138: dovecot: CVE-2012-5620

2012-12-04 Thread Timo Sirainen
Not a security hole. A user can crash his/her own session. As bad as issuing a LOGOUT command. Completely pointless CVE. On 4.12.2012, at 17.04, Moritz Muehlenhoff wrote: > Package: dovecot > Severity: grave > Tags: security > Justification: user security hole > > This entry from > http://www.

Bug#686931: closed by jald...@debian.org (Jaldhar H. Vyas) (Bug#686931: fixed in dovecot 1:2.1.7-3)

2012-11-27 Thread Timo Sirainen
On 27.11.2012, at 10.40, Svante Signell wrote: > Hi, looks like one PATH_MAX issue remains in 2.1.7. Don't know if the > latest version 2.1.10 has solved it. The inlined patch below solves the > remaining build problem. One unclear point in the patch is if linkbuf > should be freed or not (probabl

Bug#686931: dovecot: FTBFS on hurd-i386

2012-09-28 Thread Timo Sirainen
On 7.9.2012, at 12.45, Svante Signell wrote: > Hi, the inlined patch below enables a successful build of dovecot for > GNU/Hurd. Since neither PATH_MAX nor PIPE_BUF is defined for Hurd, > scaled versions of the corresponding _POSIX_* definitions are used. > > The number of entries of PATH_MAX are

Bug#680035: Dovecot v2.1.8 released

2012-07-03 Thread Timo Sirainen
On 3.7.2012, at 9.16, Jaldhar H. Vyas wrote: >> Most importantly fixes a pretty bad behavior of sending mailbox names as >> UTF-8 instead of mUTF-7 as required by IMAP RFC. I'm surprised nobody >> hadn't noticed this in v2.1.x tree before yesterday. I guess some >> clients might have translated th

Bug#679752: dovecot-core: Initialization failed: Duplicate namespace prefix

2012-07-01 Thread Timo Sirainen
On 1.7.2012, at 13.28, Graham Cobb wrote: > I have the following configuration information in a file called > /etc/dovecot/conf.d/50-grc.conf: > > namespace { > hidden = no > inbox = no > location = maildir:~/dovecot > prefix = > separator = / > type = private > } > > I had to edit the fi

Bug#664625: Error: Module is for different version

2012-06-01 Thread Timo Sirainen
The way it should work when upgrading is: 1. Stop dovecot 2. Install files for all new dovecot packages 3. Start dovecot Is that possible? Or most importantly dovecot-core and dovecot-managesieved needs to be installed in the same step. An alternative would be to move libmanagesieve_login_setti

Bug#663243: dovecot: Upgrade to the new stable release

2012-05-29 Thread Timo Sirainen
On Tue, 2012-05-29 at 16:20 -0400, Gedalya wrote: > Since it's been announced that wheezy will be frozen by the end of June, > I'm wondering what will be the fate of dovecot in wheezy. > The rate of bug reports on the dovecot mailing list has slowed down > considerably. > 2.1.7 has just been rele

Bug#673994: network-manager: Unmanaged NetworkManager reports state as offline

2012-05-22 Thread Timo Sirainen
Package: network-manager Version: 0.9.4.0-4 Severity: important By default NetworkManager is configured as managed=false. When programs (e.g. Evolution) ask for connection state from NM, it says that network is disconnected, making the program unusable. Please change NM to report network as connec

Bug#671883: evolution: Can't install because of conflicting libcogl dependencies

2012-05-07 Thread Timo Sirainen
Package: evolution Severity: grave Justification: renders package unusable evolution depends on libcogl-pango0 (>= 1.7.4), libcogl5 (>= 1.7.4) libcogl-pango0 1.10.2-3 breaks libcogl5 (<< 1.10.0-1) The highest libcogl5 version is 1.8.2-1 So, I can't install evolution. -- System Information: De

Bug#661008: dovecot-imapd: Corrupted index cache file

2012-02-23 Thread Timo Sirainen
On 23.2.2012, at 16.36, Thomas Herrmann wrote: > Feb 22 09:19:41 mailsrv2 dovecot: IMAP(us...@domain.de): Corrupted index > cache file /home/vmail/domain.de/user1/public/.foo/dovecot.index.cache: field > header names corrupted > Feb 23 13:20:27 mailsrv2 dovecot: IMAP(us...@domain.de): Corrupted

Bug#660154: qemu-keymaps: Finnish keyboard mapping broken

2012-02-16 Thread Timo Sirainen
Subject: qemu-keymaps: Finnish keyboard mapping broken Package: qemu-keymaps Version: 1.0+dfsg-3 Severity: normal With "-k fi -vnc :1" the keyboard layout works pretty well, except the key between left shift and "z" key, which generates <> characters doesn't work. Instead of "<" it shows "z" an

Bug#654591: dovecot-core: race condition in init script restart action

2012-01-04 Thread Timo Sirainen
On Wed, 2012-01-04 at 15:13 +0100, Marc Dequènes (Duck) wrote: > I got this failure: > # /etc/init.d/dovecot restart > Restarting IMAP/POP3 mail server: dovecotError: service(imap-login): > listen(*, 143) failed: Address already in use > Error: service(imap-login): listen(::, 143) failed: Address

Bug#649511: CVE-2011-4318

2011-11-22 Thread Timo Sirainen
On 22.11.2011, at 18.53, Marco Nenciarini wrote: > Is it urgent? I'm ultra-busy until Friday 25 for the Italian PostgreSQL > Conference (PGDay), but if needed I take some time from my sleep to > upload the 2.0.16 version. Not urgent. I estimate there are approximately 0 installations where this i

Bug#641247: dovecot-imapd: Get IMAP Error: fchown

2011-09-12 Thread Timo Sirainen
On 12.9.2011, at 7.34, Andrew Buckeridge wrote: > 2011-09-12 11:37:03 IMAP(???): Error: > fchown(/var/lib/dovecot/control/9998/.INBOX/dovecot-uidlist.tmp, -1, > 9111(mailusers)) failed: Operation not permitted (egid=9000(bgcuser), group > based on /export/home/???/Maildir) Dovecot copies the M

Bug#627443: CVE-2011-1929

2011-05-20 Thread Timo Sirainen
On Fri, 2011-05-20 at 18:44 +0200, Moritz Muehlenhoff wrote: > | Fixed potential crashes and other problems when parsing > | header names that contained NUL characters. > > Could you contact upstream wrt the exact impact? What is > being crashed here, can someone only crash a delivery > thread or

Bug#623440: dovecot: autocreation of new mailboxes fails

2011-05-11 Thread Timo Sirainen
On Wed, 2011-04-20 at 10:41 +0200, Andreas Hübner wrote: > After upgrading dovecot from 1.0.x to 1.2.x, the automatic creation of new > mailboxes fails with: > > dovecot: deliver(x...@xx.de): mail_location not set and autodetection failed: > Mail storage autodetection failed with home=/var/mail/

Bug#624837: dovecot-gssapi: no longer reads /etc/krb5.keytab

2011-05-11 Thread Timo Sirainen
On Sun, 2011-05-01 at 23:19 +, brian m. carlson wrote: > From /etc/dovecot/conf.d/10-auth.conf: > > # Kerberos keytab to use for the GSSAPI mechanism. Will use the system > # default (usually /etc/krb5.keytab) if not specified. > > This is not true. The system default keytab is general

Bug#626211: dovecot-common: ssl-params uses hardcoded /var/lib/dovecot/ssl-parameters.dat, should use ssl_parameters_file config variable

2011-05-09 Thread Timo Sirainen
On 10.5.2011, at 0.59, Daniel Kahn Gillmor wrote: > dovecot's ssl-params sub-daemon appears to hardcode the path and > filename to its parameters file. > > However, the other dovecot tools appear to look for the file using the > ssl_parameters_file configuration variable. No, there is such a set

Bug#626130: dovecot-imapd: Can't setegid(privileged)

2011-05-08 Thread Timo Sirainen
On 9.5.2011, at 6.16, Peter Chubb wrote: > $ ls -l /var/mail > total 254012 > -rw-rw 1 username mail 229477565 May 9 12:57 username chmod 0600 /var/mail/* -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@l

Bug#624234: tag 624234 wheezy sid

2011-04-27 Thread Timo Sirainen
On Wed, 2011-04-27 at 10:25 -0300, Dererk wrote: > Since I consider both package could co-exist perfectly and complement > each other functionality, I'll be producing a renamed deliver.1.gz, > since it's not core funcionality on mailavenger software; It's something > you can use but that's not ena

Bug#619137: /usr/sbin/dovecot: Suddenly stopped authentication

2011-03-21 Thread Timo Sirainen
On 21.3.2011, at 16.56, Pekka Takala wrote: > Mar 21 16:54:38 pihtisoft kernel: pop3-login[1004]: segfault at 0 ip > 7f0f70863eaf sp 7fff25336f18 error 4 in > libncom.so.4.0.1[7f0f70862000+3000] What is libncom, and why would Dovecot be calling it? -- To UNSUBSCRIBE, email to debian-

Bug#611398: dovecot-imapd: has problem with read-only mbox files

2011-02-16 Thread Timo Sirainen
On Fri, 2011-01-28 at 22:56 +0100, Arthur de Jong wrote: > Jan 28 22:01:14 bobo dovecot: IMAP(arthur): > file_dotlock_open(/home/arthur/mail/sent/.imap/2005/dovecot.index.log) > failed: Permission denied (euid=1000(arthur) egid=100(users) > access(/home/arthur/mail/sent/.imap/2005/dovecot.index

Bug#606649: dovecot-2.0 fails to start, attempting to listen on each port twice

2010-12-13 Thread Timo Sirainen
On Fri, 2010-12-10 at 20:33 +0300, Michael Tokarev wrote: > > Starting IMAP/POP3 mail server: dovecotError: service(pop3-login): > > listen(::, 110) failed: Address already in use > > Error: service(pop3-login): listen(::, 995) failed: Address already in use > > Error: service(imap-login): list

Bug#603951: dovecot: by default enables insecure ciphers

2010-11-18 Thread Timo Sirainen
On Thu, 2010-11-18 at 20:41 +0100, Thijs Kinkhorst wrote: > After installing dovecot it comes with insecure SSL ciphers enabled by > Luckily I saw that SSLv2 is now default disabled, but even with SSLv3 > and TLSv1 dovecot enables 40 bit ciphers: > > EXP-EDH-RSA-DES-CBC-SHA 40 bits > EXP-RC4-MD5

Bug#598319: dovecot-imapd: doesn't notify about mails being deleted

2010-09-28 Thread Timo Sirainen
On Tue, 2010-09-28 at 10:26 +0200, Adam Borowski wrote: > The version of dovecot in Lenny notified its IMAP clients both when a mail > arrived and when it was deleted. In Squeeze, only the former works. If you > delete something using anything outside the mail client -- be that mutt or a > cron

Bug#595930: dovecot-imapd: problem with imap_quota - undefined symbol: quota_set

2010-09-07 Thread Timo Sirainen
On Tue, 2010-09-07 at 14:01 +0200, Piotr Rogoża wrote: > When I enable imap_quota option in dovecot.conf, dovecot doesn't run: > dlopen(/usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so) failed: > /usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so: undefined symbol: > quota_set: > C

Bug#594974: dovecot-common: buggy error message in /usr/lib/dovecot/deliver

2010-08-31 Thread Timo Sirainen
On Tue, 2010-08-31 at 02:10 +, Clint Adams wrote: > Aside from the misleading use of the phrase "process group", I think > this patch makes slightly more sense. Yeah .. I'm not sure what would be better for "process group". Maybe "process's group" or "process's effective group" or something..

Bug#592959: dovecot: Will Dovecot v2.0 be packages for Squeeze?

2010-08-14 Thread Timo Sirainen
On 14.8.2010, at 14.57, Paul Menzel wrote: > Dovecot v2.0 will be released soon [1]. Do you have any plans for > Squeeze? Despite the freeze I think it would still be possible. Or do > you just plan on providing a backport or stick with 1.2.x altogether? I'd also prefer it. RHEL 6 is being releas

Bug#580929: Proxy mode by default does not resolve proxy hostname to IP, numeric IP is required

2010-06-01 Thread Timo Sirainen
On su, 2010-05-09 at 23:43 +0200, Piotr Wadas wrote: > and tested it against 1.2.11-1 . This functionality requires > login_chroot = no, anyway with proxying mode I bet it's acceptable. The patch itself looks ok and I don't have any objections to Debian using it.. But upstream v1.2.x is about done

Bug#576501: libc6-dev: Overeager nonnull attributes in function prototypes

2010-04-05 Thread Timo Sirainen
Package: libc6-dev Version: 2.10.2-6 Severity: normal I just started playing with clang's static analyzer. It nicely warns whenever a function parameter that has been marked with nonnull attribute gets a NULL as parameter. The problem is that there are several functions where it's actually valid t

Bug#572266: dovecot-common: dovecot-auth crashes with segfault

2010-03-08 Thread Timo Sirainen
On Mon, 2010-03-08 at 14:38 +0100, Erich Schubert wrote: > I wonder whether there is a way to check for such errors automatically > with lintian; they are bound to arise now and then, aren't they? Symbol conflict errors happen somewhat often, and it's sometimes difficult to detect them. I've had

Bug#572266: dovecot-common: dovecot-auth crashes with segfault

2010-03-08 Thread Timo Sirainen
On 8.3.2010, at 12.03, Gerfried Fuchs wrote: >> Either rename buffer_free() on libpam-ssh's side, or mark it in some way >> internal to the shared library (I don't know how to do the latter, but I >> think it's possible). > > As this bug has been reassigned without a version number the BTS > con

Bug#572266: dovecot-common: dovecot-auth crashes with segfault

2010-03-05 Thread Timo Sirainen
On Fri, 2010-03-05 at 20:58 +0100, Jens Peter Secher wrote: > Timo Sirainen wrote: > > > > And the problem is specifically that Dovecot also has buffer_free() > > function. > > Can you elaborate on this? I mean both Dovecot and libpam-ssh have an exported function c

Bug#572266: dovecot-common: dovecot-auth crashes with segfault

2010-03-05 Thread Timo Sirainen
On 5.3.2010, at 19.46, Erich Schubert wrote: > Thank you - I should've come up with the gdb approach myself. > As expected it is the fault of a PAM plugin, namely libpam-ssh: > > Program received signal SIGSEGV, Segmentation fault. > 0x08074f4e in buffer_free () And the problem is specifically t

Bug#572266: dovecot-common: dovecot-auth crashes with segfault

2010-03-04 Thread Timo Sirainen
On Tue, 2010-03-02 at 19:49 +0100, Erich Schubert wrote: > Mar 2 09:35:48 hepcat dovecot: auth(default): > worker-server(erich,127.0.0.1): Aborted: Worker process died unexpectedly > Mar 2 09:35:48 hepcat dovecot: dovecot: child 4865 (auth-worker) killed with > signal 11 (core not dumped) If

Bug#570814: dovecot-common: config file has wrong path for sendmail

2010-02-28 Thread Timo Sirainen
On Sun, 2010-02-21 at 18:19 +0100, supp...@oeko.net wrote: > I'd like to see this changed to > > #sendmail_path = /usr/sbin/sendmail > > as /usr/lib/sendmail has been deprecated maybe 5 to 10 years ago and is > only a symlink to /usr/sbin/sendmail, anyway. I gather that this might > be an upstr

Bug#564438: dovecot-imapd: seems to handle mbox as directory regarding mboxes

2010-01-26 Thread Timo Sirainen
On Sat, 2010-01-09 at 15:00 +0100, Tobias Frost wrote: > However, /var/mail/tobi is a mbox, so a regular file. .. > namespace: > type: private > separator: / > prefix: mbox/ > location: mbox:/var/mail/%u This isn't correct. Unfortunately because of some optimizations the error message isn

Bug#565397: *** glibc detected *** ps: double free or corruption (fasttop)

2010-01-26 Thread Timo Sirainen
I got this today too, and managed to reproduce it with valgrind: ==9441== Invalid free() / delete / delete[] ==9441==at 0x4C21DBC: free (vg_replace_malloc.c:325) ==9441==by 0x4022D3: simple_spew (display.c:345) ==9441==by 0x40308A: main (display.c:620) ==9441== Address 0x53d4c10 is 0

Bug#560089: dovecot-imapd: dovecot (32-bit) + icedove (64-bit) can't open folders

2009-12-08 Thread Timo Sirainen
On Tue, 2009-12-08 at 13:25 -0700, Mario Nigrovic wrote: > The error apparently is in opening folders. I can see in the folder > list that a folder contains new messages, but when I click on it, only > the list of old messages is visible. In fact, the old messages are > listed, but I cannot displ

Bug#559279: dovecot: crashes with "file lib-signals.c: line 122 (signal_read): assertion failed: (ret <= 1)"

2009-12-03 Thread Timo Sirainen
On Dec 3, 2009, at 4:16 AM, Sandro Tosi wrote: > 2009-12-03 09:25:29 dovecot: Panic: file lib-signals.c: line 122 > (signal_read): assertion failed: (ret <= 1) This was fixed by http://hg.dovecot.org/dovecot-1.2/rev/8fd1ee439437 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debi

Bug#546656: Trivial patch for this CVE

2009-09-22 Thread Timo Sirainen
On Sep 22, 2009, at 9:46 AM, Don Armstrong wrote: Attached please find the trivial patch for this security fix. snprintf, not sprintf: - sprintf(errbuf, "flag '%s': not a valid relational operation", r); + sprintf(errbuf, sizeof(errbuf), "flag '%s': not a valid relational operatio

Bug#546695: dovecot-imapd: dovecot epoll fails with -EPERM for "dovecot --exec-mail imap" at the shell

2009-09-15 Thread Timo Sirainen
On Sep 15, 2009, at 9:10 AM, Daniel Pittman wrote: Sep 15 16:03:31 krosp IMAP(daniel): : Fatal: io_loop_handle_add: epoll_ctl(1, 0): Operation not permitted Do you have rawlog enabled? IIRC that was the main cause of this. Or anything else in mail_executable except the default imap binary?

Bug#473400: wow -- still open

2009-09-09 Thread Timo Sirainen
On Wed, 2009-09-09 at 12:08 -0400, Yaroslav Halchenko wrote: > I've been using xlock for years and never had any issue with its > crashing. May be it is due to the fact that when I want my screen > locked, I do not care to watch running goblins on the screen, therefore > I use > > XLock.mode: bla

Bug#538952: dovecot-imapd: 'sort' command generates a traceback

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 16:34 -0400, Timo Sirainen wrote: > On Mon, 2009-08-03 at 14:05 +0200, Sandro Tosi wrote: > > > This should help: http://hg.dovecot.org/dovecot-1.1/rev/12670c6d0c10 > > > > > Hi Timo, > > as Joel pointed out (privately) the patch you refere

Bug#538952: dovecot-imapd: 'sort' command generates a traceback

2009-08-07 Thread Timo Sirainen
On Mon, 2009-08-03 at 14:05 +0200, Sandro Tosi wrote: > > This should help: http://hg.dovecot.org/dovecot-1.1/rev/12670c6d0c10 > > > Hi Timo, > as Joel pointed out (privately) the patch you reference above is already > included in 1.1.3 (released on Mar 2009, while the patch is from Sep '08). 1

Bug#539391: [dovecot] upstream config file error

2009-07-31 Thread Timo Sirainen
On Fri, 2009-07-31 at 15:24 +0300, Eugene Paskevich wrote: > It has been confirmed upstream that current example config file contains > an error in !include and !include_try statements. The equal sign has to be > removed from there, otherwise `dovecot -n` results in rather weird error. I don't

Bug#538952: dovecot-imapd: 'sort' command generates a traceback

2009-07-29 Thread Timo Sirainen
On Wed, 2009-07-29 at 15:27 +0200, Sandro Tosi wrote: > > dovecot: 2009-07-28 08:12:59 Panic: IMAP(): file > > index-sort-string.c: line 168 (index_sort_node_add): assertion failed: > > (ctx->lowest_nonexpunged_zero == 0 || ctx->lowest_nonexpunged_zero > > > node->seq) This should help: http://hg.

Bug#537388: dovecot: IMAP(user): Corrupted index cache file ...

2009-07-21 Thread Timo Sirainen
On Wed, 2009-07-22 at 03:45 +0930, Ron wrote: > But my prime suspect right now is 'imap_peek = no' ... Thanks, that allowed me to reproduce the bug. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/ae3e0ff64c94 signature.asc Description: This is a digitally signed message part

Bug#537388: dovecot: IMAP(user): Corrupted index cache file ...

2009-07-19 Thread Timo Sirainen
On Jul 17, 2009, at 9:04 PM, Ron wrote: 3. in one of the mutt instances to update the index of what is in the mailbox. 4. Open the new message in it. So 3 and 4 are on the same mutt instance, and the second mutt instance haven't even see the mail yet by the time the corruption happens?

Bug#537388: dovecot: IMAP(user): Corrupted index cache file ...

2009-07-17 Thread Timo Sirainen
On Sat, 2009-07-18 at 09:25 +0930, Ron wrote: > So here's what I can do to reproduce it, confirmed again after the last > imaptest run: > > 1. Start 2 instances of mutt into the same imap folder. > 2. echo "hmm" | mail -s test ron > 3. in one of the mutt instances to update the index >of what

Bug#537388: dovecot: IMAP(user): Corrupted index cache file ...

2009-07-17 Thread Timo Sirainen
On Sat, 2009-07-18 at 07:00 +0930, Ron wrote: > > > dovecot: IMAP(ron): Corrupted index cache file > > > /home/ron/Mail/debian/.imap/emdebian/dovecot.index.cache: record points > > > outside file > > Ok, I think I've figured out roughly how to reproduce this now ... > The trouble would seem to o

Bug#537388: dovecot: IMAP(user): Corrupted index cache file ...

2009-07-17 Thread Timo Sirainen
On Sat, 2009-07-18 at 03:14 +0930, Ron wrote: > dovecot: IMAP(ron): Corrupted index cache file > /home/ron/Mail/debian/.imap/emdebian/dovecot.index.cache: record points > outside file > dovecot: IMAP(ron): Corrupted index cache file > /home/ron/Mail/debian/.imap/uclibc/dovecot.index.cache: recor

Bug#537158: [dovecot-imapd] Balks at sieve conf variables, will not work without them

2009-07-15 Thread Timo Sirainen
On Jul 15, 2009, at 11:28 AM, David Baron wrote: When starting new version fails, get incorrect variabe sieve in conf file (using my old one). If I delete the two sieve lines, the daemon will start but does not function They need to be in plugin section nowadays. http://wiki.dovecot.org/U

Bug#536880: dovecot: quota plugin broken

2009-07-14 Thread Timo Sirainen
On Jul 14, 2009, at 8:25 AM, Marc Dequènes (Duck) wrote: Restarting IMAP/POP3 mail server: dovecotILoading modules from directory: /usr/lib/dovecot/modules/imap Edlopen(/usr/lib/dovecot/modules/imap/lib10_quota_plugin.so) failed: /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so: undefine

Bug#536247: dovecot-common: dovecot-auth segfaults randomly

2009-07-11 Thread Timo Sirainen
On Jul 11, 2009, at 6:06 PM, Andrew Schulman wrote: OK, I restarted dovecot with auth_executable = /usr/bin/valgrind --log-file=/var/run/dovecot/ valgrind.%p /usr/lib/dovecot/dovecot-auth as you suggested. My dovecot-auth process just quit: Jul 11 17:50:33 helium dovecot: auth(default): wo

Bug#536247: dovecot-common: dovecot-auth segfaults randomly

2009-07-11 Thread Timo Sirainen
On Jul 11, 2009, at 2:37 AM, Andrew Schulman wrote: Good news: I got a core file from a segfault. Bad news: I'm using a standard Debian package with no debugging symbols. Backtrace is below, but it looks as though it's not going to be very useful. I suppose that in order to get a useful

Bug#536247: dovecot-common: dovecot-auth segfaults randomly

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 14:03 -0400, Andrew Schulman wrote: > Jul 2 12:26:24 helium dovecot: child 26364 (auth-worker) killed with > signal 11 (core dumps disabled) It's possible that the crash comes from PAM plugins. You could try if setting auth_worker_max_request_count to somewhat low value (or

Bug#536247: dovecot-common: dovecot-auth segfaults randomly

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 10:56 -0400, Andrew Schulman wrote: > Several times a day, dovecot-auth crashes, disconnecting the connected > users of course. syslog output from one day is below. Thanks, Andrew. > > messages.4.gz:Jul 2 12:26:24 helium kernel: dovecot-auth[26364]: segfault at > 1000

Bug#536247: dovecot-common: dovecot-auth segfaults randomly

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 10:56 -0400, Andrew Schulman wrote: > messages.4.gz:Jul 2 12:26:24 helium kernel: dovecot-auth[26364]: segfault at > 10008 ip 7faf466441eb sp 7fff50a3f260 error 4 in > libc-2.9.so[7faf465d2000+149000] Any chance of getting a gdb backtrace? http://dovecot.org/bugreport.

Bug#514043: manpages-dev: fexecve() should mention it doesn't work inside chroot

2009-02-04 Thread Timo Sirainen
On Wed, 2009-02-04 at 17:37 +1300, Michael Kerrisk wrote: > > The test program in my previous mail did the chrooting. Just compile it, > > mkdir -p /tmp/foo/proc, mount --bind /proc /tmp/foo/proc and run it. > > So, I did some experimenting. It looks like the title of your report > has things wro

Bug#514043: manpages-dev: fexecve() should mention it doesn't work inside chroot

2009-02-03 Thread Timo Sirainen
On Wed, 2009-02-04 at 09:47 +1300, Michael Kerrisk wrote: > > In my real > > program I got ENOENT for some reason. Anyway ENOENT still happens > > if /proc is mounted but the executed file is outside the chroot. > > Yes. The entries in /proc/self/fd are symlinks, and these would refer > to paths

Bug#514043: manpages-dev: fexecve() should mention it doesn't work inside chroot

2009-02-03 Thread Timo Sirainen
On Wed, 2009-02-04 at 09:17 +1300, Michael Kerrisk wrote: > >> > And for ERRORS: > >> > > >> > ENOENT: /proc filesystem not available. > >> > > >> > ref: http://lkml.org/lkml/2006/12/27/140 > >> > >> surely the error is ENOSYS (see the glibc source), which is already > >> documented in the man page

Bug#514043: manpages-dev: fexecve() should mention it doesn't work inside chroot

2009-02-03 Thread Timo Sirainen
On Wed, 2009-02-04 at 07:42 +1300, Michael Kerrisk wrote: > > To prevent other people from wasting their time with fexecve(), I suggest > > adding something like this to the description: > > > > Linux implements fexecve() by executing the binary via proc filesystem, > > so /proc needs to be mounted

Bug#514043: manpages-dev: fexecve() should mention it doesn't work inside chroot

2009-02-03 Thread Timo Sirainen
Package: manpages-dev Version: 3.01-1 Severity: wishlist To prevent other people from wasting their time with fexecve(), I suggest adding something like this to the description: Linux implements fexecve() by executing the binary via proc filesystem, so /proc needs to be mounted and available duri

Bug#511340: dovecot-imapd does not allow SSL connections after a while due to SSL parameters being corrupted

2009-01-13 Thread Timo Sirainen
On Tue, 2009-01-13 at 18:45 +0100, Jürgen Geuter wrote: > > The file is first created to $prefix/var/lib/dovecot/ssl-parameters.dat. > > From there it is either hard linked or copied to > > base_dir/login/ssl-parameters.dat. It's never deleted from the /var/lib/ > > directory. That's the reason it'

Bug#511340: dovecot-imapd does not allow SSL connections after a while due to SSL parameters being corrupted

2009-01-13 Thread Timo Sirainen
On Tue, 2009-01-13 at 18:20 +0100, Jürgen Geuter wrote: > On Mon, 2009-01-12 at 11:06 -0500, Timo Sirainen wrote: > > On Fri, 2009-01-09 at 19:04 +, Juergen Geuter wrote: > > > After a while dovecot does not allow SSL connections anymore because the > > > SSL para

Bug#509380: [dovecot-common] deliver returns EX_NOUSER when sql query failed

2009-01-12 Thread Timo Sirainen
On Sun, 2008-12-21 at 21:36 +0100, Timo Weingärtner wrote: > This problem appears every time when the SQL server gets restarted while the > mailserver's domU is paused. > > See the logs for details on what happened. > > If an IMAP login is tried in this situation, that fails instead; maybe I'll

Bug#511340: dovecot-imapd does not allow SSL connections after a while due to SSL parameters being corrupted

2009-01-12 Thread Timo Sirainen
On Fri, 2009-01-09 at 19:04 +, Juergen Geuter wrote: > After a while dovecot does not allow SSL connections anymore because the > SSL parameters in the file /var/run/dovecot/login/ssl-parameters.dat > get corrupted. The file then has exactly 80 bytes size. > When that happens the log gets an en

  1   2   >