Re: [vchkpw] spamassassin errors using vpopmail (vuserinfo)

2004-06-21 Thread X-Istence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charles M. Gerungan wrote:
> Hello X-Istence,
>
> On Mon, 21 Jun 2004 20:57:40 -0400 X-Istence wrote:
>
> XI> What i found is that if i give vpopmail a shell (/bin/sh), all works
> XI> perfectly and i have no problems what so ever. (This is on FreeBSD
4.10)
>
> Which makes me wonder. How do you invoke spamd? (I'll show you mine if
> you'll show me yours :)
>
> [EMAIL PROTECTED] /usr/local/etc/svc.d/spamd # cat run
> #!/bin/sh
> exec /usr/local/bin/spamd -m 20 -a -H -v -u vpopmail -s stderr 2>&1
>

mkdir /var/spamd-service
cd /var/spamd-service
echo "#\!/bin/sh" > run
echo "exec /usr/local/bin/spamd -a -c -m 20 -v -u vpopmail" >> run
chmod +x run
mkdir log
cd log
cat << EOF > run
#!/bin/sh
exec setuidgid qmaill \
multilog \
t \
./main
EOF
chmod +x run
mkdir main
chown qmaill:qmail main
chmod +s main

:)

X-Istence
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA15lZJukONu5DUaQRAuiVAJ4pb17GrG5e0JPrSsLnYIThyddLMACeMFjH
dadvVPXbhepZx3IEACoauRk=
=klcv
-END PGP SIGNATURE-


Re: [vchkpw] spamassassin errors using vpopmail (vuserinfo)

2004-06-21 Thread Charles M. Gerungan
Hello X-Istence,

On Mon, 21 Jun 2004 20:57:40 -0400 X-Istence wrote:

XI> What i found is that if i give vpopmail a shell (/bin/sh), all works
XI> perfectly and i have no problems what so ever. (This is on FreeBSD 4.10)

Which makes me wonder. How do you invoke spamd? (I'll show you mine if
you'll show me yours :)

[EMAIL PROTECTED] /usr/local/etc/svc.d/spamd # cat run
#!/bin/sh
exec /usr/local/bin/spamd -m 20 -a -H -v -u vpopmail -s stderr 2>&1

-- 
Regards, Charles.



Re: [vchkpw] spamassassin errors using vpopmail (vuserinfo)

2004-06-21 Thread Charles M. Gerungan
Hello X-Istence,

On Mon, 21 Jun 2004 20:57:40 -0400 X-Istence wrote:

>> What's going on? This appears in my spamd log while processing a single
>> message:
>>
>> 2004-06-22 00:06:14.621893500 clean message (0.8/5.0) for (unknown):89
XI> in 0.5 seconds, 823 bytes.

XI> That is what causes it. since it does not pass vuserinfo a proper
XI> username, it can do nothing.

XI> Which is why you get the error messages you are getting.

XI> What i found is that if i give vpopmail a shell (/bin/sh), all works
XI> perfectly and i have no problems what so ever. (This is on FreeBSD 4.10)

Tried this, but it didn't solve it (FreeBSD 4.9). The funny thing is
that it does process the message. It even finds (and processes)
~vpopmail/domain/user/.spamassassin/user_prefs!

-- 
Regards, Charles.



Re: [vchkpw] spamassassin errors using vpopmail (vuserinfo)

2004-06-21 Thread X-Istence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charles M. Gerungan wrote:
> What's going on? This appears in my spamd log while processing a single
> message:
>
> 2004-06-22 00:06:14.621893500 clean message (0.8/5.0) for (unknown):89
in 0.5 seconds, 823 bytes.

That is what causes it. since it does not pass vuserinfo a proper
username, it can do nothing.

Which is why you get the error messages you are getting.

What i found is that if i give vpopmail a shell (/bin/sh), all works
perfectly and i have no problems what so ever. (This is on FreeBSD 4.10)

So i don't know where the problem lies, but i know it fixed it for me.
See if that works for you :).

X-Istence

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA14QEJukONu5DUaQRAl/yAJ97vC2itMfQKmXn65ukfSXteWpeigCfbsxZ
CEOEhjHI8yyA1uDxht9oVwk=
=FZ1i
-END PGP SIGNATURE-


[vchkpw] spamassassin errors using vpopmail (vuserinfo)

2004-06-21 Thread Charles M. Gerungan
What's going on? This appears in my spamd log while processing a single
message:

2004-06-22 00:06:14.075648500 connection from 35119.ds.nac.net [127.0.0.1] at port 1222
2004-06-22 00:06:14.088594500 Unsuccessful stat on filename containing newline at 
/usr/local/bin/spamd line 1102,  line 2.
2004-06-22 00:06:14.106306500 Unsuccessful open on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 1005,  line 2.
2004-06-22 00:06:14.106313500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 1277,  line 2.
2004-06-22 00:06:14.106319500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 131,  line 2.
2004-06-22 00:06:14.106325500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 133,  line 2.
2004-06-22 00:06:14.106344500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 131,  line 2.
2004-06-22 00:06:14.106350500 security: cannot untaint path: "vuserinfo: usage: 
[options] email_address
2004-06-22 00:06:14.106355500 options: -v (print version number)
2004-06-22 00:06:14.106360500  -a (display all fields, this is the default)
2004-06-22 00:06:14.106409500  -n (display name field)
2004-06-22 00:06:14.106415500  -p (display crypted password)
2004-06-22 00:06:14.106420500  -u (display uid field)
2004-06-22 00:06:14.106424500  -g (display gid field)
2004-06-22 00:06:14.106429500  -c (display comment field)
2004-06-22 00:06:14.106433500  -d (display directory)
2004-06-22 00:06:14.106438500  -q (display quota field)
2004-06-22 00:06:14.106456500  -Q (display quota usage)
2004-06-22 00:06:14.106460500  -C (display clear text password)
2004-06-22 00:06:14.106465500  -l (display last authentication time)
2004-06-22 00:06:14.106470500  -D domainname (show all users on this 
domain)/.spamassassin/bayes"
2004-06-22 00:06:14.106475500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/BayesStore.pm line 145, 
 line 2.
2004-06-22 00:06:14.106499500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/BayesStore.pm line 145, 
 line 2.
2004-06-22 00:06:14.106506500 processing message <[EMAIL PROTECTED]> for (unknown):89.
2004-06-22 00:06:14.106511500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 1277,  line 28.
2004-06-22 00:06:14.106523500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 131,  line 28.
2004-06-22 00:06:14.106528500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 133,  line 28.
2004-06-22 00:06:14.106534500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 131,  line 28.
2004-06-22 00:06:14.106560500 security: cannot untaint path: "vuserinfo: usage: 
[options] email_address
2004-06-22 00:06:14.106565500 options: -v (print version number)
2004-06-22 00:06:14.106570500  -a (display all fields, this is the default)
2004-06-22 00:06:14.106575500  -n (display name field)
2004-06-22 00:06:14.106579500  -p (display crypted password)
2004-06-22 00:06:14.106584500  -u (display uid field)
2004-06-22 00:06:14.106596500  -g (display gid field)
2004-06-22 00:06:14.106601500  -c (display comment field)
2004-06-22 00:06:14.106605500  -d (display directory)
2004-06-22 00:06:14.106610500  -q (display quota field)
2004-06-22 00:06:14.106614500  -Q (display quota usage)
2004-06-22 00:06:14.106619500  -C (display clear text password)
2004-06-22 00:06:14.106623500  -l (display last authentication time)
2004-06-22 00:06:14.106628500  -D domainname (show all users on this 
domain)/.spamassassin/bayes"
2004-06-22 00:06:14.106637500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/BayesStore.pm line 145, 
 line 28.
2004-06-22 00:06:14.106643500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/BayesStore.pm line 145, 
 line 28.
2004-06-22 00:06:14.612214500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 1277.
2004-06-22 00:06:14.620931500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 131.
2004-06-22 00:06:14.620939500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 133.
2004-06-22 00:06:14.620944500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line