summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-09-13 22:33:53 -0300
committerDavid Bremner <bremner@debian.org>2018-01-27 12:06:09 -0400
commit51c5701950bf4d41d9525ba59706cc9a774dd581 (patch)
tree3a8682efa302879536ffe587d00e3aced7ccca26 /src
parentd9db61f4f2cb4772f6d2c31e3c299562ef2bee02 (diff)
Allow unqualified sender address
This patch allows unqualified domain names for senders and recipients, because are required in some use cases (Debian bug #504184). The associated post-build tests were also disabled. Author: Felix Lechner <felix.lechner@lease-up.com> Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504184 Last-Update: 2017-09-07 Gbp-Pq: Name 0004-Allow-unqualified-sender-address.patch
Diffstat (limited to 'src')
-rw-r--r--src/queue.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/queue.cc b/src/queue.cc
index ff5d936..d85676a 100644
--- a/src/queue.cc
+++ b/src/queue.cc
@@ -91,8 +91,6 @@ bool validate_addr(mystring& addr, bool recipient)
addr = adminaddr;
else if (!recipient && !!allmailfrom)
addr = allmailfrom;
- else if(hostname.find_first('.') < 0)
- return false;
return true;
}