Hi all

I am using postfix 2.5.5 and MIMEDefang 2.57

I know that the policy server can reply to Postfix with any action that is 
allowed in a Postfix SMTPD access(5) table in Postfix SMTP Access Policy 
Delegation ,such as:
BCC [EMAIL PROTECTED] ; 
DISCARD optional text...
FILTER transport:destination
HOLD optional text...
..............

http://www.postfix.org/access.5.html
http://www.postfix.org/SMTPD_POLICY_README.html#protocol


Is FILTER transport:destination can be sent back to postfix as a milter result 
action?


I have made a test adding the following code in mimedefang-filter:

sub filter_sender {
    my ($sender, $ip, $hostname, $helo) = @_; 
    if ($sender =~ /sosogh.cn/i) { 
       return ("FILTER smtp:[202.96.15.55]:25","");
    } 
return ('CONTINUE', "ok"); 
} 


But the log said 554 5.7.1 followed by a question mark:
Nov 17 15:37:01 debian postfix/smtpd[11523]: NOQUEUE: milter-reject: MAIL from 
unknown[202.96.130.213]: 554 5.7.1 ?; from=<[EMAIL PROTECTED]> proto=ESMTP 
helo=<9B83DB3FAA054BC>

Does  milter not support the return value "FILTER smtp:[202.96.15.55]:25"?
Thank you


2008-11-17 



sosogh 

Reply via email to