Tricks to get sendmail to install?
Thomas Glanzmann
sithglan at stud.uni-erlangen.de
Fri Feb 7 14:19:47 CET 2003
> Just wondering how other people deal with it.
First of all I suggest to get the sources of the sendmail package out of unstable
and compile it under woody(stable). The woody package is broken.
I use the following sendmail.conf, sendmail.mc and submit.mc file and run
/usr/share/sendmail/update_sendmail via cfengine.
I also provide some files to generate ssl certificates without prompting (have a
look at the scripts located in /usr/share/sendmail for details).
Our sendmail does not listen on port 25 and delivers all eMail to our central
mailhub 131.188.30.103 also known as cipmail.informatik.uni-erlangen.de. The
substitutes all mail addresses with generic, university wide eMail addresses.
sithglan at faui03.informatik.uni-erlangen.de would become
sithglan at stud.uni-erlangen.de.
(ROOTfaui05) [/var/cfengine/distributed] cat linux/etc/mail/sendmail.conf | egrep -v '^#'
DAEMON_MODE="none";
DAEMON_PARMS="";
DAEMON_HOSTSTATS="Yes";
DAEMON_MAILSTATS="No";
QUEUE_MODE="none";
QUEUE_INTERVAL="10";
QUEUE_PARMS="";
MSP_MODE="daemon";
MSP_INTERVAL="${QUEUE_INTERVAL}";
MSP_PARMS="${QUEUE_PARMS}";
MSP_MAILSTATS="No";
MISC_PARMS="";
CRON_MAILTO="root";
CRON_PARMS="";
AGE_DATA="";
DAEMON_STATS="${DAEMON_MAILSTATS}";
MSP_STATS="${MSP_MAILSTATS}";
(ROOTfaui05) [/var/cfengine/inputs] cat ../distributed/linux/etc/mail/sendmail.mc | egrep -v '^#'
divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.12.3-4 2002-04-15 17:35:56 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
dnl #
dnl # General defines
dnl #
dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot()
dnl # into this directory before writing files.
dnl # If *all* your user accounts are under /home then use that
dnl # instead - it will prevent any writes outside of /home !
dnl # define(`confSAFE_FILE_ENV', `')dnl
LOCAL_CONFIG
FEATURE(`nullclient', cipmail.informatik.uni-erlangen.de)dnl
LOCAL_CONFIG
MASQUERADE_AS(cip.informatik.uni-erlangen.de)dnl
(ROOTfaui05) [/var/cfengine/inputs] cat ../distributed/linux/etc/mail/submit.mc|
egrep -v '^#'
divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: submit.mc, v 8.12.3-4 2002-04-15 17:35:56 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-msp')dnl
dnl #
dnl #---------------------------------------------------------------------
dnl # Masquerading information, if needed, should go here
dnl # You likely will not need this, as the MTA will do it
dnl #---------------------------------------------------------------------
dnl MASQUERADE_AS()dnl
dnl FEATURE(`masquerade_envelope')dnl
dnl #
dnl #---------------------------------------------------------------------
dnl # The real reason we're here: the FEATURE(msp)
dnl #---------------------------------------------------------------------
FEATURE(`msp', `[131.188.30.103]', `MSA')dnl
dnl #
dnl #---------------------------------------------------------------------
dnl # Some minor cleanup from FEATURE(msp)
dnl #---------------------------------------------------------------------
dnl #
Greetings,
Thomas
--
Thomas Glanzmann ++49 (0) 9131 85-28725 Department of Computer Science IV
Martensstrasse 1 D-91058 Erlangen Germany University of Erlangen-Nuremberg
http://wwwcip.informatik.uni-erlangen.de/CIP/
More information about the linux-fai
mailing list