[arch-general] archwiki posfix/razor register razor fails

David C. Rankin drankinatty at suddenlinkmail.com
Tue Oct 18 05:42:50 UTC 2016


All,

  Does https://wiki.archlinux.org/index.php/Postfix#Using_Razor need to be
updated? Attempting to register razor fails at:

 # mkdir /etc/mail/spamassassin/razor
 # chown spamd:spamd /etc/mail/spamassassin/razor
 # sudo -u spamd -s
 $ razor-admin -home=/etc/mail/spamassassin/razor -register
Can't locate Razor2/Client/Agent.pm:   lib/Razor2/Client/Agent.pm: Permission
denied at /usr/bin/vendor_perl/razor-admin line 15.
BEGIN failed--compilation aborted at /usr/bin/vendor_perl/razor-admin line 15.

  The complained about line in /usr/bin/vendor_perl/razor-admin is:

use Razor2::Client::Agent;

  Is this a perl issue?, spamassassin issue? or razor issue? The razor directory
is created with the proper permissions, e.g.

# ll /etc/mail/spamassassin/
total 40
drwxr-xr-x 2 spamd spamd 4096 Oct 18 00:28 razor
<snip>

  What say the experts?

-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list