EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Today's Posts
Stay in touch wirelessly

FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc.

Reply
 
Thread Tools
Old 17 Nov 2020, 04:47 PM   #1
Terry
The "e" in e-mail
 
Join Date: Jul 2002
Location: VK4
Posts: 3,013
Sieve script auto reply is broken

My sieve out reply is broken it use to notify every day now its every 4 days.
I have sieve days:0 and it was ok now that function does not work, is there a work round I have tried day: days: 0 and other 0's nothing works....

Last edited by Terry : 17 Nov 2020 at 07:21 PM.
Terry is offline   Reply With Quote

Old 17 Nov 2020, 06:41 PM   #2
hbs
Junior Member
 
Join Date: Jul 2016
Posts: 23
Do you mean the vacation autoresponder? That one is documented in RFC 5230 - Sieve Email Filtering: Vacation Extension.

The RFC says:

Code:
4.  Vacation Action

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

   The "vacation" action implements a vacation autoresponder similar to
   the vacation command available under many versions of Unix.  Its
   purpose is to provide correspondents with notification that the user
   is away for an extended period of time and that they should not
   expect quick responses.

   "Vacation" is used to respond to a message with another message.
   Vacation's messages are always addressed to the Return-Path address
   (that is, the envelope from address) of the message being responded
   to.
Usage of days parameter would be :days 0 instead of days:0

Addendum and correction:

I've just checked my own Sieve script which contains an autoresponder and I don't use :days 0 but :seconds 0.

This one is covered in RFC 6131 Sieve Vacation Extension: "Seconds" Parameter. Moreover, RFC 6131 explictly states: If ":seconds 0" is specified and used, it means that all auto-replies are sent, and no attempt is made to suppress consecutive replies. This differs from the base vacation specification [RFC 5230], which does not allow a time period of zero (":days 0" is forbidden); [...]

So, just use :seconds 0 instead of the forbidden :days 0.

H.

Last edited by hbs : 17 Nov 2020 at 07:04 PM. Reason: Addendum and correction
hbs is offline   Reply With Quote
Old 17 Nov 2020, 07:07 PM   #3
Terry
The "e" in e-mail
 
Join Date: Jul 2002
Location: VK4
Posts: 3,013
Thank you, I had :days 0 but of course that was broke.

I tried seconds and that worked.

Thank you so much.
Terry is offline   Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 03:31 PM.

 

Copyright EmailDiscussions.com 1998-2022. All Rights Reserved. Privacy Policy