sieve vacation script exclude based on sender email address
I thought I'd asked this question a few years ago but can't seem to find any eveidence of that so here goes.
I've been looking at the sieve docs and recipes, done a lot of googling but no joy so far.
Using stanard vacation script and that works great, however I want to exclude certain sender email addressess from ever receiving a vacation autoresponse, how do I go about adding that to my existing vacation recipe.
I suspect my search terminology is what is causing me not to find anything as I typically am using exclude and similar search terms.
Harondel J. Sibble Sibble Computer Consulting Ltd. Creating Solutions for the small and medium business computer user. harondel@pdscc.com (use pgp keyid 0x3CC3CFCE not 0x3AD5C11D) http://www.pdscc.com Blog: http://www.pdscc.com/blog (604) 739-3709 (voice)
Op 31-5-2016 om 17:50 schreef Harondel J. Sibble:
I thought I'd asked this question a few years ago but can't seem to find any eveidence of that so here goes.
I've been looking at the sieve docs and recipes, done a lot of googling but no joy so far.
Using stanard vacation script and that works great, however I want to exclude certain sender email addressess from ever receiving a vacation autoresponse, how do I go about adding that to my existing vacation recipe.
I suspect my search terminology is what is causing me not to find anything as I typically am using exclude and similar search terms.
Just use the envelope test:
https://tools.ietf.org/html/rfc5228#section-5.4
Regards,
Stephan.
On 1 Jun 2016 at 16:49, Stephan Bosch wrote:
I've been looking at the sieve docs and recipes, done a lot of googling but no joy so far.
Using stanard vacation script and that works great, however I want to exclude certain sender email addressess from ever receiving a vacation autoresponse, how do I go about adding that to my existing vacation recipe.
I suspect my search terminology is what is causing me not to find anything as I typically am using exclude and similar search terms.
Just use the envelope test:
https://tools.ietf.org/html/rfc5228#section-5.4
Regards,
Stephan.
Any recommendations for example usage, the RFC doesn't really tell me how to use it so that the vacation script will not reply if the header test turns out to be true. I just want the email to be delivered without an autoresponse at that point.
-- Harondel J. Sibble Sibble Computer Consulting Ltd. Creating Solutions for the small and medium business computer user. harondel@pdscc.com (use pgp keyid 0x3CC3CFCE not 0x3AD5C11D) http://www.pdscc.com Blog: http://www.pdscc.com/blog (604) 739-3709 (voice)
Op 4-6-2016 om 19:10 schreef Harondel J. Sibble:
On 1 Jun 2016 at 16:49, Stephan Bosch wrote:
I've been looking at the sieve docs and recipes, done a lot of googling but no joy so far.
Using stanard vacation script and that works great, however I want to exclude certain sender email addressess from ever receiving a vacation autoresponse, how do I go about adding that to my existing vacation recipe.
I suspect my search terminology is what is causing me not to find anything as I typically am using exclude and similar search terms. Just use the envelope test:
https://tools.ietf.org/html/rfc5228#section-5.4
Regards,
Stephan. Any recommendations for example usage, the RFC doesn't really tell me how to use it so that the vacation script will not reply if the header test turns out to be true. I just want the email to be delivered without an autoresponse at that point.
require "envelope"; require "vacation";
if not envelope "from" "excluded@example.com" { vacation "I am away"; }
participants (2)
-
Harondel J. Sibble
-
Stephan Bosch