Bug#413968: clamsmtpd fails, error 451

2007-03-16 Thread Chad Walstrom
Olaf, With some friendly help and prodding from Steve Langeseck, I recognized some logic errors in the postinst script. Frankly, I am surprised no one ran into it earlier. Here's what I surmise was happening. 1. You had installed clamsmtp in the past. 2. You had removed the package with the

Bug#413968: clamsmtpd fails, error 451

2007-03-16 Thread Chad Walstrom
Steve Langasek <[EMAIL PROTECTED]> wrote: > Well, hard to say it's related without actually being able to reproduce the > error, but this: > > add_clamav2group || true > > means that any errors from trying to add the clamav user to the clamsmtp > group on package install are sile

Bug#413968: clamsmtpd fails, error 451

2007-03-16 Thread Steve Langasek
Well, hard to say it's related without actually being able to reproduce the error, but this: add_clamav2group || true means that any errors from trying to add the clamav user to the clamsmtp group on package install are silently ignored. Probably better to propagate the error, th

Bug#413968: clamsmtpd fails, error 451

2007-03-09 Thread Chad Walstrom
On Fri, Mar 09, 2007 at 08:17:03AM +0100, Olaf Zaplinski wrote: > uid=101(clamav) gid=101(clamav) groups=101(clamav) clamav should belong to clamsmtp. Run this as root: # adduser clamav clamsmtp > ># /etc/init.d/clamsmtpd stop > ># strace clamsmtpd 2>&1 | tee clamsmtpd.strace.log > > T

Bug#413968: clamsmtpd fails, error 451

2007-03-08 Thread Chad Walstrom
Olaf Zaplinski <[EMAIL PROTECTED]> wrote: > result of fresh install: > > Mar 8 11:04:47 binky postfix/smtpd[14969]: connect from localhost[127.0.0.1] > Mar 8 11:04:47 binky postfix/smtpd[14969]: ADCA5471D1A: > client=mx1.bmcag.de[62.206.102.78] > Mar 8 11:04:47 binky clamsmtpd: 10: clamav

Bug#413968: clamsmtpd fails, error 451

2007-03-08 Thread Olaf Zaplinski
Package: clamsmtp Maintainer: Chad Walstrom <[EMAIL PROTECTED]> Architecture: i386 Version: 1.8-1 Severity: grave result of fresh install: Mar 8 11:04:47 binky postfix/smtpd[14969]: connect from localhost[127.0.0.1] Mar 8 11:04:47 binky postfix/smtpd[14969]: ADCA5471D1A: client=mx1.bmcag.de[