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

Re: Sendmail redirects all *local* mail to domain MX ?????

On Mon, 13 Jan 1997, Perry Piplani wrote:

> I just installed debian in one of my boxes (from slakware) and noticed a
> problem. All local mail on the system and all mail from outside address to
> user@thishost.mydom.com is being re-addressed by sendmail to the main MX for
> may domain.  
> I want mail specifically addressed to user@thishost.mydom.com to be
> delivered to thishost.mydom.com *not* mxhost.mydom.com. That's how it worked
> on slackware.

A guess, and let me reiterate that it is just a guess, would be that
sendmail on the local machine has one (or both) of these configuration

1) It has been set up to forward all mail to a mailhub (Null client).

2) It doesn't recognize thishost as its host name.

For #1, look for options in the sendmail.cf such as:

DS (smart relay host)  -or-
DH (hub host) (to which all mail is sent) -or-
DH (who gets all local email traffic).

For #2, double check that /etc/hostname is the same as a reverse DNS lokup
on the IP address of the machine.  

I'm a bit surprised that mx.mydom.com accepts your mail, as
/etc/mail/sendmail.cw (in the debian implementation, was formerly in
sendmail.cf as CW) must contain thishost.mydom.com.  Unless of course that
you are sending to user@mydom.com and wanting it to be delivered locally,
in which case you need to add mydom.com to the /etc/mail/sendmail.cw.

Let me know if any of this makes sense, let alone fixes the problem.

Peter J. Templin, Jr.                   Client Services Analyst
Computer & Communication Services       tel: (717) 524-1590
Bucknell University			templin@bucknell.edu

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: