Re: Sendmail FC2

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

 



Jonathan Allen wrote:
If I have to start from scratch, what's the simplest sendmail.mc file I
could use that would just shuffle everything sideways - can I use the
'nullclient' mechanism ?

That would probably work, yes (I think).

The one I use for LAN clients on my work network is:

divert(-1)
dnl This is the sendmail macro config file. If you make changes to this file,
dnl you need the sendmail-cf rpm installed and then have to generate a
dnl new /etc/mail/sendmail.cf by running the following command:
dnl
dnl        m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')
VERSIONID(`intranet sendmail configuration 2.0 (07 May 2003)')dnl
OSTYPE(`linux')
MASQUERADE_AS(`mydomain.com')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`nouucp',`reject')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access.db')dnl
FEATURE(`mailertable',`hash /etc/mail/mailertable.db')dnl
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
define(`SMART_HOST',`smtp.mydomain.com')
define(`MAIL_HUB',`smtp.mydomain.com')
define(`confLOG_LEVEL',`13')dnl
define(`confCOPY_ERRORS_TO',`Postmaster')dnl
define(`confDEF_USER_ID',``8:12'')dnl
define(`confEIGHT_BIT_HANDLING',`mimify')dnl
define(`STATUS_FILE',`/etc/mail/statistics')dnl
define(`ALIAS_FILE',`/etc/mail/aliases')dnl
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')
MAILER(smtp)dnl
MAILER(procmail)dnl

You probably don't need access_db or mailertable, and Red Hat don't put aliases in /etc/mail so you won't need the ALIAS_FILE option either.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux