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

DSN: Local configuration error

1,022 views
Skip to first unread message

Luciano Fabian

unread,
Dec 29, 2001, 8:02:36 PM12/29/01
to
Hi there,
Working on a little LAN (just few machines) I setted up DNS for the local
domain and sendmail 8.11.6 (RedHat). DNS server and sendmail are installed
on the same machine. The MX record of the zone netw.lo works well and points
to the mailserver (enigma.netw.lo) but, even if I configured correctly
/etc/mail/local-host-names the mail I sent to the domain ex: us...@netw.lo
gives me this kind of error (in the maillog):

Dec 29 16:55:56 enigma sendmail[2401]: fBTFtu902399: SYSERR(root): MX list
for netw.lo. points back to enigma.netw.lo
Dec 29 16:55:56 enigma sendmail[2401]: fBTFtu902399: to=<fab...@netw.lo>,
delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30695, relay=netw.lo.,
dsn=5.3.5, stat=Local configuration error
Dec 29 16:55:56 enigma sendmail[2401]: fBTFtu902399: fBTFtu902401: DSN:
Local configuration error
Dec 29 16:55:56 enigma sendmail[2401]: fBTFtu902401: to=<fab...@netw.lo>,
delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=60795, relay=netw.lo.,
dsn=5.3.5, stat=Local configuration error
Dec 29 16:55:56 enigma sendmail[2401]: fBTFtu902401: to=luciano,
delay=00:00:00, xdelay=00:00:00, mailer=local, pri=60795, dsn=2.0.0,
stat=Sent
Dec 29 16:55:56 enigma sendmail[2401]: fBTFtu902401: fBTFtuA02401: return to
sender: Local configuration error
Dec 29 16:55:56 enigma sendmail[2401]: fBTFtuA02401: to=luciano,
delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30895, dsn=2.0.0,
stat=Sent


The only way to solve this problem was to put at the end of the .mc file
this line:

Cwnetw.lo dnl

I don't find exaustive documentation about this Cw ... Can anybody help me
to understand the difference beetwen CW files (that don't works) and this
entry?

Here the mc file that I used finally that works correctly:

divert(-1)
include(`../m4/cf.m4')
VERSIONID(`lf setup for linux systems')dnl
OSTYPE(`linux')
define(`confDEF_USER_ID',``8:12'')dnl
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
define(`confTO_CONNECT', `1m')dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/mail/aliases')dnl
define(`STATUS_FILE', `/etc/mail/statistics')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confCW_FILE', `/etc/mail/local-host-names')dnl
define(`confCT_FILE', `/etc/mail/trusted-users')dnl
define(`confTO_QUEUEWARN', `2d')dnl
define(`confTO_QUEUERETURN', `7d')dnl
dnl FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
FEATURE(`accept_unresolvable_domains')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
Cwnetw.lo dnl


Thanks for every answer

Luciano Fabian

PS: Happy New Year to everybody

Leif Neland

unread,
Dec 29, 2001, 8:39:52 PM12/29/01
to

"Luciano Fabian" <fab...@netw.it> wrote in message
news:a0lqs0$mmn$1...@pegasus.tiscalinet.it...

> Hi there,
> Working on a little LAN (just few machines) I setted up DNS for the local
> domain and sendmail 8.11.6 (RedHat). DNS server and sendmail are installed
> on the same machine. The MX record of the zone netw.lo works well and
points
> to the mailserver (enigma.netw.lo) but, even if I configured correctly
> /etc/mail/local-host-names the mail I sent to the domain ex: us...@netw.lo
> gives me this kind of error (in the maillog):
>
> Dec 29 16:55:56 enigma sendmail[2401]: fBTFtu902399: SYSERR(root): MX list
> for netw.lo. points back to enigma.netw.lo

local-host-names file should do the same as Cwdom.ain in sendmail.mc

Did your local-host-names end with a newline-character?

Sometimes configfiles doesn't work properly if the last line does not end
with a \n.

Leif

0 new messages