Looked into putting SpamAssasin on server. It seems something called sa-exim can do this if using exim4 but my system was on exim 3. I uninstalled exim 3 and installed exim4 and it is all still running. I don't have time right now to install SpamAssasin.
I was worried about leaving my smtp port open so I found the site http://www.abuse.net/relay.html which has done a relay test:
Mail relay testing
Connecting to pinkblobmicrosoft.com for anonymous test ...
<<< 220 oldlap.bisiand.me.uk ESMTP Exim 4.30 Sat, 20 Mar 2004 11:56:03 +0000
>>> HELO www.abuse.net
<<< 250 oldlap.bisiand.me.uk Hello www.abuse.net [208.31.42.77]
Relay test 1
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<spamtest@abuse.net>
<<< 250 OK
>>> RCPT TO:<securitytest@abuse.net>
<<< 550 relay not permitted
Relay test 2
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<spamtest>
<<< 501 <spamtest>: sender address must contain a domain
Relay test 3
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<>
<<< 250 OK
>>> RCPT TO:<securitytest@abuse.net>
<<< 550 relay not permitted
Relay test 4
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<spamtest@microsoft.com>
<<< 250 OK
>>> RCPT TO:<securitytest@abuse.net>
<<< 550 relay not permitted
Relay test 5
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<spamtest@[80.3.115.169]>
<<< 501 <spamtest@[80.3.115.169]>: domain literals not allowed
Relay test 6
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<spamtest@microsoft.com>
<<< 250 OK
>>> RCPT TO:<securitytest%abuse.net@microsoft.com>
<<< 550 Administrative prohibition
Relay test 7
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<spamtest@microsoft.com>
<<< 250 OK
>>> RCPT TO:<securitytest%abuse.net@[80.3.115.169]>
<<< 501 <securitytest%abuse.net@[80.3.115.169]>: domain literals not allowed
Relay test 8
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<spamtest@microsoft.com>
<<< 250 OK
>>> RCPT TO:<"securitytest@abuse.net">
<<< 501 <"securitytest@abuse.net">: recipient address must contain a domain
Relay test 9
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<spamtest@microsoft.com>
<<< 250 OK
>>> RCPT TO:<"securitytest%abuse.net">
<<< 501 <"securitytest%abuse.net">: recipient address must contain a domain
Relay test 10
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<spamtest@microsoft.com>
<<< 250 OK
>>> RCPT TO:<securitytest@abuse.net@microsoft.com>
<<< 501 <securitytest@abuse.net@microsoft.com>: malformed address: @microsoft.com> may not follow <securitytest@abuse.net
Relay test 11
>>> RSET
<<< 250 Reset OK
>>> MAIL FROM:<spamtest@microsoft.com>
<<< 250 OK
>>> RCPT TO:<"securitytest@abuse.net"@microsoft.com>
<<< 550 Administrative prohibition
Relay test 12
>>> RSET
<<< 554 Too many nonmail commands
Relay test result
Could not reset connection, test failed.
I think this is all ok, I don't know what the reset connection error means but I trust the debian setup. Domain name above changed to protect me.
|