Before I start digging through the source, does lmtpd add the Return-Path header before or after calling sieve routines? The first recipe below works, the second does not.
# works require ["fileinto","regex"]; if allof (header :regex "From" ".*") { fileinto "test1"; } #fails require ["fileinto","regex"]; if allof (header :regex "Return-Path" ".*") { fileinto "test1"; } -Chris