sieve vacation message if ....
hi fellas
generic construct for(if possible): reply vacation message if address is not from add1@com1 add2@com2
would you share? many thanks L.
Op 21-6-2017 om 19:16 schreef lejeczek:
hi fellas
generic construct for(if possible): reply vacation message if address is not from add1@com1 add2@com2
would you share?
require "vacation";
if not address "from" ["add1@com1", "add2@com2"] { vacation "I am on vacation."; }
Regards,
Stephan.
On Fri, 23 Jun 2017 14:46:21 +0200, Stephan Bosch stated:
Op 21-6-2017 om 19:16 schreef lejeczek:
hi fellas
generic construct for(if possible): reply vacation message if address is not from add1@com1 add2@com2
would you share?
require "vacation";
if not address "from" ["add1@com1", "add2@com2"] { vacation "I am on vacation."; }
Regards,
Stephan.
I have used this myself. I have always wondered though is it possible to have a vacation message only sent on a weekend. This is the scenario. My office closes on Friday at 4pm and does not reopen until Monday at 9am. I would like to automate a way to have a message sent that states that to customers who send us emails on the weekend. Right now I have to do it manually. Is there another way to do it?
Thanks!
-- Jerry
On 6/23/17, 9:13 AM, "dovecot on behalf of Jerry"
On Fri, 23 Jun 2017 14:46:21 +0200, Stephan Bosch stated:
>Op 21-6-2017 om 19:16 schreef lejeczek:
>> hi fellas
>>
>> generic construct for(if possible): reply vacation message if
>> address is not from add1@com1 add2@com2
>>
>> would you share?
>
>require "vacation";
>
>if not address "from" ["add1@com1", "add2@com2"] {
> vacation "I am on vacation.";
>}
>
>Regards,
>
>Stephan.
I have used this myself. I have always wondered though is it possible
to have a vacation message only sent on a weekend. This is the scenario.
My office closes on Friday at 4pm and does not reopen until Monday at
9am. I would like to automate a way to have a message sent that states
that to customers who send us emails on the weekend. Right now I have
to do it manually. Is there another way to do it?
Thanks!
Look at the “date” extension: https://tools.ietf.org/html/rfc5260#section-4
Op 23-6-2017 om 16:15 schreef Larry Rosenman:
On 6/23/17, 9:13 AM, "dovecot on behalf of Jerry"
wrote: On Fri, 23 Jun 2017 14:46:21 +0200, Stephan Bosch stated: >Op 21-6-2017 om 19:16 schreef lejeczek: >> hi fellas >> >> generic construct for(if possible): reply vacation message if >> address is not from add1@com1 add2@com2 >> >> would you share? > >require "vacation"; > >if not address "from" ["add1@com1", "add2@com2"] { > vacation "I am on vacation."; >} > >Regards, > >Stephan. I have used this myself. I have always wondered though is it possible to have a vacation message only sent on a weekend. This is the scenario. My office closes on Friday at 4pm and does not reopen until Monday at 9am. I would like to automate a way to have a message sent that states that to customers who send us emails on the weekend. Right now I have to do it manually. Is there another way to do it? Thanks!
Look at the “date” extension: https://tools.ietf.org/html/rfc5260#section-4
Specifically, use the "currentdate" test described in Section 5.
Regards,
Stephan.
On Fri, 23 Jun 2017 16:25:24 +0200, Stephan Bosch stated:
Op 23-6-2017 om 16:15 schreef Larry Rosenman:
On 6/23/17, 9:13 AM, "dovecot on behalf of Jerry"
wrote: On Fri, 23 Jun 2017 14:46:21 +0200, Stephan Bosch stated: >Op 21-6-2017 om 19:16 schreef lejeczek: >> hi fellas >> >> generic construct for(if possible): reply vacation message if >> address is not from add1@com1 add2@com2 >> >> would you share? > >require "vacation"; > >if not address "from" ["add1@com1", "add2@com2"] { > vacation "I am on vacation."; >} > >Regards, > >Stephan. I have used this myself. I have always wondered though is it
possible to have a vacation message only sent on a weekend. This is the scenario. My office closes on Friday at 4pm and does not reopen until Monday at 9am. I would like to automate a way to have a message sent that states that to customers who send us emails on the weekend. Right now I have to do it manually. Is there another way to do it? Thanks! Look at the “date” extension: https://tools.ietf.org/html/rfc5260#section-4
Specifically, use the "currentdate" test described in Section 5.
Regards,
Stephan.
Thanks. I was not aware that test even existed.
-- Jerry
participants (4)
-
Jerry
-
Larry Rosenman
-
lejeczek
-
Stephan Bosch