On Mon, Jul 13, 2009 at 11:10:18AM +0200, Benny Pedersen wrote: > > On Mon, July 13, 2009 10:30, Keld Jørn Simonsen wrote: > > Hi > > > > I have a few problems with my changed postfix configuration, maybe > > somebody could help me? > > > > I am using fetchmail in cooperation with postfix, and I repededly get > > the following error: > > > > fetchmail: SMTP error: 450 4.1.8 <onfnp...@ezbck.parteitv.com>: Sender > > address rejected: Domain not found > > reading message k...@sia.dkuug.dk:2 of 4 (950 header octets) not flushed > > http://moensted.dk/spam/?addr=ezbck.ParteiTv.com&Submit=Submit
Yes, it is spam. > you got the email from a diff ip ? I am getting it via fetchmail from one of my mail servers, the one at sia.dkuug.dk > unknown domain is here sia.dkuug.dk Why is it not ezbck.ParteiTv.com ? fetchmail reports: "onfnp...@ezbck.parteitv.com>: Sender address rejected: Domain not found" > so > dig sia.dkuug.d A > or > dig sia.dkuug.dk MX > > it exists ? Yes, the A record exists (in the .dk domain, you missed the "k" there), but MX sia.dkuug.dk does not exist. Should it? There is a MX for dkuug.dk > > When I query my nameserver everything resolves fine. > > maybe wrong nameserver or bad config ? Hmm, I think postfix on my system uses the nameservers as recorded in /etc/resolv.conf? So it is the same nameserver set. > > So that is one problem, why does postfix say Domain not found? > > becurse its not found in a A rr, or MX rr The A RR of sia.dkuug.dk is found. I get most of my mail from that server. > > Another problem is the 450 response. I would like it to be 550. > > > > 450 indicates a temporary dns error, and I have set > > unknown_address_reject_code = 550 > > this is imho full email as recipient that does not exists not just the > recipient domain > > > Can I change some respons code for the temporary dns error so to check > > on the mail fails on this? > > better use mda in fetchmail if you get so much problems with postfix :) > > > How could I best debug the communication between postfix and my named? > > rndc querylog > > see logs what happend now my named log says: 13-Jul-2009 12:52:25.615 client 127.0.0.1#33692: query: mail.dkuug.dk IN A + 13-Jul-2009 12:52:25.833 client 127.0.0.1#33692: query: ezbck.ParteiTv.com IN MX + 13-Jul-2009 12:52:25.833 client 127.0.0.1#33692: query: ezbck.ParteiTv.com IN MX + 13-Jul-2009 12:52:25.834 client 127.0.0.1#33692: query: ezbck.parteitv.com IN MX + 13-Jul-2009 12:52:25.834 client 127.0.0.1#33692: query: ezbck.parteitv.com IN MX + 13-Jul-2009 12:52:25.835 client 127.0.0.1#33692: query: ezbck.parteitv.com IN A + 13-Jul-2009 12:52:25.835 client 127.0.0.1#33692: query: ezbck.parteitv.com IN A + 13-Jul-2009 12:52:25.835 client 127.0.0.1#33692: query: ezbck.parteitv.com IN AAAA + 13-Jul-2009 12:52:25.837 client 127.0.0.1#33692: query: ezbck.parteitv.com IN AAAA + So it finds bot an A and an MX record for ezbck.ParteiTv.com - why does fetchmail/my postfix (SMTP) then say: "onfnp...@ezbck.parteitv.com>: Sender address rejected: Domain not found" Best regards keld