|
The basic function of an SMTP server is to HANDLE mail, not necessarily to relay it. Most SMTP severs on the net RECEIVE mail for local delivery, but _may_ relay it also for local clients. The problem, as he's pointed out, is when they relay for _anyone_. In the UUCP days, indeed relaying _was_ a necessity. In parts of the former soviet union, UUCP is still a major form of E-Mail transport, and relaying is STILL needed... but it _can_ be controlled. The MAPS RBL info is quite accurate. The "RBL" stands for "Router Block List" and may cut off the abused domain from ALL traffic to nearly 40% of the Internet, even HTTP. The reasoning is that if an ISP is unable to provide services because they're careless about allowing Spammers to abuse their E-Mail services, they'll either go out of business or correct the problem. In the meanwhile, they are ignored as if they did not exist. (Packets from their domain are discarded) Either way, the spam gets blocked. It's a harsh, but efficient theory that actually works. Yes, some services (who have large pipes) will BOUNCE rejected mail instead of merely blocking packets. This means that the spam hits the abused system multiple times. Once when it is passed for relaying and again when it bounces. It is this abused system that really takes the "brunt" of the problem. It's not only valid, but proper for the systems refusing the mail to send that bounce message. Some don't because of the load on _their_ servers. But this makes the abuse by a spammer, even more of a "Denial of Service" attack on the abused system. Even version 5.6.12 of Sendmail (perhaps the best of the 5.6.x versions) is wide open for relaying UNLESS strong measures have been done to lock it down. VSNL is indeed in danger, if added to the RBL. Packets routed through VSNL will be blocked from much of the net, and especially E-Mail packets (those destined for port 25 on a host).
New Guide is using: Sendmail 8.9.3 at the moment. But if VSNL's entire suite of netblocks are blocked, that is of no benefit. ALL of VSNL will be refused access to as much as nearly half of the Internet, and vice-versa - nearly as much as half of the internet will ALSO be denied access to _anything_ at VSNL.I am aware of some of the problems on my own 8.8.8 systems, and they may or may not be advertising the version of sendmail actually being run. I cannot confirm ALL details in the article, but it seems substantially correct, except for the very first sentence. :) I have no reason to doubt the validity of the information I cannot directly confirm. I'm delighted that there is now an "india.cauce.org". mailbg.vsnl.net.in is now refusing connections from my host, here, and even from newguide. It may be that a major backbone is refusing packets to/from that host, but unlikely, because newguide is also unable to connect to a mailserver on that host. giascla.vsnl.net.in
has upgraded to Sendmail 8.9.3
TO HELP YOUR UNDERSTANDING OF THIS ISSUE .... Here's an example. >>> lines are TO the server, <<< lines are FROM it. Other lines are informational, except for the greeting line which is continued on a 2nd line. % telnet mail.guide.vsnl.net.in
25 As you can see, pass-thru relaying, as he describes is denied. Now compare the SAME connection, but originating on the machine itself, via my remote login... %telnet mail.guide.vsnl.net.in
25 As it should, it allows on-host processes to connect SMTP, and will send mail _anyplace_ for local users. The message that was hand-entered above was in my mailbox here almost before I could type QUIT. Here it is: -> Received: from
mail.guide.vsnl.net.in (newguide [202.54.51.50]) Note that first, a Date: and Message-ID line were added by sendmail. They are required by RFC to be added by the first SMTP host that handles the message, if they are not already present. At times these are forged, however, especially in SPAM. Because it's set to do so, it also added ".vsnl.net.in" domain to the bare hostname that was used when I typed the message. I typed "bruce@newguide" but it converted that (incorrectly) to bruce@newguide.vsnl.net.in It then added a Received: header That says where the connection was from, who was listed in the "RCPT TO:" protocol, and a timestamp. Note that it did NOT tell who the "MAIL FROM:" was claimed, however. This is because (I think, I'd have to doublecheck) that it was "From: " a valid local user. I _think_ it would add a Sender or Presumably From or some such header if that had not been valid. Then my mailserver here added a comparable Received: header. Here are the /var/log/maillog entries that match the above activities: Mar 27 13:35:02 mail
sendmail[23431]: NAA23431: Note that it looked up my userid (1004) and group (1004) in /etc/passwd before validating the message and passing it along. This makes it more difficult to send "forged" E-Mail, even from on-host. Similarly, I have a log on 209.181.16.1 of the message that was actually sent (not refused for relaying)... Mar 27 08:10:52 serv
sendmail[4575]: IAA04575:
The reason that "newguide" is used as a name on my end is an /etc/hosts entry. It would normally give the full DNS name of the sending relay host (if there _is_ reverse DNS for it) and refuse mail for which it could get no name. You may recall that I was ADAMANT that there be reverse DNS for the new guide server. That's the biggest reason. Bruce Back to main article
|