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