Re: [spamdyke-users] smtp auth

2009-09-28 Thread Sam Clippinger
I think the problem is the argument to the smtp-auth-command parameter. Because there is a space between vchkpw and /bin/true, spamdyke doesn't know they should both be part of the smtp-auth-command. When an incoming connection starts, spamdyke runs the /bin/true executable instead of

Re: [spamdyke-users] I can hardly make a SMTPS connection

2009-09-28 Thread Sam Clippinger
The executable error is occurring because the script is marked setuid instead of just executable. The message is incorrect -- I'll fix it in the next version. However (IIRC), I don't believe the setuid bit has any effect on scripts in Linux environments. The encrypted authentication failure

Re: [spamdyke-users] I do not get ALLOWED_AUTHENTICATED

2009-09-28 Thread Sam Clippinger
Authentication failures are only logged to the syslog when the log-level option is verbose or excessive. Logging them at lower levels could allow one misconfigured mail client to quickly fill a server's logs with failure messages. Yes, my mention of full log files was in reference to the

Re: [spamdyke-users] I can hardly make a SMTPS connection

2009-09-28 Thread David Bo Jensen
The executable error is occurring because the script is marked setuid instead of just executable. The message is incorrect -- I'll fix it in the next version. However (IIRC), I don't believe the setuid bit has any effect on scripts in Linux environments. You are right but instead of a script

Re: [spamdyke-users] SMTP auth. and access right to certificates for SMTPS (maybe bugs, but a workaround is found)

2009-09-28 Thread Sam Clippinger
The group permissions on your TLS certificate aren't working because your script explicitly sets the group to nobody when tcpserver starts. Entries in /etc/groups only affects interactive logins, not daemon processes like tcpserver. Try changing your script from this: -g `id -g nobody` To

Re: [spamdyke-users] smtp auth

2009-09-28 Thread Kulkarni Shantanu
* Sam Clippinger s...@silence.org [090928 22:13]: I think the problem is the argument to the smtp-auth-command parameter. Because there is a space between vchkpw and /bin/true, spamdyke doesn't know they should both be part of the smtp-auth-command. When an incoming connection starts,

Re: [spamdyke-users] smtp auth

2009-09-28 Thread Sam Clippinger
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 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

Re: [spamdyke-users] SMTP auth. and access right to certificates for SMTPS (maybe bugs, but a workaround is found)

2009-09-28 Thread David Bo Jensen
The group permissions on your TLS certificate aren't working because your script explicitly sets the group to nobody when tcpserver starts. Entries in /etc/groups only affects interactive logins, not daemon processes like tcpserver. Try changing your script from this: -g `id -g nobody`