Bruce McAlister wrote:

> I have a small problem with a linux mail server. The configuration is as
> follows.
>       OS              Slackware 7.0
>       SMTP            Sendmail 8.9.3
>       PPP             PPPD 2.3.10
> 
> I have setup sendmail to queue remote mail (Thanx to Glynn Clements) this
> works extremely well. The hostname of the machine is mail.feltex.co.za but
> it masquerades as feltex.co.za, this too works extremely well. The problem I
> am havin is that when the client machines connect to send a local mail so to
> [EMAIL PROTECTED], the machine brings up the ppp0 interface, (I assume to
> do a domain lookup) and then only sends the mail locally. If a mail was sent
> remotly to [EMAIL PROTECTED], this situation does not arrise (bring up
> ppp0 interface and dial out) because of the queue remote and hold expensive
> options in sendmail. if i disable pppd then it will send locally without a
> problem and it will too still queue the remote messages. But as soon as i
> startup the pppd in demand mode it brings up the line whenever a mail is
> sent to a local user. Is there a way i can disable this, or let pppd know
> that feltex.co.za is the local machine. The rest of the configuration of the
> box seems to be ok. But for interests sake I have added the local network in
> the hosts.allow file ie ALL: 192.168.1.
> I have also allow relaying in the /etc/mail/relay-domains file to accept the
> local network. I assume it may either be in.identd who is try to do a lookup
> on the connecting host, or it is sendmail looking for the domain lookup for
> feltex.co.za. Please could someone help me here, it would be much
> appreciated.

I think that you need to determine exactly what is causing the link to
be brought up. If it is a DNS lookup, you need to determine what
domain is being queried. If the source and destination domains, and
the in-addr.arpa domain for the netblock, are served from the local
DNS server, it shouldn't be necessary to bring the PPP link up.

First, I would check that the local DNS is complete (both forward and
reverse mappings). If that doesn't show up anything obvious, run
tcpdump on the PPP link to see what's bringing it up.

-- 
Glynn Clements <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to