Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179680 - mail-mta/netqmail - qmail-send broken defaultdelivery
Summary: mail-mta/netqmail - qmail-send broken defaultdelivery
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 201457 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-24 21:14 UTC by Klas Meder Boqvist
Modified: 2008-03-08 05:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klas Meder Boqvist 2007-05-24 21:14:46 UTC
/var/qmail/supervise/qmail-send/run starts qmail-start with the content of /var/qmail/control/defaultdelivery as argument. by default the first character in /var/qmail/control/defaultdelivery is a # and that breaks it

i can sse 2 solutions either patch /var/qmail/supervise/qmail-send/run or put the comments in /var/qmail/control/defaultdelivery after the actual default delivery

--- run.orig    2007-05-24 23:15:06.000000000 +0200
+++ run 2007-05-24 23:15:05.000000000 +0200
@@ -3,4 +3,4 @@
 # Copied from LWQ
 # $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-send,v 1.1 2006/02/12 18:42:33 hansmi Exp $
 exec env - PATH="/var/qmail/bin:$PATH" \
-       qmail-start "`cat /var/qmail/control/defaultdelivery`"
+       qmail-start "`cat /var/qmail/control/defaultdelivery|grep -v '^#'|head -n1`"

Reproducible: Always

Steps to Reproduce:
1. start qmail-send
Comment 1 Klas Meder Boqvist 2007-05-24 21:18:01 UTC
root     20466  0.0  0.0   1524   320 ?        S    23:08   0:00 qmail-lspawn # Uncomment the next line for .forward support?#|dot-forward .forward?#./.maildir/?|/var/qmail/bin/preline /usr/bin/procmail

the output och ps auxwww|grep qmail-lspawn och a broken (default) system
Comment 2 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2007-05-25 07:09:50 UTC
(In reply to comment #1)
> root     20466  0.0  0.0   1524   320 ?        S    23:08   0:00 qmail-lspawn #
> Uncomment the next line for .forward support?#|dot-forward
> .forward?#./.maildir/?|/var/qmail/bin/preline /usr/bin/procmail
> 
> the output och ps auxwww|grep qmail-lspawn och a broken (default) system

/bin/ps removes characters like \n. qmail-lspawn gets it without this change, see "cat /proc/$(pidof qmail-lspawn)/cmdline; echo".
Comment 3 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2007-12-06 08:51:37 UTC
*** Bug 201457 has been marked as a duplicate of this bug. ***
Comment 4 crucify 2008-03-07 15:28:48 UTC
mail-mta/netqmail-1.05-r8
this is not solved.
why not?
Comment 5 Klas Meder Boqvist 2008-03-07 15:41:48 UTC
apparently it is not a bug. i cant really see why, i need my provided solution to make it work on my system
Comment 6 crucify 2008-03-08 05:39:29 UTC
I see.
this is not a bug.
but, 'ps' return very long command.
this is a little trouble for system manager.
grep -v '^#' is easy.
please apply.
thank you.