On Mon, Aug 25, 2008 at 07:00:16PM +0100, Christopher J. Buckley wrote:
dovecot@guice.ath.cx wrote:
sendmail -- Version 8.14.2 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG
dovecot-1.0.7 Secure and compact IMAP and POP3 servers dovecot-sieve-1.0.2 A sieve plugin for the Dovecot LDA called 'deliver'
With focus on the installed version of sieve, shown above, the following rule is within our ~.dovecot.sieve:
} elsif header :is "X-Original-To" "dovecot@dovecot.org" { discard; stop; }
Try:
} elsif header :contains "X-Original-To" "dovecot@dovecot.org" { discard; stop; }
Initially we though of do that but optioned out because as we understand it, ":contains" would allow a 'substring match'.
The above rule is the seventh and last rule in the file, however the following mail is 'not being discarded'.
Can you paste your whole sieve rulset?
-- Kind Regards, :: http://www.cjbuckley.net/ Chris Buckley :: http://photos.cjbuckley.net/