Slashdot Mirror


Classed as Spam by Large-Scale Free Email Servers?

bartle asks: "I run my own personal domain that serves all of my email needs of myself and a few friends. In general this has worked out pretty well but there's a fairly significant limitation: if I send an email to a Hotmail or Yahoo account that I've never contacted before it tends to get filed as spam. This means that if I'm writing someone out of the blue I need to send an email from a free service which kind of defeats the purpose of running ones own email server. My domain has a SPF record, the IP resolves, and it doesn't appear to be on any blacklists. I can not find any documentation on what hoops I need to jump through before Hotmail and Yahoo will consider my mail legitimate. I understand that there's a general paranoia about publishing information that could assist spammers but this attitude seems to be leaving do-it-yourselfers out in the cold. Does anybody have any ideas? Are there guidelines or protocols I can follow to make my email non-spam?"

86 comments

  1. I've run 2 ISP's, starting my third... by numbski · · Score: 3, Informative

    You're on a dynamic IP address, aren't you?

    Most major mail provider bl dynamic IP's. The way around this is to smarthost against a known, static-IP mail server. In short, smarthost outbound mail. Inbound mail is fine, and you'll be all fixed up.

    Not flaming you, but any good smtp faq or mailing list would have told you this, and Sendmail's FAQ answered it for me 3 years ago. :\

    Just wondering how we get to an ask slashdot from a simple mail administration question. Google really *would* have answered this.

    I know, I know, I'm new here. Next meme. :P

    --

    Karma: Chameleon (mostly due to the fact that you come and go).

    1. Re:I've run 2 ISP's, starting my third... by bartle · · Score: 4, Insightful
      I don't understand why everyone assumes that anyone who Asks Slashdot is an idiot. I have a static IP and as I said, I'm not on any RBLs that I can find.

      My email address is listed in the post. I would think that anyone who would bother to reply might also be bothered to do a little probing of their own to see if their reply has merit.

    2. Re:I've run 2 ISP's, starting my third... by alienw · · Score: 4, Informative

      $ host chrisbartle.com
      chrisbartle.com has address 216.17.137.189

      $ host 216.17.137.189
      189.137.17.216.in-addr.arpa domain name pointer bartle189.dsl.frii.net.

      It may not be a static IP, but it's obviously an end-user address, and free services aren't too picky about who they block. I bet anything that has .dsl. in the reverse DNS is blocked.

    3. Re:I've run 2 ISP's, starting my third... by jpkunst · · Score: 5, Insightful

      Google really *would* have answered this.

      Certainly. But the point of Ask Slashdot is that now others can read the answers too and learn something new, even if they were not searching for an answer to that particular problem at the time.

      These "Just Google it" replies really miss the point, IMHO.

      JP

    4. Re:I've run 2 ISP's, starting my third... by madstork2000 · · Score: 2, Interesting

      Is it a static IP address that is from a "consumer" provider, i.e. did you pay extra for a static comcast address?

      I believe that in those cases the reverse lookup of the IP address would either not resolve or would resovle to a generic name on your ISPs block, as opposed to resolving to your mail servers actual hostname (the host name identified in the messages headers. My understanding is that this is typically done as part of the HELO check).

      In my experience having an IP address reverse resolve is one of the most critical components, especially when dealing with AOL. I have not had as much trouble with yahoo/hotmail.

      -MS2k

    5. Re:I've run 2 ISP's, starting my third... by sofar · · Score: 1

      not really, his IP is not listed in any important blocks according to openrbl. Mail should get out normally ... unless there's something fisy with his domain name... but the IP itself looks perfectly fine for SMTP usage.

    6. Re:I've run 2 ISP's, starting my third... by Fudge.Org · · Score: 1

      Yes really. This host would likely be sent packing since it has generic rDNS. RBL's typically include IP ranges. The generic rDNS technique relies upon regexp to determine the trust/reputation of never seen incoming connections. A typical regexp might be things like xxx-xxx-xxx-xxx.dsl.lazyispdnsadmins.net. Then based on other factors later within the SMTP transaction, it may or may not be sent packing (or flagged as greymail).

      --
      http://fudge.org
    7. Re:I've run 2 ISP's, starting my third... by WebCrapper · · Score: 1

      Exactly what I was thinking.

      I use to work with Earthlink and even though people would purchase a "static" address, it was still technically not a true static address. If you're purchasing the address from an ISP, thats why you're having problems. If you read the contract, they can technically change the address anytime they wish. Earthlink would usually rotate about every 4-6 months.

    8. Re:I've run 2 ISP's, starting my third... by speleo · · Score: 1

      Some ISPs are starting to block mail if the forward and reverse DNS for the sending mail server don't match exactly.

    9. Re:I've run 2 ISP's, starting my third... by milkman_matt · · Score: 2, Insightful

      Certainly. But the point of Ask Slashdot is that now others can read the answers too and learn something new, even if they were not searching for an answer to that particular problem at the time.

      Exactly, great response. I was thinking of taking my systems which are currently hosted at a colo several miles away and putting them in my office here, which is hosted off of cable (was thinking of moving to DSL possibly) and now I know that if I do move my systems, I may begin to encounter problems sending to free mail systems, and I'll know how to handle the situation if it does happen.

      Ask Slashdot often brings up interesting questions that are not always terribly important, but interesting nonetheless, and helpful sometimes to several people who may be dealing with the same issue at the same time, or may be in the future.

    10. Re:I've run 2 ISP's, starting my third... by erth64net · · Score: 1

      What about those whom:
        1) Dont trust the reliabilty of their ISP's SMTP services
        2) Would perfer to communicate directly with external SMTP servers
        3) Dont have other broadband options/providers
        4) On a static IP which is listed in a large DUL block
        5) Are on a tight budget

    11. Re:I've run 2 ISP's, starting my third... by SpaceLifeForm · · Score: 1
      The two host commands tell the story.

      His e-mail going out says its from christbartle.com, but the e-mail servers upstream are trying to prevent spam, and are doing a reverse DNS lookup which returns bartle189.dsl.frii.net which does not match chrisbartle.com .

      They think you are a spammer.

      Your ISP is not managing DNS properly for your domain.

      Talk to your ISP. Good Luck.

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
    12. Re:I've run 2 ISP's, starting my third... by jannesha · · Score: 1

      These "Just Google it" replies really miss the point, IMHO.

      Speaking of missing the point - you failed to note that the parent also provided a thoughtful solution (i.e. hand the mail off to your ISP's SMTP server and stop trying to deliver it directly).

    13. Re:I've run 2 ISP's, starting my third... by rthille · · Score: 1

      Not necessarily. I've got a static from sonic.net, (block of 4 actually) and it/they haven't changed since I subscribed. I can also get them to delegate the reverse-dns, but I haven't got around to doing that in 2 years because I (don't seem to) have the problem he's reporting.

      --
      Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
    14. Re:I've run 2 ISP's, starting my third... by sofar · · Score: 1

      sorry, but if his SMTP uses his proper name (the xxx-xxx-xxx-xxx.dsl.lazyispdnsadmins.net one) in his HELO then there is nothing wrong with that!

      1) his DNS says that the MX is chrisbartle.com
      2) his MX has A which is 216.17.137.189
      3) 216.17.137.189 resolves reverseley to bartle189.dsl.frii.net
      4) bartle189.dsl.frii.net resolves forward to 216.17.137.189

      this is exactly how it should be, according to the book

      Now the only thing we don't know is how his mailserver is setup, and whether he passes the right HELO/EHLO conversation.

    15. Re:I've run 2 ISP's, starting my third... by Fudge.Org · · Score: 1

      > sorry, but if his SMTP uses his proper name (the xxx-xxx-xxx-xxx.dsl.lazyispdnsadmins.net one) in his HELO then there is nothing wrong with that!

      Whoa. How did we get into a discussion of 'right' vs. 'wrong'. I was merely describing how a RBL might -not- be the case here.

      Also, after later reflection, how would we know it's not a private label RBL like spamikaze, etc...

      > this is exactly how it should be, according to the book

      What book would that be exactly?

      The point is that his IP reflects a regexp and it is highly likely that the far end MTA or edge MX handler will tell it to piss off, try back later, or limit incoming connections.

      Hey, I used to run my mail servers on cable modems and dsl lines too... but it got to the point where using smarthosting was the only way to guarantee -anything- would ever be accepted by other MTAs that were run by people tired of dynamic and even static generic named hosts trying to pump UCE/etc.. into the network.

      Again, the point is, with a name like that -- it's no wonder it would be blocked.

      --
      http://fudge.org
    16. Re:I've run 2 ISP's, starting my third... by walt-sjc · · Score: 1

      If you look at the logs from any fairly high-volume mail server, you will find that it's quite normal for the HELO argument to have nothing at all to do with the domain forward or reverse in non-spam mail. It's so common that anyone that did super strict checks would probably be blocking mail from 20% of the fortune 1000, and a rather large percentage of government sites.

      Reality is that if you HELO with a valid resolvable domain name, it's pretty irrelevant in real life what your RDNS is (as log as the RDNS also has a forward...)

      Yes, we would all LOVE for all sites to HELO with a valid DNS entry, and have it match RDNS, but it's just not the case in about 30% (or more) of all the email servers out there.

      Good luck getting a DSL ISP to set RDNS for you. Very few will - the larger ones the more reluctant.

    17. Re:I've run 2 ISP's, starting my third... by henrywood · · Score: 1

      there is nothing wrong with that

      I'm guessing that you don't administer a mail server! I do.

      There's nothing "wrong with that" in the sense of RFCs, but there's everything "wrong with that" as far as a mail server is concerned. That "dsl" is enough to get most anti-Spam software rejecting the mail. There are no "rights" and "wrongs" when it comes to blocking Spam - it's just a matter of experience. And anyone with any degree of experience will know that a lot of Spam comes from "dsl" addresses; so they block them, or at least quarrantine the mail until it can be verified.

      Yeah, I know all the arguments about how mail admins shouldn't do that sort of thing, but we've got to be pragmatic. The volume of Spam received by the average business nowadays is such that one has to resort to fairly Draconian measures. Blame those who abuse e-mail, not the poor admins.

      --
      Something is happening here but you don't know what it is, do you, Mr Jones.
    18. Re:I've run 2 ISP's, starting my third... by sofar · · Score: 1

      I'm guessing that you don't administer a mail server! I do.

      Wrong.

    19. Re:I've run 2 ISP's, starting my third... by henrywood · · Score: 1

      I stand corrected.

      If you can manage a mail server that receives over 20,000 messages per day, pass through all items that satisfy the RFC requirements, and still achieve a Spam content of under 1% then I take my hat off to you.

      I just can't do that with my mail servers. If I accepted all RFC-compliant mail then I'd be delivering over 10,000 items of Spam per day to my users. And that means that I'd be failing in my job. Just because mail is RFC-compliant doesn't mean it's not Spam!

      --
      Something is happening here but you don't know what it is, do you, Mr Jones.
    20. Re:I've run 2 ISP's, starting my third... by Anonymous Coward · · Score: 0

      You should set up reverse DNS properly so that a reverse lookup on your mailservers IP address resolves back to its proper hostname.

      Like this:
      In the forward zone :

      domain.com. IN MX 10 mail.domain.com.
      mail.domain.com. IN A 111.1.2.123

      In the reverse zone :

      123.2.1.111.in-addr.arpa. IN PTR mail.domain.com.

      You are not currently set up like that, and that *will* cause many mailservers to flag your mails as spam.

      You may also have another problem (I have not checked, but I see it often enough to assume you probably have this problem as well).
      Qouting RFC 2821 , section 3.6 ( http://www.faqs.org/rfcs/rfc2821.html ) :

      "The domain name given in the EHLO command MUST BE either a primary
                  host name (a domain name that resolves to an A RR) or, if the host
                  has no name, an address literal as described in section 4.1.1.1."

      Also, many servers will reject (or flag as spam) mail from servers that attempt to use pipelining without first querying the recipient server for that capability.

  2. Your ISP's ip-range is listed by Delgul · · Score: 3, Interesting

    Most likely your IP is listed at those sites as belonging to a range given out to ISP's for reistribution to their customers. You are probably rejected for that reason, because 'normal' domestic users don't have mail servers, or so these parties seem to wrongfully think. You can configure your mail server to send out the mail through our ISP's smtp server (smarthost).

    1. Re:Your ISP's ip-range is listed by alienw · · Score: 1

      because 'normal' domestic users don't have mail servers, or so these parties seem to wrongfully think

      There is really no good reason to run a mail server on your own machine, and most spam is sent out from dynamic IPs using either hijacked machines or by spammers that subscribe to the service. You are lucky your e-mail provider doesn't block port 25, anyway.

    2. Re:Your ISP's ip-range is listed by kayen_telva · · Score: 3, Insightful

      did your post help at all ? just because you cant think of a reason to run your own server doesnt mean "There is really no good reason to run a mail server on your own machine". Why do people like you even bother replying. your post was pointless.

      a smarthost really is the most practical solution to this for now, until the climate of the internet changes (never?)

    3. Re:Your ISP's ip-range is listed by IIDX · · Score: 1

      >>There is really no good reason to run a mail server on your own machine Isn't there? I did it for fun and education until my IDSL company went under and Cox started blocking port 25.

    4. Re:Your ISP's ip-range is listed by badfish99 · · Score: 1
      When you say "there is no good reason", you mean "I'm not imaginative enough to think of a reason."

      I get a lot of mail from Asia (from friends, not spammers). My ISP doesn't handle 8-bit mail correctly: the characters are not just mangled, they are completely removed, leaving a blank message.

      So I can't use my ISP for sending or receiving mail. So I run my own mail server.

    5. Re:Your ISP's ip-range is listed by Anonymous Coward · · Score: 0

      There is really no good reason to run a mail server on your own machine

      Nice comment, asshat. The guy is trying to learn and/or provide a small-scale service. That's reason enough.

      Use your ISP's SMTP server as your forwarding relay and things should improve immensely.

    6. Re:Your ISP's ip-range is listed by Anonymous Coward · · Score: 0
      There is really no good reason to run a mail server on your own machine,
      I don't want email from Chris Bartle blocked as spam. That's reason enough for me.
  3. send invites by xutopia · · Score: 1

    I got free gmail invites if you want. :-P

    1. Re:send invites by D'Sphitz · · Score: 2, Funny
      I've got $5.00 GMail invites. It may be tempting to take up the free offer, but remember you get what you pay for. The quality and reliability of my invites is worth the extra money.

      dsphitz@gmail.com

    2. Re:send invites by richie2000 · · Score: 1

      Don't listen to D'Sphitz, his invites probably come from the back of a truck in a dark alley. My $500 invites come with a signed authenticity certificate and integrated DRM to avoid unauthorized copying. If you buy a partypack of four invites this week, I'll even throw in a free iPod!

      --
      Money for nothing, pix for free
  4. Here is what to do.. by speights_pride! · · Score: 1

    ..sacrifice a goat to the Dark Lord of Remond. Offer a virgin to the Yahoo people. In no time your mail will be flowing once more and as a bonus, nice men from Nigeria will send you fantastic offers! Enjoy.

  5. rDNS by guroove · · Score: 1

    If your server is located at a hosting facility, then it is also possible that your ip resolves to a host name that is different than the one in your SMTP headers. You can ask the owners of your IP address to add your host name to rDNS.

    --
    Someone stole my old sig.
  6. PTR DNS record by ttfkam · · Score: 4, Informative

    Likely it's because when the other end does a reverse DNS record lookup, and your hostname and the PTR record don't match up. Usually this ends up resulting in receiving fine but problems sending.

    Try setting up your ISP's SMTP server as your outgoing mail relay. In other words, when you send mail to your SMTP server, instead of looking up the remote host, doing an MX record lookup, etc., just send to your ISP's SMTP server. They should be configured to accept anything from your IP (you are their customer after all), and it only requires one extra hop for your email on the way out the door.

    Instead of:

    Email client -> Your SMTP -> MX record lookup -> Destination

    it becomes

    Email client -> Your SMTP -> ISP SMTP -> MX record lookup -> Destination

    After doing this, from your point of view, nothing will have changed, and you can learn to sysadmin on a small scale to your heart's content.

    A lot easier than getting an ISP to change the PTR record to your hostname.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
    1. Re:PTR DNS record by trentfoley · · Score: 1

      A lot easier than getting an ISP to change the PTR record to your hostname.

      My provider is Speakeasy. They have always been very quick at setting up PTR records for me. Unfortunately, they do not have a web front end for doing this, so I have to create a trouble ticket with the request rather than just do it myself. Nevertheless, they respond very quickly.

      I run my own mail server as well and do not have troubles with being tagged as spam.

      Speakeasy rocks.

    2. Re:PTR DNS record by Goo.cc · · Score: 1

      That is what I ended up doing because I was having problems sending mail directly to AOL because of my dynamic IP address. Since my domain name email is hosted via Fastmail, I just started using their SMTP server as my smarthost.

      Of course, none of this should be needed but spammers have really ruined things for us.

    3. Re:PTR DNS record by wolf- · · Score: 1

      I miss Speakeasy.
      Bought a new house, and cant use them anymore.
      Am stuck on telco's dsl.

      But yeah, Speakeasy was a great company.

      --
      ----- LoboSoft specializes in Digital Language Lab
    4. Re:PTR DNS record by nmos · · Score: 2, Informative

      Try setting up your ISP's SMTP server as your outgoing mail relay. In other words, when you send mail to your SMTP server, instead of looking up the remote host, doing an MX record lookup, etc., just send to your ISP's SMTP server. They should be configured to accept anything from your IP

      That's certianly worth a try but some ISPs have their smtp servers set up to only relay mail with From headers that match one of their own domains so they might reject him anyway.

    5. Re:PTR DNS record by Urban+Garlic · · Score: 1

      This won't work if his ISP is Verizon -- they won't relay mail traffic through their SMTP servers unless it has a "*@verizon.net" address in the "From:" header.

      Which he could do, but again, it defeats the purpose of owning a domain and running a webserver.

      --
      2*3*3*3*3*11*251
    6. Re:PTR DNS record by John+Hasler · · Score: 1
      That's certianly worth a try but some ISPs have their smtp servers set up to only relay mail with From headers that match one of their own domains so they might reject him anyway.
      In my experience they only look at the envelope-from (I have Exim rewrite it). I don't understand why they do this, though.
      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  7. Just an idea... by Weh · · Score: 2, Funny

    Have you thought of spelling viagra as V.1@gr4?

  8. Duh by Anonymous Coward · · Score: 0, Troll

    Rather than connecting directly to Yahoo's or Hotmail gateways, use your ISP's mail relay. That's what it's there for.

    http://www.justfuckinggoogleit.com/

  9. It may be the content of your message by maxwells_deamon · · Score: 2, Interesting

    Perhaps you have looked through your message for spaminsh words, perhaps not.

    When I was tuning spamassassin on a daily basis, I got lots of surpizes related to what triggered the filters at first.

    Many people put little ads in their sigs for example

    We had a person who put their address in the sig. the problem was that they lived on 888 48th street (or similar address.) this looked like an 800 number to spamassassin.

    If you really want to see a dumb message, have someone send you a cell phone picture mail. The did not get through our filters at all. When I white listed it, it had so much advertising for the company it addition to the bit map it was shocking.

    Please post a copy of your standard email so we can see it. (#### out the to address of course)

    Good luck

  10. I've had success with... by j-turkey · · Score: 2, Insightful

    Some time ago, I found that my company's mail was rejected by a large provider. Similar to your issue, our mails were also being rejected without any notice. I had good luck with calling the ISP. Once I got the right person on the line, we were able to diagnose the problem with ease. In my case, it was an incorrect reverse DNS lookup record that I had overlooked, which it was easily resolved. Your domain appears to have the same problem.

    You may want to see if your ISP will update your reverse lookup record to match your DNS info (unlikely if your DSL is residential). If they won't do this for you, consider upgrading to a business class service that allows you to run a mail server and gives you some control over your DNS record(s). If this turns out not to be the issue, your best bet is to contact the recipient's service provider(s). Once you get the right person on the line, you may be pleasantly surprised.

    --

    -Turkey

  11. The problem is hotmail & yahoo... by Anonymous Coward · · Score: 0

    if I send an email to a Hotmail or Yahoo account that I've never contacted before it tends to get filed as spam.

    You need contacts/friends/customers with better email service. When they ask why didn't you contact me, tell them it's because of their crappy email service. Even AOL (shudder) tells senders why their email is classified as spam.

    If too much legit mail gets classified as spam, Hotmail & yahoo's customers will complain, or take their business elsewhere.

    Since most yahoo & hotmail users don't pay for email, it's unlikely yahoo & hotmail would pay much attention :)

    1. Re:The problem is hotmail & yahoo... by EdelFactor19 · · Score: 1

      call me crazy, but i thought the idea was to answer the question at hand, not suggest a blatant alternative that you cant even do anything about. If someone asks how do i do such and such, do us all a favor, and dont make an entire reponse out of questioning why they'd want to do that; granted there are cases where that is needed, but at least if you do, have it be for an actual legitamte reason.. not a "tell them to get better email service..." because guess what? that is out of the questions askers control..

      one minor problem with your "If too much legit mail gets classified as spam, Hotmail & yahoo's customers will complain, or take their business elsewhere." comment; what business and what customers? yahoo and hotmail both provide free services that include email; as such the typical yahoo / hotmail email user is not a customer of the company.

      --
      "Jazz isn't dead, it just smells funny" ~Frank Zappa
      EdelFactor
  12. A mystery by fm6 · · Score: 1
    My first thought was that your IP block must be on a blacklist. But it's not, at least not one that I know about. Very strange.

    I used to work the help desk at a hosting company, and the most frustrating part of my job was helping people whose email was being unfairly classified as spam. I was supposed to hand off those cases to the abuse desk, but that department seemed better at antagonizing people than resolving the issue. So a couple times I tried to sort out the issue on my own. (Which probably helped get me fired.) What I discovered was that network admins are a law onto themselves, and often block email for all sorts of strange reasons. The most common reason is that they place too much faith in blacklists, but it's also pretty common for them to look at traffic patterns and tell themselves: "That block is hosting a lot of spammers!" It doesn't occur to them that there are legitimate newsletter and mailing list services that have good ant-spam policies, but that send out as much email as any spammer.

    Here's your basic problem: Yahoo and Hotmail have no obligation to classify your email fairly, or even accept it at all. Nor are they required to document how they decide what's spam and what isn't. (And a big incentive not to: such documentation would be very useful to spammers!) But one thing they do is respond to complaints.

    So fire off some email to abuse@hotmail.com and abuse@yahoo.com and ask them what's going on. I can't guarantee that they'll give you useful help, but they might -- provided you avoid antagonizing them. A confrontational attitude is not helpful in dealing with support people. They take a lot of shit for policies they don't determine, and won't take any more than they have to.

    You could also talk to the support people at the ISP that leases you that IP number. The problem probably has nothing to do with them, but you never know. Besides, you might end up talking to somebody who's smart enough to figure this out, or who has seen this problem before.

    1. Re:A mystery by Anonymous Coward · · Score: 0

      Did you also happen to work at iPowerweb? They don't like those pesky helpful employees.

  13. Simple answer: by schon · · Score: 1

    My domain has a SPF record

    Maybe that's your problem?

    the IP resolves, and it doesn't appear to be on any blacklists

    I have my own domain, and never have an issue - the only difference between me and you is that I don't use SPF.

    Try getting rid of your SPF record and see if that helps.

  14. to clarify by samjam · · Score: 2, Informative

    I htink that you are saying that the name as given in the SMTP HELO statement does not match reverse DNS.

    The HELO name usually defaults to the hostname.

    This implies if the guy can get his box to HELO with what the IP resolves to he will be OK.

    I'm just clarifying what I think you are saying to make the next step obvious.

    Sam

    1. Re:to clarify by SpaceLifeForm · · Score: 1
      Correct. Of course I doubt that he wants his e-mail to come from bartle189.dsl.frii.net !

      $ dig frii.net
      ;; ANSWER SECTION:
      frii.net. 86400 IN A 216.17.184.30

      ;; AUTHORITY SECTION:
      frii.net. 86400 IN NS ns1.frii.net.
      frii.net. 86400 IN NS ns2.frii.net.

      ;; ADDITIONAL SECTION:
      ns1.frii.net. 164278 IN A 216.17.128.1
      ns2.frii.net. 164278 IN A 216.17.128.2

      Not good. Both of their nameservers are on the same network.

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
    2. Re:to clarify by schon · · Score: 1

      I doubt that he wants his e-mail to come from bartle189.dsl.frii.net

      Why not? The only people who will see it are ones that look at the headers - and even then, they won't care.

      Seriously, why would he not want to set his HELO to match his PTR record?

  15. Duh, yourself. by fmaxwell · · Score: 4, Insightful

    Rather than connecting directly to Yahoo's or Hotmail gateways, use your ISP's mail relay. That's what it's there for.

    Problems:

    1. Many ISPs won't relay mail unless the "From:" is in the ISP's domain. This prevents forgeries by zombies that try to relay through with random from addresses. More importantly for the ISP, they get to use viruses and spam as an excuse to force you to use their e-mail address, making it harder for you to switch ISPs.
        1a. Yes, I know about "Reply-To:." Many brain-dead mail servers, list servers,
                  and even e-mail clients apparently don't.

    2. ISPs often have limitations on attachment size. If I want to e-mail a 9MB file to a client or family member that can't deal with passworded FTP, I don't need my ISP's mail server rejecting the e-mail.

    3. ISPs often disallow attachments which are executable. Again, not a hassle when dealing with computer-savvy recipients, but not all recipients are that sharp.

    4. If the ISP ends up on a blacklist, your e-mail doesn't go through to mail servers that use that blacklist. I have a much better ability to control spam going through my server than to control spam going out through my ISP's mail server.

    5. You're at the mercy of the ISP. It their mail server goes down or experiences other problems, your outgoing e-mail is either lost or delayed.

    6. If there are e-mail delivery problems, your server won't have useful logs (since the actual delivery was attempted by your ISP's mail server. You won't be able to tell how many times a message was retried, whether something timed out in the protocol, etc.

    7. I'd rather not have my ISP retaining copies of my e-mail, auto-scanning it with who-knows-what software, passing it on to the FBI for warrantless PATRIOT Act fishing expeditions, etc. While I know that they could do that with a port 25 snoop, chances are that they wouldn't routinely do that.

    Yes, I know that there are inconvenient workarounds for some of the problems listed above, but, all in all, it's far preferable to use your own server.

    1. Re:Duh, yourself. by hadaso · · Score: 1

      > You're at the mercy of the ISP. It their mail server goes down ...

      If your PC+broadband connection is more reliable than your ISP's mail servers, then you should not use this ISP. Why would their connectivity be any better than their mail server? The ISP's mail server shold be running all the time, and should be backed up. If your ISP cannot provide SMTP email 24h a day it is a good indication that you cannot trust their reliability on anything.

    2. Re:Duh, yourself. by fmaxwell · · Score: 1

      If your PC+broadband connection is more reliable than your ISP's mail servers, then you should not use this ISP.

      I'll get rid of the 5Mb down/ 2Mb up and go back to dial-up because a mail server that I don't use, and don't want to use, is less reliable than the connection that I do use. Good idea. Thanks for that.

      Why would their connectivity be any better than their mail server?

      Because they are two different services. It's like asking "why would the store's linens be any better than their VCRs?" The staff running the mail servers might be a totally different group than the ones who handle the routers and network connectivity.

      A mail server can go down due to DDoS attacks, hardware failures, etc. that are totally unrelated to the reliability of network connectivity. In addition, it can be down due to internal network routing problems that would not affect my ability to access the Internet. It takes far fewer hops for my e-mail to go directly to an external mail server than to go from my system to my ISP's mail server and then from there to the destination mail server. Each hop is a potential failure point.

      The ISP's mail server shold be running all the time, and should be backed up.

      Right. Their OS and server applications should never crash. They should never have a UPS failure. CPU fans shouldn't fail. RAM should never go bad. Network cards should never fail. The system should not go down for OS upgrades or server application upgrades -- the upgrade faeries should magically make the upgrades happen.

      If your ISP cannot provide SMTP email 24h a day it is a good indication that you cannot trust their reliability on anything.

      Or might it be a good indication that an ISP can't get magic hardware and software which never fails or needs to go down for scheduled maintenance.

  16. Happens to me too by dtfinch · · Score: 1

    I know that AOL blocks most of my emails, usually direct replies to emails from customers who I then have to contact using AIM. The good part is that they usually bounce back an email letting me know when I've been blocked.

    The best way to solve the problem is for end users to not rely on unreliable email providers. One false positive when spam blocking is one too many especially if they don't bounce.

  17. Overly permissive SPF record? by danlyke · · Score: 1

    Maybe it's your overly permissive SPF record? I don't pretend to understand such things, but I've locked mine down to IP addresses which I actually send mail from and have no problems.

    You have "-mx all", I think what you want is a "-a a:chrisbartle.com" and then make sure that all of your mail goes outbound through 216.17.137.189.

  18. Mod parent up! by khasim · · Score: 1

    He's trying to use what appears to be a home DSL connection to run his email server.

    DUH! That's what most of the spam zombies do.

    If you don't want to be rejected because you look like them, then you must change how you look.

    Either get a business account or see if you can convince your ISP to change the reverse DNS lookup on your IP address (lots of luck on that).

    Remember, it is all about how you APPEAR to the receiving machine.

    If you APPEAR to be a legitimate server with the correct DNS entries, HELO, etc, then your mail will most likely be accepted.

    There is NOTHING you can do with your home DSL connection/server that spammers cannot also do with a zombie on such a connection. So ... even if you find a way to make it work TODAY, the spammers will pick up on it and flood those services and then the mail admins there will find a way to break it TOMORROW and you'll be right back where you are now.

    If this project isn't worth the additional cost of a business account, is it really worth the headaches?

  19. That's not what you think it is. by khasim · · Score: 3, Informative
    In your original statement, you said:
    My domain has a SPF record, the IP resolves, and it doesn't appear to be on any blacklists.
    So ....

    chrisbartle.com resolves to 216.17.137.189

    but

    216.17.137.189 resolves to bartle189.dsl.frii.net

    So it doesn't resolve correctly. You might think you have a "static" IP address, but it appears the same as any other, dynamic, home DSL address.

    Unless you can get frii.net to change their DNS entry for you, you'll continue to have your mail rejected.
  20. Followup by bartle · · Score: 1

    Original submitter here with a general followup response for anyone who cares or perhaps reads this later in the archives.

    It looks like their are two general suggestions: route all outgoing mail through my ISP's mailserver and change my DNS records to something more reputable.

    I really don't want to follow the first suggestion for a variety of reasons - it mucks up my SPF record, I can't diagnose email problems, and I can't send stupidly large emails. I suppose if all else fails I might try it; if it doesn't work I can always switch back.

    The second suggestion is good and one I can probably implement in short order. I think I can talk my ISP into letting me manage my tiny block of IPs or at least changing what they resolve to. Someone pointed out that Hotmail spam script might just be looking for the term "dsl" and blocking based on that. It sounds stupid but in a very plausible way.

    Thanks are extended to most everyone who responded. There is certainly a lot of material out there on running one's own mail server but very little about getting past spam filters. I hope that I'm not the only one who found this little discussion useful.

    1. Re:Followup by Bronster · · Score: 2, Informative

      The second suggestion is good and one I can probably implement in short order. I think I can talk my ISP into letting me manage my tiny block of IPs or at least changing what they resolve to. Someone pointed out that Hotmail spam script might just be looking for the term "dsl" and blocking based on that. It sounds stupid but in a very plausible way.

      The problem is that it's not actually stupid - because it's something that is a very strong predictor for zombie machines, and it's something that the "owners" of the zombies can't change, while legitimate operators frequently can.

      As someone else above mentioned, a service like FastMail (disclaimer: I work for FastMail) will provide you with a SMTP relay you can use for outbound email. You can still do your own SPF records, but you'll need to use the smarthost's outbound servers rather than your own IP.

      Still, if you can get the reverse fixed up you're part way there - if your IP isn't in the 'dialup range' RBLs as well.

    2. Re:Followup by bartle · · Score: 1

      The problem is that it's not actually stupid - because it's something that is a very strong predictor for zombie machines, and it's something that the "owners" of the zombies can't change, while legitimate operators frequently can.

      It just seems unreliable to assume that a home connection will have the terms "dsl" or "dialup" in the DNS name. But I suppose most indicators of spam are naturally unreliable. I've been meaning to change the reverse lookups for my IPs to something less lame for years now; this is a good reason to do it.

    3. Re:Followup by artifex2004 · · Score: 1

      followup to my other comment, elsewhere:

      1) 220 gawaine.chrisbartle.com ESMTP Sendmail 8.13.1/8.11.6; Sat, 30 Jul 2005 22:04:46 -0600 (MDT)
      2) 189.137.17.216.in-addr.arpa name = ns.chrisbartle.com.
      3) mail.chrisbartle.com. 3600 IN CNAME chrisbartle.com.

      Chris, sure would help if you picked a common server name. Some mail servers actually try to check your HELO and your reverse to see if you match up who you claim to be.

      Also, have you considered "v=spf1 a mx ~all" ?

    4. Re:Followup by Bronster · · Score: 1

      It just seems unreliable to assume that a home connection will have the terms "dsl" or "dialup" in the DNS name. But I suppose most indicators of spam are naturally unreliable. I've been meaning to change the reverse lookups for my IPs to something less lame for years now; this is a good reason to do it.

      Oh, it is rather unreliable, which is why there are things like The SORBS dynamic IP RBL to consolidate that sort of information.

    5. Re:Followup by Sancho · · Score: 1

      It's completely unreasonable to assume that a home connection will have the terms "dsl" or "dialup" in the DNS name. It's /is/ completely reasonable to assume that a connection with the term "dsl" or "dialup" is a home connection. and since well over 99% of home connections won't be used as a legitimate SMTP server, any smtp server coming from one of those is likely a zombie.

    6. Re:Followup by Shads · · Score: 1

      Generally reverse and forward dns should *match* and also match what your server sends as the ehlo/helo.

      --
      Shadus
  21. How to report a Yahoo bug to Yahoo by grok42tampabay · · Score: 1, Informative

    How to report a Yahoo bug
    to Yahoo.

    http://docs.yahoo.com/info/support/contacts/bugs.h tml

  22. Nope. by AnotherBlackHat · · Score: 1

    The problem is that there are a lot of spam fighters that believe it's perfectly acceptable to block email that originates from a DSL connection.

    Now you can reduce the number of sites that are able to tell you are connecting via DSL,
    (Many for example only check your rDNS so if you can get that set to your domain then they'll accept your email) but there will always be some that use block lists that include your IP.

    To get around this, you really need to send email through a relay.
    I don't know of any free relays that aren't also considered untrustworth (that doesn't mean there aren't any), but there are plenty of pay services that will forward your email for under $5 a month.
    Most ISPs provide the service as part of the general connection package, though presumably you've already considered and rejected the idea of using your ISPs mail relay for some reason.

    -- should you trust authority without question?

  23. Reverse by dacarr · · Score: 1

    Have your ISP alter your reverse DNS information to reflect your domain. If they won't, change over to one that will.

    --
    This sig no verb.
    1. Re:Reverse by tepples · · Score: 1

      If they won't, change over to one that will.

      Moving house to a geographic area serviced by Speakeasy would likely be much more expensive than renting a smarthost.

  24. Probably not a reverse DNS problem by Local+Loop · · Score: 1

    I manage internet for a medium sized company. They have two mail servers, one is colocated, and the other is on their T1 in the office.

    Neither one has a reverse DNS that matches forward DNS. They never have any trouble sending mail to Yahoo, Hotmail or AOL.

    FYI they do not have SPF records, so that is another datapoint, but I wouldn't draw any conclusions from that.

    MANY companies have non-matching forward and reverse DNS, so it would be stupid to block on that criteria. Maybe some diehard slashdot anti-spammers are doing it for the their personal email, but nobody real is (or they are only counting it as a small part of a spam score).

    So I don't think your problem is due to a mismatched reverse DNS. More likely it is because it is a DSL address and people have been known to block on those.

    I think that you and I are in a similiar situation. I run a company from home, and ideally I would have a local server. In my case I found my connection too unreliable so I plunked down money for a 1U colo in a nearby data center, and I run all my mail from that, no problem (again, forward and reverse DNS do not match).

    I think that's probably your best bet if you can afford it.

    BTW the amount of failed relaying attempts we get from DSL/Cable botnets is absolutely STAGGERING. Some of the bots are quite stupid and don't bother checking failure codes, so even rejecting those emails at connection time doesn't stop them from trying. I really don't blame the free providers for trashing emails from DSL/Cable addresses.

  25. another hurdle by artifex2004 · · Score: 3, Informative

    Guys, he's got a TXT record for SPF. If he starts relaying through his ISP's mail servers, he's either got to give up SPF, or add the appropriate include: modifier. Neither is particularly thrilling.

    Chris, I'm assuming you want to send out only from mail.~, since you have no PTR in the SPF, right? Still might be useful to add "A" to the SPF, since mail.~ is a CNAME. Or maybe not. :)

    And if it helps any, you seem to be clear off all the RBLs I was able to check.

  26. ISPs that rewrite From: by tepples · · Score: 1

    you failed to note that the parent also provided a thoughtful solution (i.e. hand the mail off to your ISP's SMTP server and stop trying to deliver it directly).

    Problem is that some ISPs rewrite the From: header to match the username provided in the SMTP authentication sequence. For instance, Dan is the owner of example.com or an employee thereof. Dan is supposed to send e-mail as From: dan@example.com, but when he does so through his ISP's mail server, the server rewrites it to From: dan16623@isp.net / Reply-To: dan@example.com. This would get the mail delivered, but many MUAs will add the address specified in From: (not Reply-To:) to the address book, causing things to break when the sender moves house or otherwise switches ISPs.

  27. That is not Internet mail by hadaso · · Score: 1

    > ... some ISPs rewrite the From: header ...

    An ISP that does this is not a provider of internet mail. So anyone that wants to use internet mail should not subscribe to such ISP. If your contract specifies that email service is included you should ask for the money back. Internet mail has quite precise definitions in RFC 2821 and RFC 2822, and rewriting the "From" header is not part of this. It actually contradicts RFC2822 that says the "From:" identifies the author (and not the link from the author's PC to the mail server).

    The real reason why "ask slashdot" is better than "search google" is that we are also discussing current pracices and contemplating what's right and what's wrong.

    Rewriting headers is wrong, unless the user specifically asks for this service. And if an ISP wants to reflect the userid of the sending user for some reason they can use one of the "resent-..." headers fields (though I doubt that this would be correct RFC-wise, and morraly its wrong. If they need to put a stamp on outgoing email to help their abuse team locate offending users they should put it in an encrypted form in a non standard header, like the "X-sasl-enc:" header used by FastMail.FM on all outgoing name. Every single piece of outgoing mail has unique identification without compromising the sender's privacy).

  28. Hotmail's reply by hadaso · · Score: 1

    I can tell you what's Hotmail reply would be: the same form every one gets: "Delete your Temporary Internet files". Doesn't matter what you ask... Then later they might answer to the point, but I doubt that they would whitelist an IP address the resolves to a broadband connection.

    There might be very good reasons to run your own mail server on your own PC, but I don't see any advantage on using this approach for direct delivery of outgoing email. Relaying through your ISP's mail server would almost certainly be more reliable, and if not it is a good indication that you should switch ISPs. Probably using an ISP's server for relaying incoming email would also be more reliable (it would cache your email uwhen your PC is not available on broadband) but it might be trickier to set up. (as in your ISP's mail server would have to be the MX for your domain, and would have to be configured to accept all email for your domain and redirect it to your server, which would not allow you to do SMTP session rejects. There are no such complications I can think of for relaying your outgoing email through your ISP if they are following standards and not using dirty tricks like header rewriting.)

  29. Overly permissive SPF record? NO SUCH THING! by hadaso · · Score: 1

    > Maybe it's your overly permissive SPF record? ... You have "-mx all" ...

    SPF specifically says that the result of the SPF test is "pass" in this case. The same for SenderID when comparing to the "purported whatever(TM)". The problem with SPF is that people want to use the record but not follow the standard. Instead of checking if the email comes from an IP address authorised by the domain owner, people want to limit what domain owners can authorise.

    This is a very bad side effect of SPF, and eventually it would mean that all email users that are not limited to a single or a few sending IP addresses would have to relay their email using authenticated SMTP to one of a few servers of a service provider that would be listed in the SPF record for their domain. SPF claims to not require huge changes in infrastructure, but its side effects do require a change in infrastructure that collectively would cost a lot. Perhaps it's not bad, but it's also not cheap... (at least not as cheap as running everything on your home PC).

    1. Re:Overly permissive SPF record? NO SUCH THING! by fmaxwell · · Score: 1

      Instead of checking if the email comes from an IP address authorised by the domain owner, people want to limit what domain owners can authorise.

      Yes, because we've already seen spammers who set up a domain with a totally open SPF record. Then they use zombie PCs all over the world to send their spam using a From: address in the domain that they set up. Any system which does an SPF test gets a "pass" on every one of those pieces of spam.

      This is a very bad side effect of SPF, and eventually it would mean that all email users that are not limited to a single or a few sending IP addresses would have to relay their email using authenticated SMTP to one of a few servers of a service provider that would be listed in the SPF record for their domain.

      That's not "very bad." It's quite good. If you're sending e-mail with an earthlink.net sender address, then it should come through Earthlink's servers. That way, I can know that the sender really is an earthlink.net user, rather than some random spammer.

      SPF claims to not require huge changes in infrastructure, but its side effects do require a change in infrastructure that collectively would cost a lot.

      Not at all. I implemented it on my domain and it required no changes at all. That's because I didn't have some Mickey Mouse setup where I sent through random servers all over the net. When I send e-mail from my domain it goes, and has always gone, through my domain's mail server.

  30. Monopoly or duopoly by tepples · · Score: 1

    So anyone that wants to use internet mail should not subscribe to such ISP.

    In other words, in some geographic areas, "anyone that wants to use internet mail should not subscribe to" high-speed Internet access at all because the only broadband provider (the cable company, or the DSL company that does all it can to interfere with Speakeasy's attempts to provide service) does not provide conforming internet mail service to residential customers. How much does SMTP AUTH + TLS smarthosting cost per month?

    1. Re:Monopoly or duopoly by hadaso · · Score: 1

      > ... in some geographic areas ... the only broadband provider ...
      > does not provide conforming internet mail service to residential customers.

      I wouldn't like to live in that area...
      It's a monoply. Monopolies should be regulated. A minimum requirement from a monopolistic Internet service provider should be to provide standard compliant access. There are ways to find the spammers in your network without denying service from customers (like reading spam complaints sent to your abuse team. Like not refusing "munged" SpamCop reports that usually point exactly to the IP address sending spam).

      > How much does SMTP AUTH + TLS smarthosting cost per month
      That would probably depend on how much mail you need to send. One time payment of $15 gives you lifetime SMTP AUTH (and lots of other things you don't have to use) but is limited monthly bandwidth of 30MB. For $20/yr (~$1.67/month) or $40/yr (~$3.33/month) you get 300MB/month, 1GB/month respectively and additional BW can be purchased (see http://www.fastmail.fm/pages/fastmail/docs/pricing tbl.html). Maybe a hosting service can give better MB/$ ratio for higher bandwidth requirements.

      Maybe the folks at emaildiscussions.com would know more than me about possibilities to host outgoing mail. And actually it's a good place to ask the question aked here. There are several people there administering email on different levels - from managing email for a few friends/family to running full scale email services.

  31. Come on guys, this was funny! by Anonymous Coward · · Score: 0

    Really, well, at least I thought it was. How do you know your not helping out a spammer?
    How do you know your not helping out a TERRORIST
    eek.

    If you can't laugh at spam, what can you laugh @? /sarcasm

  32. Personal Servers by fm6 · · Score: 1
    ... I doubt that they would whitelist an IP address the resolves to a broadband connection.
    I'm sure you're right. And you've also described the likely reason Chris is getting filtered: Yahoo and Hotmail just assume any home user with their own server is a spammer. (Stupid of me to not think of it.) Can't hurt to ask, but that's probably the answer.
    There might be very good reasons to run your own mail server on your own PC, but I don't see any advantage on using this approach for direct delivery of outgoing email.
    Hey, this is Slashdot. People here don't just use commercial products or services, not when they can hack out their own solutions.

    Besides, there are practical reasons to have your own email server. Like being able to reconfigure the thing as you need to. For example, you might have noticed that he gave his email address as slashdot@chrisbartle.com. That's obviously one that he created for the occasion and will discard as soon as the conversation is over. Can't do stuff like that with most ISPs.

    One thing Chris might consider doing is moving his email server to colocated or virtual host. A suggestion which will probably not please him, since that's something he has to pay for. But it's probably the only way to get off the email providers' shitlists. Of course, he should make sure that the hosting provider leases him an IP address that isn't on any blacklists...

    1. Re:Personal Servers by hadaso · · Score: 1

      > Yahoo and Hotmail just assume any home user with their own server is a spammer.

      Not exactly. What they assume is that email coming directly from a home user's IP number is spam, and this assumption is 99.9% correct (probably even closer to 100%). Most spam nowadays come from "Zombie PCs" and this means that almost all email being sent directly from home users PCs is spam. Avoiding this email means avoiding most spam. And also avoiding some legetimate, but not much legitimate mail from the point of view of Hotmail or Yahoo.

      > ... he gave his email address as slashdot@chrisbartle.com.
      > That's obviously one that he created for the occasion and will discard
      > as soon as the conversation is over. Can't do stuff like that with most ISPs.

      Perhaps he didn't plan to discard it, but he would have to. It takes about 2-3 days for an address posted on Slashdot to be picked up by spammers (from my own experience). Much faster than any other place I know of on the web. Much faster than places like Cnet talkbacks, for instance.

      Anyway, being able to use different addresses for receiving email has nothing to do with outgoing mail configuration. The domain is his domain (http://www.dnsstuff.com/tools/whois.ch?ip=chrisba rtle.com) and not the ISP's domain. Many hosting companies would accept all email for a domain or allow the domain owner to control which addresses in a domain are accepted. But there's no doubt that you get absolute control by controling your own incoming mail server. However, Chris's problem is not related to incoming email but only to outgoing email. He can run his incoming server on his PC and use another machine to send his email out to the internet (relay it though a service provider).

      I host my domain (hadaso _d0t_ net ) with fastmail.fm . I can use any email address in that domain or any subdomain. I can filter incoming email on the server so that I can discard or reject or forward to different addres or file separately email coming to certain addresses. And I can set it up so I receive only at a limited small number of addresses. But I don't come even close to what Chris can do with his own incoming server. Chris has absolute control on what's accepted and what rejected. (For instance, I choose to receive all incoming email and only then filter it, because otherwise I have to resort to at most 10 addresses/subdomains or pay additional fees for more. That's also why I don't use my domain address in Slashdot. I don't have the control I need to block the spam where I want it blocked, or to greylist as Chris does)

  33. Its really easy... by ripnet · · Score: 1

    Just get sendmail to relay via your ISP's mail server - no loss of DIY functionality, but the ISPs server will (should!) be whitelisted. George

  34. Content by Intron · · Score: 1

    Most of this discussion has focussed on the envelope, but maybe its the content. My spam filter (popfile) tends to classify html mail as spam, for example. When you send plain text do you get classified as spam?

    --
    Intron: the portion of DNA which expresses nothing useful.
  35. Final Followup by bartle · · Score: 1

    In case anyone is interested in what I tried...

    I changed out my IP names so they now resolve to something sensible. My email was still seen by Hotmail as spam and on a lark I tried something different: I sent an email from Pine instead of Outlook Express and it went through.

    I've tried this a second time. I sent an identical piece of mail from Outlook Express and from Pine, same server, same everything else, and the email from Pine makes it through while the one from Outlook Express is marked as spam. Presumably there's some fuzzy filtering going on because sending from OE at work to Hotmail does through just fine.

    I'm still not happy with this situation. I know how to get my email through Hotmail, for now, but there's no guarantee that it will work that way tomorrow or the day after.