How to get both sender and recipient address for mail-hook

2011-01-11 Thread Tapio Salonsaari
uite 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. - -- Tapio Salonsaari My public GPG key is available at http://take.nerd.fi -

Re: How to get both sender and recipient address for mail-hook

2011-01-12 Thread Tapio Salonsaari
t WHERE rcpt_domain='foo.com' AND sndr_domain='foo.bar' Then just loop trough the results, simple if-block to match type-field and return DECLINED, OK and DENY accordingly. - -- Tapio Salonsaari My public GPG key is available at http://take.nerd.fi -BEGIN PGP SIGNATURE

Re: How to get both sender and recipient address for mail-hook

2011-01-12 Thread Tapio Salonsaari
ple.com and admin B blacklists it it's necessary to store and match recipient domains as well. - -- Tapio Salonsaari My public GPG key is available at http://take.nerd.fi -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - ht