https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7763

            Bug ID: 7763
           Summary: ssl tests must be run as root
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Building & Packaging
          Assignee: dev@spamassassin.apache.org
          Reporter: fr...@morgul.net
  Target Milestone: Undefined

Created attachment 5678
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5678&action=edit
spamd_tests_use_unprivileged_port.diff

The tests in t/spamd_ssl.t and t/spamd_ssl_accept_fail.t run spamd with the
default port configuration, which uses a privileged port and must thus be run
as root. Aside from binding to port 783, there's nothing about those tests that
requires privileges. We should consider switching to an unprivileged port.
Either that or we should skip these tests when running as non-root, but that
seems unnecessary.

Proposed fix to trunk is attached. I'd apply something similar to the 3.4
branch as well.

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

Reply via email to