Sieve destroys mail on redirection error

Andrew Morgan morgan at orst.edu
Wed Dec 8 14:13:59 EST 2004


On Wed, 8 Dec 2004, Gary Mills wrote:

> We regularly run into this problem:  A user redirects their e-mail with
> their sieve script to another address, but that address redirects it back
> to them.  The result is that all e-mail sent to the user disappears
> without a trace.  This happens because Cyrus does duplicate suppression,
> so that the second time around the loop, the e-mail is discarded.  The
> same thing happens if the user just redirects the e-mail to his Cyrus
> mailbox.
>
> This problem does not happen with sendmail aliases or .forward files,
> for example, because sendmail inserts a `Received' header each time,
> and detects loops by counting them.  Sendmail also eliminates duplicates
> during alias expansion.
>
> What can be done in Cyrus to resolve this problem?  Can mail loops be
> handled differently than duplicate messages?  Can some notification be
> returned to the sender?  Could the loop be broken by redirecting once
> and delivering the second time?

I have "duplicatesuppression: no", and forwarding loops still seem to make 
the messages disappear.  At least, the user claims that no bounce message 
was returned to the sender.  I'm running Cyrus 2.1.16.

Just another data point.

 	Andy
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list