aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/mta.c
diff options
context:
space:
mode:
Diffstat (limited to 'smtpd/mta.c')
-rw-r--r--smtpd/mta.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/smtpd/mta.c b/smtpd/mta.c
index 881ac1bb..1b2a54f0 100644
--- a/smtpd/mta.c
+++ b/smtpd/mta.c
@@ -491,16 +491,13 @@ mta_source_error(struct mta_relay *relay, struct mta_route *route, const char *e
* Also, we need a timeout on that.
*/
void
-mta_route_error(struct mta_relay *relay, struct mta_route *route, const char *e)
+mta_route_error(struct mta_relay *relay, struct mta_route *route)
{
route->dst->nerror++;
if (route->dst->flags & HOST_IGNORE)
return;
- log_info("smtp-out: Error on route %s: %s",
- mta_route_to_text(route), e);
-
if (route->dst->nerror > MAXERROR_PER_HOST) {
log_info("smtp-out: Too many errors on host %s: ignoring this MX",
mta_host_to_text(route->dst));