[Dovecot] sieve or another vacation/autoreply

Lampa lampacz at gmail.com
Tue Jan 26 22:26:15 EET 2010


2010/1/26 Christian Schmidt <Christian.Schmidt at chemie.uni-hamburg.de>:
> Hello Lampa,
>
> Lampa, 25.01.2010 (d.m.y):
>
>> Need autmatic delivery notification.
>>
>> You will sent email to support at domain.tld (reporting bugs or problem)
>> and you will get back delivery notification (autogenerated).
>
> Maybe a Trouble Ticket System (e.g. Request Tracker) will fit those
> and some more needs...?
>
> Gruss/Regards,
> Christian Schmidt
>
> --
> English literature's performing flea.
>                -- Sean O'Casey on P. G. Wodehouse
>

No it's here is solution from Stephan Bosch that is exactly what i need:

require ["enotify", "variables", "fileinto", "envelope"];

if envelope :matches "from" "*" {
        # URI-encode the recipient address when necessary
        set :encodeurl "from" "${1}";

        if envelope :matches "to" "*" {
                set "to" "${1}";
                set :encodeurl "body" "Thank you for contacting us...
We will contact you as soom as possible

Blah blah blah...";
                notify  :message "Automatic reply - delivery notification"
                                                :from "${to}"
                                                :importance "2"
                                                "mailto:${from}?body=${body}";
                keep;
        }
}




-- 
Lampa


More information about the dovecot mailing list