sendmail question
David Banning
david at skytracker.ca
Sat Mar 29 20:53:03 PST 2003
I am running a machine which is on a dynamic dns ppp connection.
The machines name is "optex", so when john mails david locally
sendmail sees it as john at optex sending to david at optex it seems.
Sendmail seems to have a problem with this, as the log states;
Mar 29 22:51:18 optex sendmail[55008]: My unqualified host name (optex) unknown; sleeping for retry
Whats the best way of dealing with this? I want to sendmail locally,
send mail out masquerading, but we don't need sendmail to receive
as the local users take off a pop server directly with their mail
clients.
Here is my *mc files;
freebsd.submit.mc
divert(0)dnl
VERSIONID(`$Id: submit.mc,v 8.6 2002/03/26 03:30:58 ca Exp $')
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
MASQUERADE_AS(`optexstaging.com')dnl
FEATURE(`msp', `[127.0.0.1]')dnl
dnl FEATURE(`msp')dnl
and optex.mc;
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.8 2001/03/06 02:12:59
gshapiro Exp $')
OSTYPE(bsd4.4)
DOMAIN(generic)
FEATURE(access_db, `hash -o /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(relay_based_on_MX)
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
define(`confCW_FILE', `-o /etc/mail/local-host-names')
define(`confMAX_MIME_HEADER_LENGTH', `256/128')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)
More information about the freebsd-questions
mailing list