summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjacekm <jacekm@openbsd.org>2009-08-26 09:12:41 +0000
committerjacekm <jacekm@openbsd.org>2009-08-26 09:12:41 +0000
commit610711d7def31358435a7e8998e41b70a9305864 (patch)
tree57f5bc901a5b5365cd28296131179cd63fdf31cf
parentAdd ogg media types from RFC 5334 and update application/ogg as well. (diff)
downloadwireguard-openbsd-610711d7def31358435a7e8998e41b70a9305864.tar.xz
wireguard-openbsd-610711d7def31358435a7e8998e41b70a9305864.zip
Do not add Delivered-To to outgoing mail. It will result in premature
bounce as soon as it hits mx2 in mx1 -> mx2 -> mx3 relay chain. hint by sthen@, ok gilles@
-rw-r--r--usr.sbin/smtpd/mta.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c
index 0cc9cc0ac01..357c7a052fa 100644
--- a/usr.sbin/smtpd/mta.c
+++ b/usr.sbin/smtpd/mta.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mta.c,v 1.67 2009/08/08 23:02:43 gilles Exp $ */
+/* $OpenBSD: mta.c,v 1.68 2009/08/26 09:12:41 jacekm Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -929,11 +929,6 @@ mta_reply_handler(struct bufferevent *bev, void *arg)
SSL_get_cipher_name(sessionp->s_ssl),
SSL_get_cipher_bits(sessionp->s_ssl, NULL));
}
-
- session_respond(sessionp, "Delivered-To: %s@%s",
- batchp->message.sender.user,
- batchp->message.sender.domain);
-
break;
}
case S_DONE: