Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: whitelist_from doesn't work.


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176902


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|spamassassin                |selinux-policy-targeted
         AssignedTo|[EMAIL PROTECTED]          |[EMAIL PROTECTED]




------- Additional Comments From [EMAIL PROTECTED]  2006-01-04 20:12 EST -------
spamd is being run as

/usr/bin/spamd -d -c -m5 -H -r /var/run/spamassassin/spamd.pid

no -u or -x.


spamc is being run from 'davej's .procmailrc, with this simple fragment..
:0fw
* < 256000
| /usr/bin/spamc

so it should be running as user 'davej'


note also, that even with ~/.spamassassin as mode 777, it still spews those
errors about being unable to write the config/locks there.

Jan  4 19:33:58 nwo spamd[32478]: spamd: connection from localhost.localdomain
[127.0.0.1] at port 38169
Jan  4 19:33:58 nwo spamd[32478]: spamd: setuid to davej succeeded
Jan  4 19:33:58 nwo spamd[32478]: spamd: creating default_prefs:
/home/davej/.spamassassin/user_prefs
Jan  4 19:33:58 nwo spamd[32478]: mkdir /home/davej: File exists at
/usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin.pm line 1467
Jan  4 19:33:58 nwo spamd[32478]: config: cannot write to
/home/davej/.spamassassin/user_prefs: Permission denied
Jan  4 19:33:58 nwo spamd[32478]: spamd: failed to create readable
default_prefs: /home/davej/.spamassassin/user_prefs
Jan  4 19:33:58 nwo spamd[32478]: mkdir /home/davej: File exists at
/usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin.pm line 1467
Jan  4 19:33:58 nwo spamd[32478]: spamd: processing message
<[EMAIL PROTECTED]> aka
<[EMAIL PROTECTED]> for davej:500
Jan  4 19:33:58 nwo spamd[32478]: mkdir /home/davej: File exists at
/usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin.pm line 1467
Jan  4 19:33:58 nwo spamd[32478]: locker: safe_lock: cannot create tmp lockfile
/home/davej/.spamassassin/auto-whitelist.lock.nwo.kernelslacker.org.32478 for
/home/davej/.spamassassin/auto-whitelist.lock: Permission denied
Jan  4 19:33:58 nwo spamd[32478]: auto-whitelist: open of auto-whitelist file
failed: locker: safe_lock: cannot create tmp lockfile
/home/davej/.spamassassin/auto-whitelist.lock.nwo.kernelslacker.org.32478 for
/home/davej/.spamassassin/auto-whitelist.lock: Permission denied
Jan  4 19:33:58 nwo spamd[32478]: Can't call method "finish" on an undefined
value at /usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin/Plugin/AWL.pm line
397, <GEN41> line 114.
Jan  4 19:33:58 nwo spamd[32478]: spamd: clean message (1.5/5.0) for davej:500
in 0.2 seconds, 4995 bytes.
Jan  4 19:33:58 nwo spamd[32478]: spamd: result: .  1 -
DATE_IN_FUTURE_06_12,UNPARSEABLE_RELAY
scantime=0.2,size=4995,user=davej,uid=500,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=38169,mid=<[EMAIL
 PROTECTED]>,rmid=<[EMAIL PROTECTED]>,autolearn=no
Jan  4 19:33:59 nwo spamd[32472]: prefork: child states: II


investigating further, this looks like an selinux policy problem.
If I run 'setenforce 0', it's able to read the config file.

reassigning to selinux-policy package.


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

--
Fedora-perl-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

Reply via email to