sendmail configuration

Chuck Swiger cswiger at mac.com
Tue Aug 5 13:14:17 PDT 2003


Hi, Kirk--

Kirk R. Wythers wrote:
[ ... ]
> 1. cp freebsd.mc neighborsunited.net.mc
> 2. emacs neighborsunited.net.mc and added the lines:
> 
> 	MASQUERADE_AS(`neighborsunited.net')dnl
> 	FEATURE(masquerade_envelope)dnl
> above the lines: 
> 	MAILER(local)
> 	MAILER(smtp)
> 3. make
> 4. make install-cf CF=neighborsunited.net
> 5. make restart
> 
> what am I messing up here?

Try using the following as your neighborsunited.net.mc file:

VERSIONID(`$FreeBSD: testing $')
OSTYPE(freebsd4)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(masquerade_envelope)dnl
MASQUERADE_AS(`neighborsunited.net')dnl

define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)

...and retry creating the .cf file by:

	make install-cf SENDMAIL_MC=neighborsunitied.net.mc

...and see whether that does any better.

-- 
-Chuck




More information about the freebsd-questions mailing list