On Thu Jan 13, 2011 at 04:18:52 +0200, Tapio Salonsaari wrote:
> It's an multi-domain environment with multiple black/white list
> administrators. The lists are maintained via web gui and the admin has
> access only for his domains (admin A can control a.com, admin B b.com
> and so on)
You migh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/11/2011 06:18 PM, Chris Lewis wrote:
> However, I'm not sure why he needs both at the same time. In order for
> his version of blacklisting or whitelisting to do anything, _both_ mail
> from and rcpt to have to be in the same list.
It's an mult
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/11/2011 03:06 PM, Jared Johnson wrote:
> my ( $self, $transaction, $recipient) = @_;
> my $sender = $transaction->sender;
Thank you all for your help. The plugin now does it job as it should and
the lists work like I want them to. That's not too
On 1/11/2011 6:55 AM, Steve Freegard wrote:
Hi Tapio,
On 11 Jan 2011, at 11:34, Tapio Salonsaari wrote:
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";
Th
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
Pretty sure he meant:
my ( $self, $transaction, $recipient) = @_;
my $sender = $transaction->sender;
Then you can do:
my $recipientdomain = $recipient->host;
my $senderdomain = $sender->host;
-Jared
Steve Freegard wrote:
>Hi Tapio,
>
>On 11 Jan 2011, at 11:34, Tapio Salonsaari wrote:
>
>> -
Hi Tapio,
On 11 Jan 2011, at 11:34, Tapio Salonsaari wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello!
>
> 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 ps
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello!
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 WH