Bug#864162: opendkim: systemd ExecStart ignore configuration options

2017-06-08 Thread Uve Lokk
Hi,

maybe it makes more sense to use "EnvironmentFile" parameter in the OpenDKIM 
systemd.service file:

--- /lib/systemd/system/opendkim.service.orig   2017-01-21 07:45:58.0 
+0200
+++ /lib/systemd/system/opendkim.service2017-06-08 17:02:34.632978678 
+0300
@@ -5,10 +5,11 @@
 
 [Service]
 Type=forking
+EnvironmentFile=-/etc/default/opendkim
 PIDFile=/var/run/opendkim/opendkim.pid
 User=opendkim
 UMask=0007
-ExecStart=/usr/sbin/opendkim -P /var/run/opendkim/opendkim.pid -p 
local:/var/run/opendkim/opendkim.sock
+ExecStart=/usr/sbin/opendkim -P /var/run/opendkim/opendkim.pid -p $SOCKET
 Restart=on-failure
 ExecReload=/bin/kill -USR1 $MAINPID


Uve


Bug#767798: bind9: ignores OPTIONS from /etc/default/bind9 w/ systemd

2015-04-22 Thread Uve Lokk
On Tue, 21 Apr 2015 17:32:31 +0300 Dmitrijs Ivanovs
dmitrijs.ivan...@ubnt.com wrote:
 Hello!

 I've found this bug too... Is there any good workaround?


Systemd BIND service-file should be modified:

~# diff -u /lib/systemd/system/bind9.service.old
/lib/systemd/system/bind9.service.new
--- /lib/systemd/system/bind9.service.old2015-02-19 06:41:35.0 +0200
+++ /lib/systemd/system/bind9.service.new2015-04-22 17:42:11.148347245 +0300
@@ -4,7 +4,8 @@
 After=network.target

 [Service]
-ExecStart=/usr/sbin/named -f -u bind
+EnvironmentFile=-/etc/default/bind9
+ExecStart=/usr/sbin/named $OPTIONS
 ExecReload=/usr/sbin/rndc reload
 ExecStop=/usr/sbin/rndc stop


---
Uve Lokk


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#369356: mailscanner: 'Multiple Headers = replace' breaks SMTP message

2006-05-29 Thread Uve Lokk
Package: mailscanner
Version: 4.41.3-2


If I changed the MailScanner parameter 'Multiple Headers' value from 'append' 
to 'replace', the e-mail header section broke from the first point where 
mailscanner adds any information to.
After I restored the previous condition modifying MailScanner.conf, everything 
turned back to normal.


Samples:


Normal header ('Multiple Headers = append'):

Microsoft Mail Internet Headers Version 2.0
Received: from problematic.server ([xx.xx.xx.162]) by another.server 
with Microsoft SMTPSVC(6.0.3790.211);
 Mon, 29 May 2006 12:52:12 +0300
Received: from lists-outbound.sourceforge.net 
(lists-outbound.sourceforge.net [66.35.250.225])
by problematic.server (Postfix) with ESMTP id ADFC55808D
for [EMAIL PROTECTED]; Mon, 29 May 2006 12:52:07 +0300 
(EEST), puhas
Received: from sc8-sf-list1-b.sourceforge.net 
(sc8-sf-list1-b.sourceforge.net [10.3.1.7])
by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP
id B52F513495; Mon, 29 May 2006 02:52:04 -0700 (PDT)
/--etc---/


Broken header  body ('Multiple Headers = replace'):

header:
Microsoft Mail Internet Headers Version 2.0
Received: from problematic.server ([xx.xx.xx.162]) by another.server 
with Microsoft SMTPSVC(6.0.3790.211);
 Mon, 29 May 2006 12:05:06 +0300
From: [EMAIL PROTECTED]
Bcc:
Return-Path: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
X-OriginalArrivalTime: 29 May 2006 09:05:06.0149 (UTC) 
FILETIME=[FA6E8950:01C682FE]
Date: 29 May 2006 12:05:06 +0300

body:
 puhas
X-organization-MailScanner-SpamCheck: not spam

--=BoundaryHOT1148893493.17--
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

/---a message follows---/


--=BoundaryHOT1148893493.17--
Content-Type: application/pdf
Content-Disposition: attachment;
filename=sag.pdf
Content-Transfer-Encoding: base64


JVBERi0xLjMKJeLjz9MKMSAwIG9iajw8L1Byb2R1Y2VyKGh0bWxkb2MgMS44LjIzIENvcHlyaWdo

dCAxOTk3LTIwMDIgRWFzeSBTb2Z0d2FyZSBQcm9kdWN0cywgQWxsIFJpZ2h0cyBSZXNlcnZlZC4p


/etc/MailScanner/MailScanner.conf:
Clean Header Value   = puhas


mailscanner works together with postfix and spamassassin

additional information:
---
Debian GNU/Linux 3.1 i386
kernel 2.6.8-12-em64t-p4-smp
libc6 2.3.2.ds1-22sarge3
postfix 2.1.5-9
spamassassin 3.0.3-2



Uve Lokk,
[EMAIL PROTECTED]