Subject: Re: sendmail 8.10.12 config'd properly at install from pkgsrc?
To: None <netbsd-users@NetBSD.org>
From: Brian <bmcewen@comcast.net>
List: netbsd-users
Date: 01/21/2004 19:40:04
On Wednesday, January 21, 2004, at 02:03 PM, Cliff Wright wrote:

> Sendmail has changed the default to now not listen for external mail. 
> typicaly a line like the following will appear in sendmail.cf:
> O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
> Just comment this out.
> Or to use the sendmail.mc file I usually add the follwoing line right 
> before the first include
> define(`_CF_DIR_', `/usr/pkg/share/sendmail/')dnl
> (may also need to add a divert(0) before this). Then just comment out 
> (using dnl) the DAEMON_OPTIONS line restricting input to address 
> 127.0.0.1.
>
>

Thanks Cliff for the reply.

Searching my sendmail.cf, the only place where 127.0.0.1 is listed in 
this file is here:

# handle case of @localhost on address
R<@> < $* @ localhost > $: < ? $&{client_name} > < $1 @ localhost >
R<@> < $* @ [127.0.0.1] >
                         $: < ? $&{client_name} > < $1 @ [127.0.0.1] >
R<@> < $* @ localhost.$m >
                         $: < ? $&{client_name} > < $1 @ localhost.$m >
R<@> < $* @ localhost.UUCP >
                         $: < ? $&{client_name} > < $1 @ localhost.UUCP >
R<@> $*                 $: $1                   no localhost as domain
R<? $=w> $*             $: $2                   local client: ok
R<? $+> <$+>            $#error $@ 5.5.4 $: "553 Real domain name 
required for sender address"
R<?> $*                 $: $1
R$*                     $: <?> $>CanonAddr $1           canonify sender 
address and mark it
R<?> $* < @ $+ . >      <?> $1 < @ $2 >                 strip trailing 
dots
# handle non-DNS hostnames (*.bitnet, *

which doesn't seem like something I wish to comment completely out.  Or 
is it??

There is no sendmail.mc installed (or present in the /pkgsrc/files) if 
using the pkgsrc install (I  just updated the datafile for locate, 
nothing is found on my entire volume).  There is a netbsd-proto.mc 
which ch 13 of the user guide (see last post) mentions can be run thru 
m4 to generate a sendmail.cf but it will not parse in m4, at least for 
me.

I won't give up until the weekend but Sat I try postfix, I guess.

Thanks,

Brian