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