Re: [Dovecot] sieve or another vacation/autoreply
Lampa wrote: Hello, i'm trying to do some delivery notification for each incoming address. Problem is that sieve vacation has :days but minimum value is 1 eg period in which addresses are kept and are not responded to - but that is not that i want. Is there other extension (in devel ???) or some other way (lda using procmail or maildrop) how to implement my request ? (Before migration we used qmail + procmail). There is now: http://www.ietf.org/id/draft-george-sieve-vacation-time-00.txt This is a good candidate for implementation. Regards, Stephan.
Re: [Dovecot] sieve or another vacation/autoreply
2010/1/26 Christian Schmidt : > Hello Lampa, > > Lampa, 25.01.2010 (d.m.y): > >> Need autmatic delivery notification. >> >> You will sent email to supp...@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
Re: [Dovecot] sieve or another vacation/autoreply
Hello Lampa, Lampa, 25.01.2010 (d.m.y): > Need autmatic delivery notification. > > You will sent email to supp...@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
Re: [Dovecot] sieve or another vacation/autoreply
On January 25, 2010 9:10:42 PM +0100 Lampa wrote: Need autmatic delivery notification. You could find my patch which I posted roughly a month ago. It allows '0' as the :days parameter to vacation. Maybe you prefer that to notify, maybe not. -frnak
Re: [Dovecot] sieve or another vacation/autoreply
Hello, thank you for pointing in right direction. require ["enotify", "variables", "fileinto", "envelope"]; #if address :matches :all "from" "*" { # set "from_addr" "${1}"; #} 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}" "mailto:${from}?body=${body}";; keep; } } 2010/1/25 Stephan Bosch : > Lampa wrote: >> >> Hello, >> >> i'm trying to do some delivery notification for each incoming address. >> Problem is that sieve vacation has :days but minimum value is 1 eg >> period in which addresses >> are kept and are not responded to - but that is not that i want. >> >> Is there other extension (in devel ???) or some other way (lda using >> procmail or maildrop) how to implement my request ? (Before migration >> we used qmail + procmail). >> > > I am not quite sure what you are trying to achieve with this, however I've > devised something that matches your description: > > require "enotify"; > require "variables"; > require "envelope"; > > # Let's not reply to robots and mailing lists > if allof (not exists "list-id", > anyof (not exists "auto-submitted", > header "auto-submitted" "no")) { > > # Get the return path > if envelope :matches "from" "*" { > > # URI-encode the recipient address when necessary > set :encodeurl "from" "${1}"; > > # Send notification back to sender > notify :message "Message received!" "mailto:${from}";; > } > } > > This is somewhat scary though. > > Regards, > > -- > Stephan Bosch > step...@rename-it.nl > -- Lampa
Re: [Dovecot] sieve or another vacation/autoreply
Need autmatic delivery notification. You will sent email to supp...@domain.tld (reporting bugs or problem) and you will get back delivery notification (autogenerated). Example: - From: supp...@domain.tld Subject: Automatic reply - Delivery notification Your email will be processed as soon as possible. Than you for contacting us blahblah --- Sieve vacation cannot be used because if same user sent email more that once only first notification will be send (per day). 2010/1/25 Frank Cusack : > On January 25, 2010 6:32:34 PM +0100 Lampa wrote: >> >> i'm trying to do some delivery notification for each incoming address. >> Problem is that sieve vacation has :days but minimum value is 1 eg >> period in which addresses >> are kept and are not responded to - but that is not that i want. > > What do you want? > -- Lampa
Re: [Dovecot] sieve or another vacation/autoreply
On January 25, 2010 6:32:34 PM +0100 Lampa wrote: i'm trying to do some delivery notification for each incoming address. Problem is that sieve vacation has :days but minimum value is 1 eg period in which addresses are kept and are not responded to - but that is not that i want. What do you want?
Re: [Dovecot] sieve or another vacation/autoreply
Lampa wrote: Hello, i'm trying to do some delivery notification for each incoming address. Problem is that sieve vacation has :days but minimum value is 1 eg period in which addresses are kept and are not responded to - but that is not that i want. Is there other extension (in devel ???) or some other way (lda using procmail or maildrop) how to implement my request ? (Before migration we used qmail + procmail). I am not quite sure what you are trying to achieve with this, however I've devised something that matches your description: require "enotify"; require "variables"; require "envelope"; # Let's not reply to robots and mailing lists if allof (not exists "list-id", anyof (not exists "auto-submitted", header "auto-submitted" "no")) { # Get the return path if envelope :matches "from" "*" { # URI-encode the recipient address when necessary set :encodeurl "from" "${1}"; # Send notification back to sender notify :message "Message received!" "mailto:${from}";; } } This is somewhat scary though. Regards, -- Stephan Bosch step...@rename-it.nl
[Dovecot] sieve or another vacation/autoreply
Hello, i'm trying to do some delivery notification for each incoming address. Problem is that sieve vacation has :days but minimum value is 1 eg period in which addresses are kept and are not responded to - but that is not that i want. Is there other extension (in devel ???) or some other way (lda using procmail or maildrop) how to implement my request ? (Before migration we used qmail + procmail). Thank you for your advices -- Lampa