Bug#315939: errors in log: Jun 27 02:35:01 lyra postfix/pipe[12885]: fatal: service mailman requires privileged operation

2005-12-29 Thread LaMont Jones
On Wed, Dec 28, 2005 at 06:45:06PM +0100, Sjoerd Simons wrote:
 On Mon, Jun 27, 2005 at 03:09:01AM +0800, Anand Vaidya wrote:

  Further there is a line break just before ${nexthop} ${user} in the argv
  line. Is that OK? I don't think so.
  
   argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}

No, it's fine.  Leading whitespace marks a continuation line, and causes
the line to be appended to the prior one as part of parsing.

 Could these fixes be applied for the next postfix package ? I just wasted an
 hour finding this problem, because i assumed the default debian config would 
 be okay.

  * Make mailman service run privileged.  sigh.  Closes: #315939

It'll be in 2.2.7-2, and later.

lamont


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#315939: errors in log: Jun 27 02:35:01 lyra postfix/pipe[12885]: fatal: service mailman requires privileged operation

2005-12-28 Thread Sjoerd Simons
On Mon, Jun 27, 2005 at 03:09:01AM +0800, Anand Vaidya wrote:
 Debian default is: (DOES NOT WORK)
 mailman unix - - n - - pipe
 
 I have changed to: (WORKS FINE)
 mailman unix - n n - - pipe
 
 (see the fourth word - changed to n ?)
 
 Further there is a line break just before ${nexthop} ${user} in the argv
 line. Is that OK? I don't think so.
 
  argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}

Could these fixes be applied for the next postfix package ? I just wasted an
hour finding this problem, because i assumed the default debian config would 
be okay.

  Sjoerd
-- 
I don't think so, said Ren'e Descartes.  Just then, he vanished.



Bug#315939: errors in log: Jun 27 02:35:01 lyra postfix/pipe[12885]: fatal: service mailman requires privileged operation

2005-06-27 Thread Anand Vaidya
Package: postfix
Version: 2.2.3-3
Severity: normal
Tags: patch



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages postfix depends on:
ii  adduser 3.63 Add and remove users and groups
ii  debconf [debconf-2.0]   1.4.51   Debian configuration management sy
ii  dpkg1.10.28  Package maintenance system for Deb
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdb4.24.2.52-18Berkeley v4.2 Database Libraries [
ii  libsasl22.1.19-1.5   Authentication abstraction library
ii  libssl0.9.7 0.9.7e-3 SSL shared libraries
ii  netbase 4.21 Basic TCP/IP networking system

-- debconf information:
  postfix/master_upgrade_warning:
  postfix/db_upgrade_warning: true
* postfix/mailname: lyra.novaglobal.com.sg
  postfix/tlsmgr_upgrade_warning:
  postfix/recipient_delim: +
  postfix/dynamicmaps_upgrade_warning:
* postfix/main_mailer_type: Internet Site
  postfix/transport_map_warning:
  postfix/relayhost:
  postfix/procmail: false
  postfix/bad_recipient_delimiter:
* postfix/chattr: false
* postfix/root_address: anand
  postfix/rfc1035_violation: false
  postfix/mynetworks: 127.0.0.0/8
* postfix/destinations: lyra.novaglobal.com.sg, localhost, 
support.novaglobal.com.sg
  postfix/nqmgr_upgrade_warning:
  postfix/not_configured:
  postfix/mailbox_limit: 0


Always seeing postfix/pipe fail with exit code 1 fatal: service mailman 
requires privileged operation
OS: Debian testing
 postfix version: 2.2.3-3
 mailman version: 2.1.5-9

See log extract below:
Jun 27 02:34:50 lyra postfix/smtpd[12881]: connect from 
wproxy.gmail.com[64.233.184.196]
 Jun 27 02:34:50 lyra postfix/smtpd[12881]: EC27350E7: 
client=wproxy.gmail.com[64.233.184.196]
 Jun 27 02:34:51 lyra postfix/cleanup[12884]: EC27350E7: message-id=
 Jun 27 02:34:51 lyra postfix/qmgr[12875]: EC27350E7: from=, size=1360, nrcpt=1 
(queue active)
 Jun 27 02:34:51 lyra postfix/smtpd[12881]: disconnect from 
wproxy.gmail.com[64.233.184.196]
 Jun 27 02:35:01 lyra postfix/pipe[12885]: fatal: service mailman requires 
privileged operation
 Jun 27 02:35:02 lyra postfix/master[12750]: warning: process 
/usr/lib/postfix/pipe pid 12885 exit status 1
 Jun 27 02:35:02 lyra postfix/master[12750]: warning: /usr/lib/postfix/pipe: 
bad command startup -- throttling
 Jun 27 02:36:02 lyra postfix/pipe[12886]: fatal: service mailman requires 
privileged operation
 Jun 27 02:36:03 lyra postfix/master[12750]: warning: process 
/usr/lib/postfix/pipe pid 12886 exit status 1
 Jun 27 02:36:03 lyra postfix/master[12750]: warning: /usr/lib/postfix/pipe: 
bad command startup -- throttling
 Jun 27 02:37:03 lyra postfix/pipe[12889]: fatal: service mailman requires 
privileged operation
 Jun 27 02:37:04 lyra postfix/master[12750]: warning: process 
/usr/lib/postfix/pipe pid 12889 exit status 1

Fixed by editing /etc/postfix/master.cf

Debian default is: (DOES NOT WORK)
mailman unix - - n - - pipe

I have changed to: (WORKS FINE)
mailman unix - n n - - pipe

(see the fourth word - changed to n ?)

Further there is a line break just before ${nexthop} ${user} in the argv line. 
Is that OK? I don't think so.

 argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}


Regards,
Anand
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]