On 2006-11-28, at 0647, Renato de Oliveira Diogo wrote:
I want implant the validrcptto in my server. The qmail is patched
and I
try use the mkvalidrcptto,
http://qmail.jms1.net/scripts/mkvalidrcptto.shtml
But in the module CDB_File installed sceefull, and in perl don't
works..
the error:
[root@server bin]# mkvalidrcptto
Can't locate CDB_File.pm in @INC (@INC contains:
...
i saw that you fixed the issue already, but i do want to point out
one other very common problem with perl modules- many times "make
install" will put the modules into the correct directories, but not
set the permissions so that they are world-readable. i've written a
little script which fixes this.
http://www.jms1.net/code/pfix
i apologize for this being off-topic for the qmail list, but i wrote
the "mkvalidrcptto" script he's talking about, so i figured it wasn't
*too* far off-topic.
for those who don't recognize it, "mkvalidrcptto" is a perl script
which scans the system and vpopmail directories, building a list of
valid email addresses, suitable for running through "cdbmake-12" to
produce a "validrcptto.cdb" file, which is then used by a patched
qmail-smtpd to validate RCPT commands (to not accept incoming mail
for non-existent addresses within an otherwise valid domain.) it's
the same idea as the "chkuser" patch, but it doesn't require qmail to
be compiled with vpopmail, and because it's based entirely on the cdb
file, it's very fast, and it can be used by servers other than the
one where vpopmail itself lives.
http://qmail.jms1.net/patches/validrcptto.cdb.shtml
--------------------------------------------------
| John M. Simpson - KG4ZOW - Programmer At Large |
| http://www.jms1.net/ <jms1@jms1.net> |
--------------------------------------------------
| Mac OS X proves that it's easier to make UNIX |
| pretty than it is to make Windows secure. |
--------------------------------------------------
PGP.sig
Description: This is a digitally signed message part
|