diff options
-rw-r--r-- | lib/action_mailbox/postfix_relayer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_mailbox/postfix_relayer.rb b/lib/action_mailbox/postfix_relayer.rb index 268ca5661b..5a0eb7dca3 100644 --- a/lib/action_mailbox/postfix_relayer.rb +++ b/lib/action_mailbox/postfix_relayer.rb @@ -11,7 +11,7 @@ module ActionMailbox end def failure? - output.match?(/\A[45]\.\d\.\d /) + output.match?(/\A[45]\.\d{1,3}\.\d{1,3}(\s|\z)/) end end |