[Dovecot] dovecot-1.2-sieve sending vacation replies regardless of recipient (patch)

Mark Washenberger mark.washenberger at rackspace.com
Thu Apr 1 17:52:01 EEST 2010


I want a way to send VAR messages without having to specify up front all of the addresses for which such VARs should be sent. 

I realize this goes against rfc 3834, but it seemed reasonable to add a tag to the vacation command to skip the [to, cc, bcc, ...] recipients check. The patch I made is attached. The new usage with this patch is:

vacation [":days" number] [":subject" string]
         [":x_any_address"]
         [":from" string] [":addresses" string-list]
         [":mime"] [":handle" string] <reason: string>

What do you think of this patch? Is there a better way to accomplish the same thing without writing a patch? Is there a better way to write this patch to make it a cleaner feature or easier to maintain? Could this ever be part of the mainline?


Mark Washenberger
Rackspace Hosting
Software Developer, Email & Apps
mark.washenberger at rackspace.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-any-address.patch
Type: text/x-diff
Size: 4246 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20100401/525f177c/attachment-0001.bin 


More information about the dovecot mailing list