Skip to content

Commit

Permalink
Some error reasons have been changed from "securityerror" to "authfai…
Browse files Browse the repository at this point in the history
…lure" #467
  • Loading branch information
azumakuniyuki committed Nov 4, 2022
1 parent bca241c commit 5b4f2e2
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion t/653-lhost-exim.t
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ my $isexpected = {
'06' => [['4.0.947', '', 'expired', 0]],
'07' => [['4.0.922', '', 'mailboxfull', 0]],
'08' => [['4.0.947', '', 'expired', 0]],
'29' => [['5.0.0', '550', 'blocked', 0]],
'29' => [['5.0.0', '550', 'authfailure', 0]],
'30' => [['5.7.1', '554', 'userunknown', 1]],
'31' => [['5.0.912', '', 'hostunknown', 1]],
'32' => [['5.0.971', '571', 'blocked', 0]],
Expand Down
2 changes: 1 addition & 1 deletion t/750-lhost-office365.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ my $isexpected = {
# INDEX => [['D.S.N.', 'replycode', 'REASON', 'hardbounce'], [...]]
'01' => [['5.1.10', '550', 'userunknown', 1]],
'02' => [['5.1.1', '550', 'userunknown', 1]],
'03' => [['5.1.0', '550', 'blocked', 0]],
'03' => [['5.1.0', '550', 'authfailure', 0]],
'04' => [['5.1.351', '550', 'filtered', 0]],
'05' => [['5.1.8', '501', 'rejected', 0]],
'06' => [['5.4.312', '550', 'networkerror', 0]],
Expand Down
8 changes: 4 additions & 4 deletions t/760-lhost-postfix.t
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ my $isexpected = {
'67' => [['5.7.9', '554', 'policyviolation', 0]],
'68' => [['5.0.0', '554', 'policyviolation', 0]],
'69' => [['5.7.9', '554', 'policyviolation', 0]],
'70' => [['5.7.26', '550', 'policyviolation', 0]],
'71' => [['5.7.1', '554', 'policyviolation', 0]],
'72' => [['5.7.1', '550', 'policyviolation', 0]],
'73' => [['5.7.1', '550', 'policyviolation', 0]],
'70' => [['5.7.26', '550', 'authfailure', 0]],
'71' => [['5.7.1', '554', 'authfailure', 0]],
'72' => [['5.7.1', '550', 'authfailure', 0]],
'73' => [['5.7.1', '550', 'authfailure', 0]],
'74' => [['4.7.0', '421', 'blocked', 0]],
'75' => [['4.3.0', '451', 'systemerror', 0]],
'76' => [['5.0.0', '550', 'userunknown', 1]],
Expand Down
2 changes: 1 addition & 1 deletion t/791-lhost-sendmail.t
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ my $isexpected = {
'55' => [['4.5.0', '451', 'mailererror', 0]],
'56' => [['5.5.0', '554', 'blocked', 0]],
'57' => [['5.7.27', '550', 'notaccept', 1]],
'58' => [['5.7.1', '550', 'policyviolation', 0]],
'58' => [['5.7.1', '550', 'authfailure', 0]],
'59' => [['5.7.1', '550', 'rejected', 0]],
};

Expand Down
2 changes: 1 addition & 1 deletion xt/653-lhost-exim.t
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ my $isexpected = {
['5.3.4', '552', 'mesgtoobig', 0]],
'01162' => [['5.7.1', '550', 'blocked', 0]],
'01163' => [['5.1.1', '550', 'mailboxfull', 0]],
'01164' => [['5.7.1', '553', 'blocked', 0]],
'01164' => [['5.7.1', '553', 'authfailure', 0]],
'01165' => [['5.7.1', '550', 'spamdetected', 0]],
'01168' => [['4.0.947', '', 'expired', 0]],
'01169' => [['5.4.3', '', 'systemerror', 0]],
Expand Down
2 changes: 1 addition & 1 deletion xt/750-lhost-office365.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ my $isexpected = {
'01007' => [['5.1.1', '550', 'userunknown', 1]],
'01008' => [['5.1.1', '550', 'userunknown', 1]],
'01009' => [['5.0.0', '553', 'securityerror', 0]],
'01010' => [['5.1.0', '550', 'blocked', 0]],
'01010' => [['5.1.0', '550', 'authfailure', 0]],
'01011' => [['5.1.351', '550', 'filtered', 0]],
'01012' => [['5.1.8', '501', 'rejected', 0]],
'01013' => [['5.4.312', '550', 'networkerror', 0]],
Expand Down
14 changes: 7 additions & 7 deletions xt/760-lhost-postfix.t
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,13 @@ my $isexpected = {
'01224' => [['5.7.9', '554', 'policyviolation', 0]],
'01225' => [['5.0.0', '554', 'policyviolation', 0]],
'01226' => [['5.7.9', '554', 'policyviolation', 0]],
'01227' => [['5.7.26', '550', 'policyviolation', 0]],
'01228' => [['5.7.1', '554', 'policyviolation', 0]],
'01229' => [['5.7.1', '550', 'policyviolation', 0]],
'01230' => [['5.7.1', '550', 'policyviolation', 0]],
'01231' => [['5.7.1', '550', 'policyviolation', 0],
['5.7.1', '550', 'policyviolation', 0],
['5.7.1', '550', 'policyviolation', 0]],
'01227' => [['5.7.26', '550', 'authfailure', 0]],
'01228' => [['5.7.1', '554', 'authfailure', 0]],
'01229' => [['5.7.1', '550', 'authfailure', 0]],
'01230' => [['5.7.1', '550', 'authfailure', 0]],
'01231' => [['5.7.1', '550', 'authfailure', 0],
['5.7.1', '550', 'authfailure', 0],
['5.7.1', '550', 'authfailure', 0]],
'01232' => [['4.7.0', '421', 'blocked', 0]],
'01233' => [['5.0.0', '550', 'blocked', 0]],
'01234' => [['5.0.0', '553', 'blocked', 0]],
Expand Down
8 changes: 4 additions & 4 deletions xt/791-lhost-sendmail.t
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ my $isexpected = {
'01219' => [['5.7.27', '550', 'notaccept', 1]],
'01220' => [['5.7.1', '550', 'policyviolation', 0]],
'01221' => [['5.6.0', '552', 'contenterror', 0]],
'01222' => [['5.7.1', '550', 'policyviolation', 0]],
'01223' => [['5.7.1', '550', 'policyviolation', 0]],
'01224' => [['5.7.1', '550', 'policyviolation', 0]],
'01225' => [['5.7.1', '550', 'policyviolation', 0]],
'01222' => [['5.7.1', '550', 'authfailure', 0]],
'01223' => [['5.7.1', '550', 'authfailure', 0]],
'01224' => [['5.7.1', '550', 'authfailure', 0]],
'01225' => [['5.7.1', '550', 'authfailure', 0]],
'01226' => [['5.7.1', '550', 'rejected', 0]],
'01227' => [['5.7.1', '550', 'rejected', 0]],
'01228' => [['5.1.1', '550', 'userunknown', 1]],
Expand Down

0 comments on commit 5b4f2e2

Please sign in to comment.