On Wed, December 10, 2008 7:57 am, Budiono U. said: > I want to block [EMAIL PROTECTED] to domain1.com , but > [EMAIL PROTECTED] can send email to domain1.com, I have try using > header_checks > > IF /^To: [EMAIL PROTECTED]/ > /^From:[EMAIL PROTECTED]/ REJECT > ENDIF
As documented, header_checks looks at one line at a time. The To: and From: headers obviously do not occur on the same line. > But it didn't work well email from [EMAIL PROTECTED] can sending to > domain1.com <[EMAIL PROTECTED]> . > > ps: example.com and example1.com are manage under our postfix server. http://www.postfix.org/RESTRICTION_CLASS_README.html -- Magnus Bäck [EMAIL PROTECTED]