summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/smtprelay.rb
AgeCommit message (Collapse)Author
2015-03-09Don't rescue the 'Exception'Steve Kemp
Instead rescue a 'StandardError' which is slightly more specific. (Rescuing more specific exceptions is good.)
2015-03-09File.exists? is deprecated.Steve Kemp
We prefer "File.exist?". Flagged by rubocop.
2013-02-18 Read hostname from /etc/hostname.Steve Kemp
2013-02-18 Deleted trailing whitespace.Steve Kemp
2013-02-07Cleaned up logic with inversion and return to be a bit less cumbersome and ↵john hackett
marginally less ugly.
2013-02-07 Fixed class ancestry, and cleaned up whitespace.Steve Kemp
2013-02-07Changed smtprelay.rb to correctly report success if an smtp connection is ↵john hackett
refused, times out, or if message sending doesn't return a 250. Reports failure if the responding server gives an smtp 250 for successful message send.
2013-02-05 Fixed name of test.Steve Kemp
2013-02-05 Fixed.Steve Kemp