Re: [Qmail-scanner-general]Fix if the user exist

2004-12-09 Thread Jason Haar
Riccardo Bini wrote: Hi, it's possible to change the mode to detect if qscand exist?? i have qscand user in ldap and in the configure file there is: UU=`grep "^$QS_USER" /etc/passwd | sed -e "s/^\$QS_USER:.*$/\$QS_USER/"` It's better: UU=`id -u $QS_USER` You're absolutely right. I have tried e

[Qmail-scanner-general]Fix if the user exist

2004-12-09 Thread Riccardo Bini
Hi, it's possible to change the mode to detect if qscand exist?? i have qscand user in ldap and in the configure file there is: UU=`grep "^$QS_USER" /etc/passwd | sed -e "s/^\$QS_USER:.*$/\$QS_USER/"` It's better: UU=`id -u $QS_USER` Bye Rick