[Bug 199797] mail/postsrsd does not handle postsrsd_exclude_domains correctly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 30 05:17:37 UTC 2015


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 at FreeBSD.org
          Reporter: idefix at fechner.net
                CC: ports at bsdserwis.com
             Flags: maintainer-feedback?(ports at bsdserwis.com)
                CC: ports at 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.


More information about the freebsd-ports-bugs mailing list