http://bugzilla.spamassassin.org/show_bug.cgi?id=3623
Summary: sa-learn doesn't work when setgid/setuid
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P5
Component: Learner
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
I need to run sa-learn setgid so it can pick up a configuration file (contain
SQL passwords, so isn't normally readable). Problem is, sa-learn doesn't work
too well when setgid (or setuid):
% sa-learn
SpamAssassin version 3.0.0-pre2-r22977
Can't open /dev/fd/4 for reading: Bad file number
at /dev/fd/4 line 477
%
This is line 477:
pod2usage( -verbose => $verbose, -message => $message, -exitval => 64 );
Commenting it out seems to make the problem go away. No ideas on a proper
solution though.
Tim.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.