Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

local-host-names seems to be ignored

3 views
Skip to first unread message

Ronald Klip

unread,
Dec 5, 2005, 9:33:57 AM12/5/05
to
Hi,

I'm trying to run sendmail 8.13.4 on Debian 3.1. Somehow it ignores the
domains listed in /etc/mail/local-host-names, like this:

server1010.my-isp.tld
mail.mydomain.tld
www.mydomain.tld
mydomain.tld

When I run sendmail -bt, $=w , none of the mydomains is listed. What
could be wrong? I checked cfhead.m4 , and the line that should include
local-host-names is there allright.

I guess that is what causes the "550 Relaying denied" I get when I
telnet into port 25 of mydomain.tld and run
rcpt to: existi...@mydomain.tld

Any help would be appreciated.

--
Ronald

Andrzej Adam Filip

unread,
Dec 5, 2005, 9:44:26 AM12/5/05
to

What is reported by the command below:
grep '^[FC]w' /etc/mail/sendmail.cf

[ Is /etc/mail/local-host-namedefined in your sendmail.cf? ]
[ Standard "warm up" test before investigating more sinister things ]

--
[en: Andrew] Andrzej Adam Filip : an...@priv.onet.pl : an...@xl.wp.pl
http://www.sendmail.org/faq/ http://www.sendmail.org/m4/readme.html
http://anfi.homeunix.net/sendmail/ Netcraft Site Rank: 495878

Ronald Klip

unread,
Dec 5, 2005, 10:04:38 AM12/5/05
to
Andrzej Adam Filip writes:
> Ronald Klip <nie...@contentecontent.invalid> writes:
> > I'm trying to run sendmail 8.13.4 on Debian 3.1. Somehow it ignores the
> > domains listed in /etc/mail/local-host-names, like this:
> >
> > server1010.my-isp.tld
> > mail.mydomain.tld
> > www.mydomain.tld
> > mydomain.tld
> >
> > When I run sendmail -bt, $=w , none of the mydomains is listed. What
> > could be wrong? I checked cfhead.m4 , and the line that should include
> > local-host-names is there allright.
> >
> What is reported by the command below:
> grep '^[FC]w' /etc/mail/sendmail.cf

Cwlocalhost



> [ Is /etc/mail/local-host-namedefined in your sendmail.cf? ]

Nope. It should be, I guess, as it is defined in cfhead.m4, which is
included by /usr/share/sendmail/cf/m4/cf.m4, which is included by
/etc/mail/sendmail.mc, which is parsed by sendmailconfig .

> [ Standard "warm up" test before investigating more sinister things ]

I'm ready ;) This is the first time I'm setting up sendmail, so please
bear with me...

--
Ronald

Andrzej Adam Filip

unread,
Dec 5, 2005, 10:13:43 AM12/5/05
to
Ronald Klip <nie...@contentecontent.invalid> writes:

Do you have FEATURE(use_cw_file) in your *.mc file?
http://www.sendmail.org/m4/features.html#use_cw_file

Ronald Klip

unread,
Dec 5, 2005, 10:38:21 AM12/5/05
to
Andrzej Adam Filip writes:
> > > Ronald Klip <nie...@contentecontent.invalid> writes:
> > > >
> > > > When I run sendmail -bt, $=w , none of the mydomains is listed. What
> > > > could be wrong? I checked cfhead.m4 , and the line that should include
> > > > local-host-names is there allright.

[snip]


> Do you have FEATURE(use_cw_file) in your *.mc file?
> http://www.sendmail.org/m4/features.html#use_cw_file

That sounds very rational, but no I don't have it... but now I do and
that really helps! My domains show up with $=w and 'rcpt to:
us...@domain.tld' returns 'Recipient ok'.

Thank you Andrzej!

--
Ronald

0 new messages