Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Mon Mar 21, 2005 6:25 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
The problem with SPEWS has been around since the second half of 2003 - at least. SPEWS was very poorly run - they had a policy of blocking a service provider's entire address space if that provider failed to resolve a problem involving a single IP on SPEWS' terms. They did this to both The Planet and Hurricane Electric, caker took it up with them, nothing ever got resolved. Bottom line - if your correspondents have an ISP who uses SPEWS then they need a new ISP.

_________________
/ Peter


Top
   
 Post subject: Re: email
PostPosted: Thu Mar 24, 2005 1:17 pm 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
sednet wrote:
pmmenneg,

Can you post the section of your maillog that shows your mail being rejected?

That will give us more clue what is going on.


OK, more information. dig returns a valid reverse dns, so that looks to be working. No blocking taking place, so that is cool.

<p>I did find something in the mail log for every single user@aol.com message:

Code:
Mar 23 15:15:38 localhost postfix/smtp[5071]: 0CF3417575: to=<user@aol.com>, relay=mailin-04.mx.aol.com[64.12.137.184], delay=6, status=bounced (host mailin-04.mx.aol.com[64.12.137.184] said: 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE)


Any ideas? It looks like it is saying that it couldn't resolve the name, but my IP address does resolve back to mydomain.com. Could it be that mail is being sent by Postfix from mail.mydomain.com? (it appears like this in the log)

I have another entry that might indicate this...

Code:
Mar 21 18:39:09 localhost postfix/smtp[950]: E78591758D: to=<user@cox.net>, relay=mx.east.cox.net[68.1.17.3], delay=9, status=bounced (host mx.east.cox.net[68.1.17.3] said: 553 mail.mydomain.com does not exist)


I am not sure where postfix got the mail.mydomain.com from... any suggestions? Does this look like it could be the problem? I am using zoneedit to do dns routing for my domain. Do I need to add a mail.mydomain.com CNAME entry to handle and resolve this?

Thanks again everyone, you have been extrememly helpful.


Top
   
 Post subject:
PostPosted: Thu Mar 24, 2005 1:37 pm 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
mydomain.com is one of the examples in the default postfix files.

Take a look through main.conf, you will probably find it in there, update it to the correct domain.

Adam


Top
   
 Post subject:
PostPosted: Thu Mar 24, 2005 5:40 pm 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
adamgent wrote:
mydomain.com is one of the examples in the default postfix files.

Take a look through main.conf, you will probably find it in there, update it to the correct domain.

Adam


It is he correct domain... I was using mydomain.com in place of my real domain, as I didn't want to spam my domain here looking for attention.

<p>Anyone else know why mail. is getting appended to my outgoing mail?


Top
   
 Post subject:
PostPosted: Thu Mar 24, 2005 6:11 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Check the output of:
Code:
postconf | grep '^myhostname\|^smtp_helo_name'

Parameter myhostname defaults to the value obtained from the gethostname() function (the value in /etc/hostname dot concatenated with the value in /etc/dnsdomainname, on most systems).

Parameter smtp_helo_name defaults to the same as myhostname.

Whatever names you have for these two parameters need to be resolvable in the DNS.

_________________
/ Peter


Top
   
 Post subject: Success!
PostPosted: Sat Mar 26, 2005 3:44 am 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
It was an improperly configured dns. I added mail.mydomain.com as a CNAME and it cleared the problem right up (mail.mydomain.com was being rejected when the receiving server could not resolve it...)

Thanks everyone!


Top
   
 Post subject: CNAME
PostPosted: Sat Mar 26, 2005 2:35 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
Don't use CNAMES for mail servers. Use A records.

The RFC's say use A records and if you don't some mailers
will not exchange mail with you.


Top
   
 Post subject:
PostPosted: Wed Mar 30, 2005 11:54 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 12:35 am
Posts: 118
Website: http://www.necrobones.com/
Location: Sterling, VA
Yep, a good rule of thumb is that anything that goes in the "header" portion of your zone (that is, MX, NS, etc) should never point to a CNAME. Only A records. It's amazing how much wierdness and breakage it can cause in seemingly unrelated areas.

_________________
----
Ed/Bones.


Top
   
 Post subject:
PostPosted: Wed Mar 30, 2005 1:07 pm 
Offline
Senior Member

Joined: Sun Nov 14, 2004 6:37 pm
Posts: 138
Website: http://oldos.org
WLM: jasonlfaulkner@hotmail.com
Yahoo Messenger: jasonfncsu
AOL: jaylfaulkner
Location: NC, USA
Or, you can use A records for everything, like me.

Never heard a good argument as to why not.

_________________
Jay Faulkner
http://oldos.org


Top
   
 Post subject: CNAMES
PostPosted: Wed Mar 30, 2005 3:18 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
Jay wrote:
Or, you can use A records for everything, like me.

Never heard a good argument as to why not.


Ok, I can't resist.

Suppose you have a web server that serves a large number of websites on the same IP. They are different sites for different people. You need to change the IP of your server for whatever reason.

If you use A records only you have to make a lot of dns changes to fix this.

Anyone can write a one liner to change a hundred instances of <OLD IP> to <NEW IP>,
increment the serial, HUP named, and your done.

If you have a hundred DNS zone files you can write a little loop to do the same thing to each file.

But, what if you don't control all the zonefiles. What if you need to email or phone a hundred different people to get the changes made to their zonefiles. In that case using CNAMES would save you quite a lot of time.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group