[Mimedefang] sendmail access.db question

Jan Pieter Cornet johnpc at xs4all.nl
Wed Oct 26 10:32:29 EDT 2005


On Wed, Oct 26, 2005 at 12:04:23PM -0200, scuba at centroin.com.br 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 <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$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



More information about the MIMEDefang mailing list