04-11-04 08:37 PM
I have a W2k3 server set up with SMTP/POP on it and I seem to be having a
problem with closing the SMTP service down as an open relay....
The thing is, I have got the SMTP service to only allow relaying for
authenticated users although, I do have anonymous access turned on to allow
the incoming mail to my POP accounts...
However.... Looking through my logs after an ORDB test is showing that some
of the mails that it attempted to send were accepted and sure enough, there
is a whole bunch of mails in my DROP folder that will never go anywhere
because the addresses are just so wrong but the SMTP service accepted even
though it should have either denied relay or bounced as being invalid
addresses for the POP service.... Anyhow, here is an example of the log.....
Server names and domains have been altered to protect the innocent!
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2004-04-10 00:00:53
#Fields: date time c-ip cs-method cs-uri-stem cs-uri-query sc-status
2004-04-10 00:03:57 212.242.88.2 EHLO - +localhost.localdomain 250
2004-04-10 00:03:57 212.242.88.2 MAIL - +FROM:<spamtest@mail.domain.co.uk>
250
2004-04-10 00:03:57 212.242.88.2 RCPT - +TO:<"marvin%marvin.ordb.org"> 250
2004-04-10 00:03:57 212.242.88.2 DATA -
<SERVERDVAPo9qxHZF0000000b@server.domain.co.uk> 250
2004-04-10 00:03:57 212.242.88.2 QUIT - localhost.localdomain 240
2004-04-10 00:04:58 212.242.88.2 EHLO - +localhost.localdomain 250
2004-04-10 00:04:58 212.242.88.2 MAIL - +FROM:<spamtest@mail.domain.co.uk>
250
2004-04-10 00:04:58 212.242.88.2 RCPT -
+TO:<"marvin@marvin.ordb.org@mail.domain.co.uk"> 250
2004-04-10 00:04:58 212.242.88.2 DATA -
<SERVERFJX9kvfj9Jt0000000c@server.domain.co.uk> 250
2004-04-10 00:04:58 212.242.88.2 QUIT - localhost.localdomain 240
2004-04-10 00:06:01 212.242.88.2 EHLO - +localhost.localdomain 250
2004-04-10 00:06:01 212.242.88.2 MAIL - +FROM:<root@mail.domain.co.uk> 250
2004-04-10 00:06:01 212.242.88.2 RCPT - +TO:<marvin@marvin.ordb.org> 550
2004-04-10 00:06:01 212.242.88.2 QUIT - localhost.localdomain 240
As you can see, the first two attempts listed allowed the mails to go
through the third which is a more straightforward relay attempt was
correctly denied.
I've checked and double checked and the only thing I can think of is that
because I'm allowing anonymous access from any IP for inbound, that the SMTP
engine under this type of configuration is not as tight as it could be.
If anyone can shed any light on this whatsoever so that I can either resolve
it or raise it as a problem, I'd be very very grateful!!
Paul Vernon
[ Post a follow-up to this message ]
|