Re: IMAP TLS after upgrade from 3.1.17 to 3.2.3

Admin Beckspaced <[email protected]> Fri, 15 Jul 2016 12:37:17 +0200
Newsgroups gmane.mail.imap.dbmail
Organization Beckspaced
Message-ID <[email protected]>
> Am 15.07.2016 um 09:34 schrieb Admin Beckspaced:
>> the reason i upgraded to 3.2.3 was that dbmail imap in version 3.1.17
>> kept crashing from time to time without any further info in the error logs.
>> which was actually not so funny as customers couldn't then login via IMAP
> rhar shouldn't happen - are you using straight 3.1.17 or the latest
> snapshot with all buxfixes?
>
> dbmail-3.1.17-3.fc23.20160705.rh.2874f497fb429ed139e94342ca1c84325b20b3f1.x86_64
>
> http://git.dbmail.eu/paul/dbmail/log/?h=dbmail_3_1
>
>> as a workaround i wrote a tiny shell script checking if dbmail-imapd is
>> running and if not then start a process
>> since upgrading to 3.2.3 no crash has been reported so far ... keeping
>> fingers crossed ;)
> should be handeled by the init system these days
>
> [root@mail:~]$ cat /usr/lib/systemd/system/dbmail-imapd.service
> [Unit]
> Description=DBMail IMAP Server
> After=network.service systemd-networkd.service network-online.target
> mysqld.service mysqld-dbmail.service
> Before=dovecot.service
>
> [Service]
> Type=simple
> ExecStart=/usr/sbin/dbmail-imapd -D
> Environment="LANG=en_GB.UTF-8"
> Restart=always
> RestartSec=1
> StartLimitBurst=100
> TimeoutStopSec=5
> LimitNOFILE=50000
>
> PrivateTmp=yes
> PrivateDevices=yes
> CapabilityBoundingSet=CAP_DAC_OVERRIDE CAP_IPC_LOCK CAP_NET_BIND_SERVICE
> CAP_SETGID CAP_SETUID
> RestrictAddressFamilies=~AF_APPLETALK AF_ATMPVC AF_AX25 AF_IPX
> AF_NETLINK AF_PACKET AF_X25
> SystemCallArchitectures=x86-64
> SystemCallFilter=~acct modify_ldt add_key adjtimex clock_adjtime
> delete_module fanotify_init finit_module get_mempolicy init_module
> io_destroy io_getevents iopl ioperm io_setup io_submit io_cancel kcmp
> kexec_load keyctl lookup_dcookie mbind migrate_pages mount move_pages
> open_by_handle_at perf_event_open pivot_root process_vm_readv
> process_vm_writev ptrace remap_file_pages request_key set_mempolicy
> swapoff swapon umount2 uselib vmsplice
>
> ReadOnlyDirectories=/
> ReadWriteDirectories=-/run
> ReadWriteDirectories=-/tmp
> ReadWriteDirectories=-/var/tmp
> ReadWriteDirectories=-/var/log
>
> InaccessibleDirectories=-/boot
> InaccessibleDirectories=-/home
> InaccessibleDirectories=-/media
> InaccessibleDirectories=-/root
> InaccessibleDirectories=-/etc/dbus-1
> InaccessibleDirectories=-/etc/ssh
> 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/dbus
> InaccessibleDirectories=-/var/lib/dnf
> InaccessibleDirectories=-/var/lib/rpm
> InaccessibleDirectories=-/var/lib/systemd
> InaccessibleDirectories=-/var/lib/yum
> InaccessibleDirectories=-/var/spool
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 181 bytes
> Desc: OpenPGP digital signature
> URL: <http://mailman.fastxs.nl/mhonarc/dbmail/attachments/20160715/001ea40b/attachment.pgp>
>
> ------------------------------
>
> _______________________________________________
> DBmail mailing list
> [email protected]
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>
>
> End of DBmail Digest, Vol 148, Issue 5
> **************************************
>
>
i downloaded the 3.1.17 version from github ->

https://github.com/pjstevns/dbmail/tree/dbmail_3_1

it also had the latest fix in it ...   Paul J Stevens prevent assertion 
in p_string_erase from 10 jan 2016

but even this release from github kept crashing from time to time on my 
opensuse 42.1 with all latest patches