Sieve Vacation not working
Gary Mills
mills at cc.UManitoba.CA
Wed Oct 23 14:49:49 EDT 2002
On Wed, Oct 23, 2002 at 12:10:05PM -0500, Eric Minto wrote:
>
> Sieve works perfectly for all functions except for vacation. We are
> using sendmail as the MTA, Cyrus as the IMAP server, and procmail to
> process some advanced SPAM filtering. Many would ask: "Why not use the
> vacation functionality in procmail?" We already use our own web-based
> interface to generate the sieve scripts, and for various security
> reasons, we want the vacation function to be handled by sieve, not procmail.
>
> At one time, the vacation reply *did* execute, but it tried to send the
> reply to root at unspecified-domain. But now, using the config below,
> nothing happens.
That's a good clue. `lmtp' appends `@unspecified-domain' to
unqualified e-mail addresses. If your MTA strips the domain portion
from the envelope recipient, as sendmail does, the sieve vacation
handler will never generate vacation responses, because the envelope
recipient will never match the header recipient. To make it work
here, I've modified imap/lmtpengine.c so that it appends the server
name parameter from /etc/imapd.conf, which is also the domain that
sendmail uses for masquerading. This could be made more general by
using a separate configuration parameter.
--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-
More information about the Info-cyrus
mailing list