#15119 sendmail: config misses interesting features

#15119#5
Date:
1997-11-21 22:10:22 UTC
From:
To:
Most of these points are related to configuring sendmail for a
transient dialup inet connection. All of these come from guidelines
from Jean Charles Delepine <delepine@lan.univ-lyon1.fr>.

First of all, the MASQUERADE_AS(whatever) macro should not by
systematically used. Hence the fact I do not apply "Severity:
wishlist" to this report. As far as my tries can tell, it definitely
should let the user select NOT to insert this macro.

Maybe support for "define(`confDOMAIN_NAME',whatever)" should be the
alternative ?  Note that I'm far from being a specialist...

Then support for the following things should be provided:

* generic tables, to allow rewriting From: header fields:

====cut
# domains to be influenced by generictables
# here nowhere.earth is the foo domain I use on my machine
GENERICS_DOMAIN(nowhere.earth)dnl

# use this file to hold generictable
FEATURE(genericstable,``hash -N /etc/revaliases'')dnl
====cut

with /etc/revaliases containing eg.:

====cut
dwitch:  Yann Dirson <ydirson@a2points.com>
nat:  Nathalie Mohr <ydirson@a2points.com>
====cut

Then a command similar to the following should have to be added to
sendmailconfig to refresh the .db file:

	/usr/sbin/sendmail -bi -oA/etc/revaliases


* specify SMTP as an expensive thing: only send messages explicitely
with "sendmail -q" (maybe from ppp/ip-up):

====cut
# What's expensive must wait an explicit 'sendmail -q'
define(`confCON_EXPENSIVE',`True')dnl

# SMTP is expensive
define(`SMTP_MAILER_FLAGS', `e')dnl
====cut


* I don't know what's the default, but (if not already done) it could
be interesting to send 8bit; anyway I think we should allow the user
to chose the local encoding; I use:

====cut
# Talk 8bit with everyone
define(`confSMTP_MAILER',`smtp8')dnl

# Tell them hom to decode our 8bit
define(`confDEF_CHAR_SET', `ISO-8859-1')dnl
====cut

#15119#10
Date:
1997-11-25 07:13:03 UTC
From:
To:
Le Fri, Nov 21, 1997 at 11:10:22PM +0100, Yann Dirson s'est exclamé :

:)
Instructions elles même fortement inspirées du Guide du Rootard...

Cela nécéssite de connaître le nom de la machine connectée au moment de
faire le .cf... ce n'est pas le cas lors d'une attribution dynamique des
IP...

#15119#15
Date:
1997-12-04 19:08:08 UTC
From:
To:
Here's a patch that solves some issues raised by myself under this
bug-number. Namely:

  - added support for genericstable

  - allow not to use MASQUERADE_AS [I found I need this for proper
generictable operation]

  - allow to define SMTP as expensive [was impossible before, as these
macros need to be placed BEFORE "MAILER(smtp)"]