develooper Front page | perl.qpsmtpd | Postings from March 2010

Re: Working vpopmail valid user checker

Thread Previous | Thread Next
From:
Juerd Waalboer
Date:
March 27, 2010 05:06
Subject:
Re: Working vpopmail valid user checker
Message ID:
20100327120643.GC874@k
Frank Precissi skribis 2010-03-21 11:50 (-0700):
> Is there a good working vpopmail valid-email plugin for qpsmtpd?  One
> that will:
> 1. Search .qmail files in /var/qmail/vpopmail/domains/* (including ezmlm
> files)
> 2. Query the vpopmail database for aliases there.
> 3. Not choke on catchall addresses.

Yes, there is. Check out http://search.cpan.org/dist/Qmail-Deliverable/
that comes with a qpsmtpd plugin called check_qmail_deliverable and a
daemon called qmail-deliverabled, that runs as root.

In general, no configuration is required after installation. It requires
that valias and vuserinfo are in the PATH. It works with .qmail files
and ezmlm. I have used this in production for more than two years.

For an overview of deliverability checkers, see
http://p3rl.org/Qmail::Deliverable::Comparison There may be other
plugins that suit your needs.

> There used to be one that relied on setuid-perl, but for the life of me
> I cant find it (and are unsure if it will run on the latest version of
> qpsmtpd).

You shouldn't use suidperl. It's safer to either generate a list of
valid addresses once and query that, or to have a daemon running as
root.
-- 
Met vriendelijke groet, // Kind regards, // Korajn salutojn,

Juerd Waalboer  <juerd@tnx.nl>
TNX

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About