-/* $OpenBSD: parse.y,v 1.185 2016/06/21 21:35:25 benno Exp $ */
+/* $OpenBSD: parse.y,v 1.186 2016/07/01 17:53:23 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
lo->hostname = conf->sc_hostname;
l->ss.ss_family = AF_LOCAL;
l->ss.ss_len = sizeof(struct sockaddr *);
+ l->local = 1;
config_listener(l, lo);
return (l);
-/* $OpenBSD: smtp_session.c,v 1.278 2016/06/29 06:46:06 eric Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.279 2016/07/01 17:53:23 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
rfc2822_body_callback(&s->tx->rfc2822_parser,
dataline_callback, s);
- if (hostname || listener->local || listener->port == 587) {
+ if (listener->local || listener->port == 587) {
rfc2822_missing_header_callback(&s->tx->rfc2822_parser, "date",
header_missing_callback, s);
rfc2822_missing_header_callback(&s->tx->rfc2822_parser, "message-id",