opensmtpd: fix interaction with dovecot-2.3.1

This has been merged upstream with
https://github.com/OpenSMTPD/OpenSMTPD/pull/847

+8 -2
+8 -2
pkgs/servers/mail/opensmtpd/default.nix
··· 1 - { stdenv, lib, fetchurl, autoconf, automake, libtool, bison 1 + { stdenv, lib, fetchurl, fetchpatch, autoconf, automake, libtool, bison 2 2 , libasr, libevent, zlib, openssl, db, pam 3 3 4 4 # opensmtpd requires root for no reason to encrypt passwords, this patch fixes it ··· 23 23 sha256 = "291881862888655565e8bbe3cfb743310f5dc0edb6fd28a889a9a547ad767a81"; 24 24 }; 25 25 26 - patches = [ ./proc_path.diff ]; 26 + patches = [ 27 + ./proc_path.diff 28 + (fetchpatch { 29 + url = "https://github.com/OpenSMTPD/OpenSMTPD/commit/725ba4fa2ddf23bbcd1ff9ec92e86bbfaa6825c8.diff"; 30 + sha256 = "19rla0b2r53jpdiz25fcza29c2msz6j6paivxhp9jcy1xl457dqa"; 31 + }) 32 + ]; 27 33 28 34 postPatch = with builtins; with lib; 29 35 optionalString unpriviledged_smtpctl_encrypt ''