Report forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#10924; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie  Subject: Bug#10924: sendmail: suggestion for sendmail.mc configuration Reply-To: Marek Michalkiewicz , 10924@bugs.debian.org Resent-From: Marek Michalkiewicz Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Robert Leslie Resent-Date: Sun, 29 Jun 1997 18:18:01 GMT Resent-Message-ID: Resent-Sender: iwj@debian.org X-Debian-PR-Message: report 10924 X-Debian-PR-Package: sendmail X-Debian-PR-Keywords: X-Loop: owner@bugs.debian.org Received: via spool by bugs@bugs.debian.org id=B.86760812222874 (code B ref -1); Sun, 29 Jun 1997 18:18:01 GMT Date: Sun, 29 Jun 1997 20:02:20 +0200 Message-Id: <199706291802.UAA22345@marekm.home> From: Marek Michalkiewicz To: submit@bugs.debian.org X-Mailer: bug 2.95 Package: sendmail Version: 8.8.5-1 This is a request for enhancement rather than a real bug... At the end of /etc/mail/sendmail.mc, there is a line saying: ## Custom configurations below (will be preserved) However, some of the custom configuration must appear above the MAILER definitions to have any effect. I have a dialup PPP connection, and I want the system to queue all non-local mail (it will be sent when "sendmail -q" is run from the /etc/diald/ip-up script) to avoid bringing up the PPP connection unnecessarily. At the same time, I want local mail to be delivered immediately. I added the following lines to my /etc/mail/sendmail.cf: define(`confCON_EXPENSIVE', `True')dnl define(`confDIAL_DELAY', `10s')dnl define(`SMART_HOST', `')dnl define(`SMTP_MAILER_FLAGS', `e')dnl Now, for SMTP_MAILER_FLAGS to work (the "e" flag means that the smtp mailer is expensive), it must appear above MAILER(smtp)dnl - and thus above the "Custom configurations" line, but then it won't be preserved when sendmailconfig is run next time. Suggestions: - allow local configuration at the beginning of /etc/mail/sendmail.mc (maybe include another, local m4 file?), - add support for the configuration mentioned above (which might be useful for other people with dialup PPP) to sendmailconfig. Marek -- System Information Debian Release: 1.3 Kernel Version: Linux marekm 2.0.30 #1 Sun Jun 1 09:14:11 EST 1997 i486 unknown Versions of the packages sendmail depends on: libc5 Version: 5.4.33-3 libgdbm1 Version: 1.7.3-19 libdb1 Version: 1.85.4-3 netbase Version: 2.13-1 deliver Version: 2.1.12-2 m4 Version: 1.4-6   Acknowledgement sent to Marek Michalkiewicz <marekm@piast.t19.ds.pwr.wroc.pl>:
New bug report received and forwarded. Copy sent to Robert Leslie <rob@mars.org>.   -t  From: owner@bugs.debian.org (Ian Jackson) To: Marek Michalkiewicz Subject: Bug#10924: Acknowledgement (was: sendmail: suggestion for sendmail.mc configuration) Message-ID: In-Reply-To: <199706291802.UAA22345@marekm.home> References: <199706291802.UAA22345@marekm.home> X-Debian-PR-Message: ack 10924 Thank you for the problem report you have sent regarding Debian Linux. This is an automatically generated reply, to let you know your message has been received. It is being forwarded to the developers' mailing list for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Robert Leslie If you wish to submit further information on your problem, please send it to 10924@bugs.debian.org (and *not* to bugs@bugs.debian.org). Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, Debian bug tracking system)   Received: (at submit) by bugs.debian.org; 29 Jun 1997 18:15:21 +0000 Received: (qmail 22872 invoked from network); 29 Jun 1997 18:15:18 -0000 Received: from dns1.atm.com.pl (HELO ikp.atm.com.pl) (195.116.61.250) by master.debian.org with SMTP; 29 Jun 1997 18:15:15 -0000 Received: from marekm.home (ppp156.gdansk.tpnet.pl [194.204.134.156]) by ikp.atm.com.pl (8.7.5/8.7.3) with ESMTP id UAA25411; Sun, 29 Jun 1997 20:10:32 +0200 (MDT) Received: (from marekm@localhost) by marekm.home (8.8.5/8.8.5) id UAA22345; Sun, 29 Jun 1997 20:02:20 +0200 Date: Sun, 29 Jun 1997 20:02:20 +0200 Message-Id: <199706291802.UAA22345@marekm.home> From: Marek Michalkiewicz Subject: sendmail: suggestion for sendmail.mc configuration To: submit@bugs.debian.org X-Mailer: bug 2.95 Package: sendmail Version: 8.8.5-1 This is a request for enhancement rather than a real bug... At the end of /etc/mail/sendmail.mc, there is a line saying: ## Custom configurations below (will be preserved) However, some of the custom configuration must appear above the MAILER definitions to have any effect. I have a dialup PPP connection, and I want the system to queue all non-local mail (it will be sent when "sendmail -q" is run from the /etc/diald/ip-up script) to avoid bringing up the PPP connection unnecessarily. At the same time, I want local mail to be delivered immediately. I added the following lines to my /etc/mail/sendmail.cf: define(`confCON_EXPENSIVE', `True')dnl define(`confDIAL_DELAY', `10s')dnl define(`SMART_HOST', `')dnl define(`SMTP_MAILER_FLAGS', `e')dnl Now, for SMTP_MAILER_FLAGS to work (the "e" flag means that the smtp mailer is expensive), it must appear above MAILER(smtp)dnl - and thus above the "Custom configurations" line, but then it won't be preserved when sendmailconfig is run next time. Suggestions: - allow local configuration at the beginning of /etc/mail/sendmail.mc (maybe include another, local m4 file?), - add support for the configuration mentioned above (which might be useful for other people with dialup PPP) to sendmailconfig. Marek -- System Information Debian Release: 1.3 Kernel Version: Linux marekm 2.0.30 #1 Sun Jun 1 09:14:11 EST 1997 i486 unknown Versions of the packages sendmail depends on: libc5 Version: 5.4.33-3 libgdbm1 Version: 1.7.3-19 libdb1 Version: 1.85.4-3 netbase Version: 2.13-1 deliver Version: 2.1.12-2 m4 Version: 1.4-6   Severity set to `wishlist'. Request was from Richard A Nelson <cowboy@vnet.ibm.com> to control@bugs.debian.org.   Received: (at control) by bugs.debian.org; 19 Oct 1998 17:39:24 +0000 Received: (qmail 386 invoked from network); 19 Oct 1998 17:39:24 -0000 Received: from ss01.nc.us.ibm.com (HELO badlands.lexington.ibm.com) (32.97.136.231) by master.debian.org with SMTP; 19 Oct 1998 17:39:24 -0000 Received: (from cowboy@localhost) by badlands.lexington.ibm.com (8.9.1a/8.9.1/Debian/GNU) id NAA08102; Mon, 19 Oct 1998 13:03:52 -0400 Date: Mon, 19 Oct 1998 13:03:51 -0400 (EDT) From: Richard A Nelson To: control@bugs.debian.org Subject: Wishlist items (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII severity 10924 wishlist severity 15119 wishlist severity 23983 wishlist -- Rick Nelson