Re: Moving or "upgrading" from MD5 to SSHA512
Hi! > Have a read of this: > http://wiki2.dovecot.org/HowTo/ConvertPasswordSchemes In fact no. Thanks! - Jyri -- +358-50-5632104 (24/7) +358-46-8822157 (backup) jyri.hov...@turvamies.fi
Re: pop3 seen
El 10/01/2015 a las 04:25 a.m., David Saez escibió: > Hi > > I will prefer some way to flag the messages when they are seen > by pop and/or imap > >> On Friday, January 9, 2015, 1:25:55 PM, David wrote: >> >>> Hi >> >>> Is there a way to know if a message has been dowloaded via pop3 >>> and not seen via imap ? >> >> I usually see such activity through monitoring of the Dovecot logs. >> Hi! You should enable the command logs, there is a plug in to enable that, mail_log plugin i think, check the file conf.d/10-logging.conf. The pop3 command to download a mail is RETR , in theory you could map the uid number to the mail file, using the dovecot-uidlist file for each mailbox. I let you the job to find out wich file is every mail ;) I really don't know that (some log, I guess). If you want to see on imap too, you have to enable the flag change state to see when a mail is marked as read. This is not complete, but it will give you a start point to search info. Saludos!
Re: Solaris 10 make check core dumps
On 08/01/2015 00:25, Brian Eliassen wrote: I'm doing a standard build on Solaris 10 with Dovecot 2.2.15 without anything fancy: ./configure make make check make install Configure output looks like this: *** Install prefix . : /usr/local Oooh, I suggest you use /opt ./configure \ --prefix=${PREFIX} \ --sysconfdir=/etc/opt/${PREFIX} \ --localstatedir=/var/opt/${PREFIX} \ ... $ man -s 5 filesystem $ mdb test-http-auth core Loading modules: [ libc.so.1 ld.so.1 ] ::stack libc.so.1`strlen+0x50(29487, ffbffb00, ffbff43d, 0, 0, 0) libc.so.1`vsnprintf+0x70(4f2c0, 10f, 29478, ffbffaf8, 10, ff1c7078) t_noalloc_strdup_vprintf+0x3c(4f2c0, ffbffaf8, ffbffa2c, 1, 19, 0) p_strdup_vprintf+0xc(4cb90, 29478, ffbffaf8, ff1c759c, 4cc38, 4cb8c) t_strdup_printf+0x38(29478, 0, 0, 61fefeff, 80808080, 1010101) Spot the zeros. It's doing the equivalent of 'vsnprintf(s, "%s", 0);'. The check will run by changing the test code and not attempting to print nulls, patch file attached. I've not thought about this deeply and this is no more than a hack to get the test to run, I didn't study the result. On face value the core dump says dovecot has failed the test because its string functions don't take nulls, that is if dovecot ever sends them nulls which I can't say other than dovecot does run without dumping core. If there is the possibility nulls need to be printed the dovecot functions in src/lib/strfuncs.c need fixing. --- ../original/src/lib-http/test-http-auth.c 2014-09-24 20:34:27.0 +0100 +++ src/lib-http/test-http-auth.c 2015-01-10 15:22:59.083365723 + @@ -120,7 +120,7 @@ strcmp(chalo->scheme, chalt->scheme) == 0); if (chalo->data == NULL || chalt->data == NULL) { test_out(t_strdup_printf("[%d]->data = %s", - index, str_sanitize(chalo->data, 80)), + index, str_sanitize(chalo->data == NULL ? "NULL" : chalo->data, 80)), chalo->data == chalt->data); } else { test_out(t_strdup_printf("[%d]->data = %s", @@ -230,7 +230,7 @@ strcmp(out.scheme, test->scheme) == 0); if (out.data == NULL || test->data == NULL) { test_out(t_strdup_printf("->data = %s", - str_sanitize(out.data, 80)), + str_sanitize(out.data == NULL ? "NULL" : out.data, 80)), out.data == test->data); } else { test_out(t_strdup_printf("->data = %s", --- ../original/src/lib-http/test-http-request-parser.c 2014-06-02 12:50:10.0 +0100 +++ src/lib-http/test-http-request-parser.c 2015-01-10 15:25:52.198118307 + @@ -269,7 +269,7 @@ if (payload == NULL || test->payload == NULL) { test_out(t_strdup_printf("request->payload = %s", - str_sanitize(payload, 80)), + str_sanitize(payload == NULL ? "NULL" : payload, 80)), payload == test->payload); } else { test_out(t_strdup_printf("request->payload = %s", --- ../original/src/lib-imap/test-imap-url.c2014-07-03 10:44:49.0 +0100 +++ src/lib-imap/test-imap-url.c2015-01-10 15:57:26.923109229 + @@ -637,14 +637,14 @@ strcmp(urlp->host_name, urlt->host_name) == 0); } if (urlp->userid == NULL || urlt->userid == NULL) { - test_out_quiet(t_strdup_printf("url->userid = %s", urlp->userid), + test_out_quiet(t_strdup_printf("url->userid = %s", urlp->userid == NULL ? "NULL" : urlp->userid), urlp->userid == urlt->userid); } else { test_out_quiet(t_strdup_printf("url->userid = %s", urlp->userid), strcmp(urlp->userid, urlt->userid) == 0); } if (urlp->auth_type == NULL || urlt->auth_type == NULL) { - test_out_quiet(t_strdup_printf("url->auth_type = %s", urlp->auth_type), + test_out_quiet(t_strdup_printf("url->auth_type = %s", urlp->auth_type == NULL ? "NULL" : urlp->auth_type), urlp->auth_type == urlt-
Dovecot on Fedora 20 or 21
Hello, Is anyone running Dovecot on either a Fedora 20 or 21 system? I'm having an issue, on a system reboot, which I admit does not happen often, Dovecot fails to start in the systemctl list, output is status failed. The issue seems to be Dovecot can not bind to the ipv6 address. Now later if I manually log in to the box and start dovecot it works just fine no problems. I've googled and seen similar issues to this. Does anyone have a solution? Thanks. Dave.
Re: Dovecot on Fedora 20 or 21
Hello Dave, Are you using NetworkManager or /etc/init.d/network to set up your network interfaces ? Le 10/01/2015 19:34, David Mehler a écrit : > Hello, > > Is anyone running Dovecot on either a Fedora 20 or 21 system? I'm > having an issue, on a system reboot, which I admit does not happen > often, Dovecot fails to start in the systemctl list, output is status > failed. The issue seems to be Dovecot can not bind to the ipv6 > address. Now later if I manually log in to the box and start dovecot > it works just fine no problems. I've googled and seen similar issues > to this. Does anyone have a solution? > > Thanks. > Dave. > signature.asc Description: OpenPGP digital signature
Re: Dovecot on Fedora 20 or 21
On 10.01.2015 19:34, David Mehler wrote: > Hello, > > Is anyone running Dovecot on either a Fedora 20 or 21 system? I'm > having an issue, on a system reboot, which I admit does not happen > often, Dovecot fails to start in the systemctl list, output is status > failed. The issue seems to be Dovecot can not bind to the ipv6 > address. Now later if I manually log in to the box and start dovecot > it works just fine no problems. I've googled and seen similar issues > to this. Does anyone have a solution? Sounds like Dovecot just starts too early. Before the v6 interface is ready. You should be able to either define dependencies or delays in systemctl, right? Michael
Re: Dovecot on Fedora 20 or 21
Am 10.01.2015 um 19:34 schrieb David Mehler: Is anyone running Dovecot on either a Fedora 20 or 21 system? surely having an issue, on a system reboot, which I admit does not happen often, Dovecot fails to start in the systemctl list, output is status failed. The issue seems to be Dovecot can not bind to the ipv6 address. Now later if I manually log in to the box and start dovecot it works just fine no problems. I've googled and seen similar issues to this. Does anyone have a solution? you could avoid that by have it loisten on the global IP (0.0.0.0 for ipv4 and ::: for ipv6) instead configure a specific IP for the service, otherwise you need to make sure ordering with After= or Before= in the systemd-units [root@srv-rhsoft:~]$ cat /usr/lib/systemd/system/dovecot.service [Unit] Description=Dovecot IMAP/POP3 Proxy After=network.service systemd-networkd.service network-online.target dbmail-imapd.service dbmail-pop3d.service mysqld.service mysqld-dbmail.service Before=postfix.service [Service] Type=simple ExecStart=/usr/sbin/dovecot -F Environment="LANG=en_GB.UTF-8" NonBlocking=yes Restart=always RestartSec=1 PrivateTmp=true CapabilityBoundingSet=CAP_CHOWN CAP_DAC_OVERRIDE CAP_IPC_LOCK CAP_KILL CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT ReadOnlyDirectories=/etc ReadOnlyDirectories=/usr ReadOnlyDirectories=/proc ReadOnlyDirectories=/sys ReadOnlyDirectories=/var/lib ReadWriteDirectories=/var/lib/dovecot InaccessibleDirectories=/boot InaccessibleDirectories=/home InaccessibleDirectories=/media InaccessibleDirectories=/root InaccessibleDirectories=/run/console InaccessibleDirectories=/run/dbus InaccessibleDirectories=/run/lock InaccessibleDirectories=/run/mount InaccessibleDirectories=/run/systemd/generator InaccessibleDirectories=/run/systemd/system InaccessibleDirectories=/run/systemd/users InaccessibleDirectories=/run/udev InaccessibleDirectories=/run/user InaccessibleDirectories=/usr/local/scripts InaccessibleDirectories=/var/lib/rpm InaccessibleDirectories=/var/lib/yum InaccessibleDirectories=/var/lib/dbus InaccessibleDirectories=/var/lib/systemd [Install] WantedBy=multi-user.target signature.asc Description: OpenPGP digital signature