[Mimedefang] ip_validation and stream by recipient

Peter Martensson face at far-galaxy.net
Wed May 4 03:59:09 EDT 2011


Hi.

If i use stream_by_recipient and add ip validation header the mail is 
sent to the clientqueue (submit).

When the clientqueue send the mail i cant fetch the right ip from the 
original relay.

WasResten is 0.

What am i doing wrong?

	if(stream_by_recipient()){
		add_ip_validation_header();
		return;
	}

	if($WasResent){
		
		if($RealRelayAddr eq "127.0.0.1"){
			$RelayAddr=$RealRelayAddr;
			$RelayHostname=$RealRelayHostname;
			md_syslog('info', "resent: $RelayAddr = $RealRelayAddr | 
$RelayHostname = $RealRelayHostname");
			
		}
	}


never worked

/Peter



More information about the MIMEDefang mailing list