tips:linux:sendmailcfg
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | tips:linux:sendmailcfg [2009/06/08 15:27] (current) – created erik | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== How to create a sendmail configuration file? ====== | ||
+ | Create thauvin.mc in ''/ | ||
+ | |||
+ | < | ||
+ | undefine(`ALIAS_FILE' | ||
+ | include(`../ | ||
+ | VERSIONID(`$Id$' | ||
+ | |||
+ | MASQUERADE_AS(thauvin.net)dnl | ||
+ | FEATURE(smrsh, | ||
+ | FEATURE(`nouucp', | ||
+ | FEATURE(allmasquerade)dnl | ||
+ | FEATURE(masquerade_envelope)dnl | ||
+ | FEATURE(`access_db', | ||
+ | FEATURE(`delay_checks' | ||
+ | OSTYPE(linux)dnl | ||
+ | DOMAIN(thauvin)dnl | ||
+ | |||
+ | define(`LOCAL_RELAY', | ||
+ | define(`MAIL_HUB', | ||
+ | define(`confCOPY_ERRORS_TO', | ||
+ | define(`confMAX_HOP', | ||
+ | define(`confQUEUE_LA', | ||
+ | define(`confREFUSE_LA', | ||
+ | define(`confDEF_USER_ID', | ||
+ | define(`confMAX_MESSAGE_SIZE', | ||
+ | define(`confTIME_ZONE', | ||
+ | define(`confHOSTS_FILE', | ||
+ | define(`confSAFE_QUEUE', | ||
+ | define(`confCHECKPOINT_INTERVAL', | ||
+ | define(`confSAVE_FROM_LINES', | ||
+ | define(`confMATCH_GECOS', | ||
+ | define(`confFORWARD_PATH', | ||
+ | define(`confCHECK_ALIASES', | ||
+ | define(`confPRIVACY_FLAGS', | ||
+ | </ | ||
+ | |||
+ | Create thauvin.m4 in ''/ | ||
+ | |||
+ | < | ||
+ | divert(0) | ||
+ | VERSIONID(`$Id$' | ||
+ | define(`BITNET_RELAY', | ||
+ | define(`LOCAL_RELAY', | ||
+ | FEATURE(redirect)dnl | ||
+ | FEATURE(use_cw_file)dnl | ||
+ | FEATURE(always_add_domain)dnl | ||
+ | MAILER(`local' | ||
+ | MAILER(`smtp' | ||
+ | </ | ||
+ | |||
+ | In ''/ | ||
+ | |||
+ | m4 thauvin.mc >! / |
tips/linux/sendmailcfg.txt · Last modified: 2009/06/08 15:27 by erik