After emerging vchkuser and configured in the smtpplugins configuration file of QMail, no mails can be recieved with error 'no such recipient' in logs and sender recieve a mailer-daemon error message. Reproducible: Always Steps to Reproduce: 1. emerge net-mail/vchkuser (actual version in portage: 0.3.1) 2. configure /var/qmail/control/smtpplugins to enable vchkuser in [rcpt] section 3. restart QMail with /etc/init.d/svscan restart Actual Results: After emailing the author (Benedikt Böhm) about this problem he recommend me to change permissions to setuid vchkuser executable. Changing with 'chmod 4750 vchkuser' solve the problem. Expected Results: When recieving an email, the QMail process pass the rcpt-to header to vchkuser for verification against the vpopmail user database. If user found then the message is delivred otherwise and error is thrown saying that no such user can be found on the mail server. When tested manually with command: 'SMTPRCPTTO=<user@domain.tld> ./vchkuser', with a valid address passed to SMTPRCPTTO, logs show 'vchkuser[xxxx]: <user@domain.tld> exists (vuserinfo)' This is the author response to my email: From : Benedikt Böhm [mailto:xx@xxxx] Sent : thursday 30 april 2009 09:22 To : Nicolas GRIMLER Subject : Re: Bug in vchkuser qmail-spp plugin ?! Hi Nicolas, did you do chmod 4750 /var/qmail/plugins/vchkuser? i think it is not mentioned anywhere, maybe i should add a note to the readme ;) Bene ----- In the README.rst file included in the source package it is mentionned that vchkuser is a setuid program and need to use vpopmail user and qmail group.
the ebuild does the correct thing now