Lines Matching refs:why

127     my $why    = $result->local_explanation;
141 $self->log(LOGINFO, "pass, $why");
146 $self->log(LOGINFO, "skip, tolerated ($code: $why)");
147 return (DECLINED, "SPF - $code: $why");
151 return $self->handle_code_none($reject, $why) if $code eq 'none';
152 return $self->handle_code_fail($reject, $why) if $code eq 'fail';
153 return $self->handle_code_softfail($reject, $why) if $code eq 'softfail';
157 $self->log(LOGINFO, "fail, $code, $why");
158 return (DENY, "SPF - $code: $why");
160 $self->log(LOGINFO, "fail, tolerated, $code, $why");
164 $self->log(LOGINFO, "fail, $code, $why") if $reject > 3;
165 return (DENY, "SPF - $code: $why") if $reject >= 6;
166 return (DENYSOFT, "SPF - $code: $why") if $reject > 3;
167 $self->log(LOGINFO, "fail, tolerated, $code, $why");
171 $self->log(LOGINFO, "fail, $code, $why");
172 return (DENYSOFT, "SPF - $code: $why") if $reject >= 2;
173 $self->log(LOGINFO, "fail, tolerated, $code, $why");
177 $self->log(LOGINFO, "SPF from $from was $code: $why");
182 my ($self, $reject, $why) = @_;
185 $self->log(LOGINFO, "fail, none, $why");
186 return (DENY, "SPF - none: $why");
189 $self->log(LOGINFO, "skip, tolerated, none, $why");
194 my ($self, $reject, $why) = @_;
199 $self->log(LOGINFO, "fail, $why");
200 return (DENY, "SPF - forgery: $why") if $reject >= 3;
201 return (DENYSOFT, "SPF - fail: $why");
204 $self->log(LOGINFO, "fail, tolerated, $why");
209 my ($self, $reject, $why) = @_;
214 $self->log(LOGINFO, "fail, soft, $why");
215 return (DENY, "SPF - fail: $why") if $reject >= 4;
216 return (DENYSOFT, "SPF - fail: $why") if $reject >= 3;
219 $self->log(LOGINFO, "fail, tolerated, soft, $why");