[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#10924: marked as done (sendmail: suggestion for sendmail.mc configuration)



Your message dated Tue, 03 Jun 2025 12:13:47 +0000
with message-id <af21d83e87dfa9a1ce4c3835a24d10e7@posteo.de>
and subject line close as to old and no action taken
has caused the Debian Bug report #10924,
regarding sendmail: suggestion for sendmail.mc configuration
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
10924: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=10924
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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', `<mail server hostname>')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


--- End Message ---
--- Begin Message --- Closing this ticket because it is out-dated and there was no activity. No activity means also no interest from maintainer nor the reporter. The package
might be not actively maintained anymore.

This happens in interest of Debian GNU/Linux project because it harms the project keeping tickets of that age open without any activity, decision or
action taken.

Feel free to re-open or open a fresh report.

--- End Message ---

Reply to: