diff options
author | 2013-12-12 14:47:37 +0100 | |
---|---|---|
committer | 2013-12-12 14:47:37 +0100 | |
commit | 6e5595b7c3c30e078eba252deeb44b4bf87640cc (patch) | |
tree | 4181100ce6f4b67d68de0900b016aa03555d42ec | |
parent | Merge branch 'master' into 376-SNI (diff) | |
download | OpenSMTPD-6e5595b7c3c30e078eba252deeb44b4bf87640cc.tar.xz OpenSMTPD-6e5595b7c3c30e078eba252deeb44b4bf87640cc.zip |
do not disable routes on smtp errors anymore.
-rw-r--r-- | smtpd/mta.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/smtpd/mta.c b/smtpd/mta.c index 2eaaed4c..bed00d0f 100644 --- a/smtpd/mta.c +++ b/smtpd/mta.c @@ -604,6 +604,7 @@ mta_source_error(struct mta_relay *relay, struct mta_route *route, const char *e void mta_route_error(struct mta_relay *relay, struct mta_route *route) { +#if 0 route->nerror += 1; if (route->nerror > MAXERROR_PER_ROUTE) { @@ -611,6 +612,7 @@ mta_route_error(struct mta_relay *relay, struct mta_route *route) "disabling for a while", mta_route_to_text(route)); mta_route_disable(route, 2, ROUTE_DISABLED_SMTP); } +#endif } void @@ -634,7 +636,9 @@ mta_route_ok(struct mta_relay *relay, struct mta_route *route) void mta_route_down(struct mta_relay *relay, struct mta_route *route) { +#if 0 mta_route_disable(route, 2, ROUTE_DISABLED_SMTP); +#endif } void |