Qmail-SPP - local user check script
This SPP-Plugin checks for existence of the recipient as local user on the current host. It is usable for all those qmail installations without vpopmail. The script is based on my vpopmail_check_user.sh script that is originally based on a script of Perolo Silantico, see href=http://perolo.vantage.at/qmail-spp/qmail-spp.plugin.vpopmail_check_recipient.html for details.

This version integrates also ezmlm-commands like "listname-subscribe" and respects various .qmail-extension files in the corresponding homedirs.

 
Extensions:
  • check for .qmail-default in $HOMEPATH (catchall). I know catchall is very stupid while trying to avoid spam, but sometimes it is still there
  • check for .qmail-ezmlmlist-command for use with ezmlm, e.g. listname-subscribe@domain.tld
  • check for .qmail-extensions, e.g. $HOMEPATH/$USER/.qmail-ext, I know they should not be possible where vqadmin/qmailadmin is used, but who knows...
  • checks if the needed tools are executable and suid and guid
  • changes to lower letters and . to : to allow Surname.NAME@domain with .qmail-surname:name@domain
Known Problems:
  • only supports local domains. if your host is secondary mx for some domains, don't use this script
Latest fixes:
  • 2007-03-22. 1.3: capital letter fix
Download: Version 1.3 local_check_recipient.sh