Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2015 05:17:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199797] mail/postsrsd does not handle postsrsd_exclude_domains correctly
Message-ID:  <bug-199797-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199797

            Bug ID: 199797
           Summary: mail/postsrsd does not handle postsrsd_exclude_domains
                    correctly
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: idefix@fechner.net
                CC: ports@bsdserwis.com
             Flags: maintainer-feedback?(ports@bsdserwis.com)
                CC: ports@bsdserwis.com

It is possible to add several domains to a list of ignored domains for
postsrsd.
This is important do not break SPF records for domains hosted on this host,
especially if you have a multi-domain setup.
For this the option in /etc/rc.conf could be used:
postsrsd_exclude_domains="domain1.de,domain2.com,domain3.org"

If you define here several domain postsrsd will fail to start.
Please apply the following patch to fix this:
--- files/postsrsd.in.old       2015-04-30 07:08:36.186078678 +0200
+++ files/postsrsd.in   2015-04-30 07:08:48.202079334 +0200
@@ -67,7 +67,7 @@
     postsrsd_idle_timeout="-t ${postsrsd_idle_timeout}"
 fi
 if [ "x${postsrsd_exclude_domains}" != "x" ];then
-    postsrsd_exclude_domains="-X ${postsrsd_exclude_domains}"
+    postsrsd_exclude_domains="-X${postsrsd_exclude_domains}"
 fi

Thanks a lot.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199797-13>