summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-08-26 09:12:42 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-08-26 09:12:42 +0000
commitbe723d6f3f5282fb946863c4d362a1b670bb530a (patch)
tree0ebf82be28ef1d4710fcbfe3ae43d07b8fceaa9e /usr.sbin
parent489c6061142d8f70e9ddc97c1d4b5cac7422553b (diff)
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@
Diffstat (limited to 'usr.sbin')
-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: