On Wed, Oct 26, 2005 at 12:04:23PM -0200, [EMAIL PROTECTED] wrote:
> Hitchhiking the thread, how can I use the access.db to create a
> "deny all" rule?
> I want to allow only my relays to delivery mail to an internal
> machine.
> Something like this:
>
> Connect:mail1.domain.com RELAY
> Connect:mail2.domain.com RELAY
> Connect:<everything_else> REJECT
Connect:. REJECT
--
#!perl -wpl # mmfppfmpmmpp mmpffm <[EMAIL PROTECTED]>
$p=3-2*/[^\W\dmpf_]/i;s.[a-z]{$p}.vec($f=join('',$p-1?chr(sub{$_[0]*9+$_[1]*3+
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):qw(m p f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig; # Jan-Pieter Cornet
_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang