Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2003 22:59:33 -0500
From:      David Banning <david@skytracker.ca>
To:        questions@freebsd.org
Subject:   sendmail question
Message-ID:  <20030329225933.A1775@skytrackercanada.com>

next in thread | raw e-mail | index | archive | help
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@optex sending to david@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030329225933.A1775>