Click to See Complete Forum and Search --> : Slack 8 and Sendmailproblem


Nalle
09-11-2001, 02:27 AM
Now, this takes a bit of explaining.

I borrowed s sub-domain of eller.no, making my machine nalle.eller.no with a MX-record on eller.no's server. I have an ADSL conneciton.

There I had a mail service running with hostname nalle, and domain eller.no. That made sendmail automaticcaly accept the mail for nalle.eller.no. No configuring required, really.

I bought myself my own domain, nalle.no. My ISP is providing MX-records for nalle.no, together with a static IP-address (for a fee, I'm not _that_ lucky). Now my computers hostname (I _do_ need one) is nalle, and the domain is nalle.no. That makes sendmail accept mail for nalle.nalle.no, and _not_ nalle.no. I've got MX-records for nalle.no and there's none out there for nalle.nalle.no.

The result of that is that I'm no longer able to recieve mail. I can send, since I use my ISP's SMTP-server.

All the other services (ssh/ftp/http) are working perfectly for nalle.no.

Now for my question:
How do I configure my macine (sendmail or network setup, I suppose) to make sendmail accept mail for nalle.no?

This is a hard one, I think 'cos I've used quite a bit of time to figure it out before I came to you, and I'm not even close.

It even took a while till I'd figured out what the problem really was.


I'm hoping somone here can push me in the right direction.


</nalle>

bdg1983
09-11-2001, 06:46 AM
I'm in no way an expert in Sendmail though I have dabbled with it at work on AIX for a project I was working on.

Have you tried the faq's at www.sendmail.org? (http://www.sendmail.org?) I used the docs and faq's their quite often for the project.

Also, you may be able to specify your domain in sendmail.cf as

##################
# local info #
##################

Cwlocalhost
# file containing names of hosts for which we receive email
Fw/etc/mail/local-host-names

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.nalle.no

or further down in sendmail.cf there is 'DM' which is for who you masquerade as.

DMnalle.no

Try the first suggestion and also www.sendmail.org (http://www.sendmail.org) as one of them should help.