[quoted text, click to view] > That said, Sanford has suggested turning SMTP AUTH back on (via
> "allow machines that authenticate to relay" checkbox). The only
> issue here...
That's not an issue for a server that, as the OP states, is used only
to send form mail -- and thus *must not* have incoming port 25 allowed
through the firewall. It would've been silly to state the obvious
security concerns of any Internet-connected machine (i.e. "block at
the firewall any ports you are not using").
More important, the discussion is about relay-by-AUTH vs. relay-by-IP,
but you're reframing it as relay-by-AUTH vs. *access*-by-IP.
Relay-by-AUTH and access-by-IP are not mutually exclusive; rather,
they are governed by two totally separate parts of the interface. When
you can't block block unwanted traffic at the edge, firewall, or even
local stack level, it's best practice to block as early in the
application level as possible; you should not allow anyone to attempt
connections on ports for which there is no legitimate traffic. This
means disallowing all traffic (access-by-IP) from anywhere but
127.0.0.1 for any server that, as in the OP's example, sends form mail
only. That makes the dictionary attack "issue" a red herring if
correct configuration is otherwise used.
[quoted text, click to view] > As it is, your current configuration is probably the easiest to
> maintain.
Laziest to maintain !=3D Easiest to maintain. It's one thing to=
streamline your configuration, it's another to have no audit trail or
security boundaries because you run everything in the same context.
Web developers need to get used to the uncomfortable idea of _somebody
else_ running their code, whether that be a customer or a hacker. That
means knowing *which* web application sent mail from 127.0.0.1. On a
server with innumerable posting acceptors running under the same
context, an accidentally open HTTP-SMTP proxy is almost impossible to
track down.
--Sandy
------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.