Looks to me like
# chown vpopmail:vchkpw /usr/local/bin/dccproc
should do the trick.

Gilbert T. Gutierrez, Jr. wrote:
I ran it a second time as root, and it worked. Now if I run it as the user that spamassassin uses, it fails as follows...

sudo -u vpopmail -H spamassassin -t -D < spam-mail.txt


[19415] dbg: dcc: dccifd is not available: no r/w dccifd socket found
[19415] dbg: dcc: dccproc is available: /usr/local/bin/dccproc
[19415] dbg: info: entering helper-app run mode
[19415] dbg: dcc: opening pipe: /usr/local/bin/dccproc -H -x 0 -a 200.121.186.163 < /tmp/.spamassassin19415wiXvqCtmp
[19652] dbg: util: setuid: ruid=89 euid=89
[19415] dbg: dcc: got response: /var/dcc: Permission denied
[19415] dbg: info: leaving helper-app run mode
[19415] dbg: dcc: check failed: no X-DCC returned (did you create a map file?): /var/dcc: Permission denied

So it is a permissions issue. I need to change the dcc folder permissions. This always scares me, should I change the user or the group?

Gilbert

----- Original Message ----- From: "Richard Vinke" <rich...@vogelnestje.nl>
To: <qmailtoaster-list@qmailtoaster.com>
Sent: Friday, March 20, 2009 1:23 PM
Subject: Re: [qmailtoaster] DCC


To check DCC, download the test message at
http://kb.atmail.com/attach/spam-mail.txt and start it with spamassassin
-t -D < spam-mail.txt.



Gilbert T. Gutierrez, Jr. wrote:
Thanks for the responses to the Razor question I asked.  I did not
need to change anything to get it to work other than ...
1. edit the /etc/mail/spamassassin/.razor/razor-agent.conf and add
"razorhome = /etc/mail/spamassassin/.razor/"
2. enable the plugin in v310.pre
3. edit the local.cf and add "use razor2" and "razor_config
/etc/mail/spamassassin/.razor/razor-agent.conf"

"sudo -u vpopmail -H spamassassin -D --lint" gives no errors and
messages are being marked correctly.

Now I am trying to enable DCC and am having issues.  I maybe doing
something wrong.  This is what I have done...
1. I configured DCC using "./configure --disable-sys-inst
--disable-server --disable-dccm --disable-dccifd"
2. edit the local.cf and add "use_dcc 1' and "dcc_path
/usr/local/bin/dccproc"
3. enable the plugin in v310.pre

"sudo -u vpopmail -H spamassassin -D --lint" gives no errors.  I have
not seen any messages with a header marked regarding DCC so I do not
think that it is working.  The spamd log file is also not showing any
thing.

What am I doing wrong?

Thank you,
Gilbert

---------------------------------------------------------------------------------


--
-Eric 'shubes'


---------------------------------------------------------------------------------
                Managed Qmailtoaster servers are now available
      Visit http://qmailtoaster.com/QMTManaged.html to order yours today!

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

    Please visit qmailtoaster.com for the latest news, updates, and packages.


         To unsubscribe, e-mail: testing-unsubscr...@qmailtoaster.com
        For additional commands, e-mail: testing-h...@qmailtoaster.com


Reply via email to