#10924 sendmail: suggestion for sendmail.mc configuration

#10924#5
Date:
1997-06-29 18:02:20 UTC
From:
To:
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

#10924#12
Date:
2025-06-03 12:13:47 UTC
From:
To:
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.