OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: relay=none, can't send out
From: Daniel Woods (dwoodsucalgary.ca)
Date: Mon Oct 23 2000 - 15:02:23 CDT


> >> >Sep 21 02:19:19 24 postfix/smtp[17261]: ACB6E2F33: to=<dwoodsucalgary.ca>, relay=none,
> >> >delay=0, status=deferred (Name service error for domain ucalgary.ca: Host not found, try again)
> >>
> >> You seem to have DNS problems (I'd say).
> >
> >Someone else responded with this, but I don't believe that's the problem
> >since I can connect to that server, and anything else on the net.
> > # host -t MX ucalgary.ca
> >ucalgary.ca mail is handled (pri=10) by mailhost.ucalgary.ca
> >ucalgary.ca mail is handled (pri=0) by mailhub.ucalgary.ca
>
> Are you running any components of Postfix chrooted?? Check
> /etc/postfix/master.cf

No.

I had postfix working when I had used
(postfix set myhostname=11.22.33.44.isp.home.com from my /etc/HOSTNAME)
    # postconf -n
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mydestination = $myhostname, localhost.$mydomain, [11.22.33.44]
mydomain = $myhostname
mynetworks = 127.0.0.0/8 192.168.100.0/24
myorigin = $mydomain
queue_directory = /var/spool/postfix
virtual_maps = hash:/etc/postfix/virtual

The differences in my main.cf compared to original main.cf~ ...
    myorigin = $mydomain
    mydestination = $myhostname, localhost.$mydomain, [11.22.33.44]
    mynetworks = 127.0.0.0/8 192.168.1.0/24
    canonical_maps = hash:/etc/postfix/canonical
    virtual_maps = hash:/etc/postfix/virtual
    luser_relay = postmaster

This setup was working for myhostname=11.22.33.44.isp.home.com,
however 'nslookup 11.22.33.44' gives h11-22-33-44.cg.cableisp.net
Running host or ping on h11-22-33-44.cg.cableisp.net gives 11.22.33.44

The problem is that I only have one IP assigned by them and I have no
control of the DNS pointer. I set my /etc/HOSTNAME to welcome.com (made up)
and what to have mail sent out as userwelcome.com . Postfix set myhostname
to welcome.com, mydomain=myorigin=myhostname .
I thought I had this working, but now I can't send mail out (receiving to
welcome.com is ok). I get error message

Oct 23 13:50:20 welcome postfix/qmgr[31807]: E18222769: to=<dwoodsucalgary.ca>, relay=none,
delay=64160, status=deferred (Name service error for domain ucalgary.ca: Host not found, try again)

It does not matter what the destination host is. I believe that my DNS server setup
is correct for welcome.com (not a virtual host). I have A records for NS and MAIL pointing
to the same IP as welcome.com

Is this a problem with anti-spam (UCE) not getting back the proper reverse DNS info
it expects for welcome.com (it would get h11-22-33-44.cg.cableisp.net set by the ISP.
Is there a way for me to setup my DNS to have a pointer record (PTR) for my full IP ?

Help, how do I solve this (I've spent hours so far) ?

Thanks... Dan.