What are the permissions on the copy you made in /bin?  On my server, 
vchkpw is owned by root and is marked setuid.  You might need to do the 
same thing.

-- Sam Clippinger

Kulkarni Shantanu wrote:
> * Sam Clippinger <s...@silence.org> [090929 08:53]:
>   
>> The script you posted did not include any details about which user is 
>> running tcpserver, but it looks like that user does not have permission 
>>     
>
> qmaild.
>
>   
>> to run /home/vpopmail/bin/vchkpw.  If that file's mode is 711, take a 
>> look at the permissions on the folders /home/vpopmail/bin, 
>>     
>
>   
>> /home/vpopmail and /home to make sure the user can read from each of 
>> those directories.
>>     
>
> i copied  /home/vpopmail/bin/vchkpw to /bin/vchkpw
>
> now i get error like this (even though username/password is correct).
>
> @400000004ac1e82d1ec17b54 spamdyke[20542]: ERROR: authentication error 3
> (vchkpw uses this to indicate an unknown username or authentication
> failure): m...@example.com
>
> my run file looks like this (from
> http://spamdyke.org/documentation/INSTALL.txt example),
>
>     envuidgid qmaild \
>     softlimit ...
>     /usr/local/bin/tcpserver \
>     ...
>     ...
>     ...
>     /var/qmail/bin/spamdyke408 --log-target stderr -lverbose -a 20 \
>     --smtp-auth-level always --smtp-auth-command "/bin/vchkpw /bin/true" 
> /var/qmail/bin/qmail-smtpd /bin/vchkpw /bin/true
>
> I also tried quoting the final "/bin/vchkpw /bin/true" - but same error.
> is there any switch required for smtp auth which i am missing?
>
> thanks,
> Shantanu
>   
_______________________________________________
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to