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

RE: Sendmail or DNS Problem?



On Mon, 27 Aug 2001, Chad Morgan wrote:

> Here is my sendmail.mc file.
>
> ####################
> divert(-1)
> #
> # Copyright (c) 1983 Eric P. Allman
> # Copyright (c) 1988, 1993
> #	The Regents of the University of California.  All rights reserved.
> #
> <snip>
> #
> # This file is used to configure sendmail for use with Debian systems.
> #
>
> divert(0)
> VERSIONID(`@(#)sendmail.mc	8.9.3-21 (Debian) 20000309')
> OSTYPE(debian)dnl
> LOCAL_CONFIG
> define(`SMART_HOST', `N')dnl

There you have the problem. SMART_HOST should be defined like this:
 define(`SMART_HOST', `mailer:hostname')
You told sendmail to send all it's mail to a host called N (sendmail did
convert it to a lowercase n however.

> FEATURE(always_add_domain)dnl
> Cwns.enhancetheweb.com
> FEATURE(use_cw_file)dnl
> FEATURE(use_ct_file)dnl
> FEATURE(nouucp)dnl
> MAILER_DEFINITIONS
> MAILER(local)dnl
> MAILER(smtp)dnl
>
> LOCAL_CONFIG
> MASQUERADE_AS(ns.enhancetheweb.com)dnl
> ## Custom configurations below (will be preserved)
> FEATURE(promiscuous_relay)
> #######################EOF

-- 
Tot ziens,

Bart-Jan



Reply to: