Am 11.01.2011 12:34 schrieb Tapio Salonsaari:
> I'm building an web-based gui for qpsmtpd and currently I'm
> writing/modifying plugin for white/blacklists per domain.
> 
> My web gui stores black / white lists into psql-database and the idea is
> to do an SQL-search like:
> SELECT * FROM blacklist WHERE sender="$senderdomain" AND
> recipient="$recipientdomain";
> 
> [...] 
>
> I'm not too familiar with qpsmtpd and it's quite possible that I'm going
> to wrong direction in the first place, so if there's something already
> available which would suit my needs better I'm glad to hear about it.
> 
> Any help will be appreciated.
>

Hi Tapio,

maybe you could consider having a look at db/suite, which is a
collection of database-driven plugins showing how to connect qpsmtpd to
a (My)SQL database.

See http://dienstleistung-kultur.de/qpsmtpd/db.shtml

Sincerely,

Ernesto


-- 
Ernst-J. "Ernesto" Johnsdorf
mailto:ern...@dienstleistung-kultur.de
http://search.cpan.org/~ernesto/
http://dienstleistung-kultur.de


Reply via email to