[Dovecot] Sieve, vacation, company (domain-wide) message possible?
Hello,
I've been using vacation.pl from postfixadmin for many years, and since the most recent modification that allows me to specify my own strings to test for for when NOT to send a message, I'm extremely happy with it (no more auto-responses to linked-in/facebook crap, etc)...
But, there is one thing I'd like to be able to do that it can't do, and there hasn't been any positive response about implementing it, so I'm asking about if this is possible to do with sieve right now, and if not, how hard would it be to implement...
What I'd like is to be able to set a company (domain-wide) auto-response for when our company is closed for holidays... more specifically, extra holidays (often the boss will close an extra day for an extra long weekend). He has asked more than once about setting an auto-response for *everyone* during these periods...
Thanks,
--
Best regards,
*/Charles/*
On Monday 09 September 2013 08:28:26 Charles Marcus did opine:
Hello,
I've been using vacation.pl from postfixadmin for many years, and since the most recent modification that allows me to specify my own strings to test for for when NOT to send a message, I'm extremely happy with it (no more auto-responses to linked-in/facebook crap, etc)...
But, there is one thing I'd like to be able to do that it can't do, and there hasn't been any positive response about implementing it, so I'm asking about if this is possible to do with sieve right now, and if not, how hard would it be to implement...
What I'd like is to be able to set a company (domain-wide) auto-response for when our company is closed for holidays... more specifically, extra holidays (often the boss will close an extra day for an extra long weekend). He has asked more than once about setting an auto-response for *everyone* during these periods...
Thanks,
I would be very careful about doing that. You will wind up on the spam blocker lists & have a hell of a time getting back off them.
Cheers, Gene
"There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://gene.homelinux.net:6309/gene> should be up!
May you do Good Magic with Perl. -- Larry Wall's blessing A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens.
Am 09.09.2013 14:29, schrieb Gene Heskett:
On Monday 09 September 2013 08:28:26 Charles Marcus did opine:
Hello,
I've been using vacation.pl from postfixadmin for many years, and since the most recent modification that allows me to specify my own strings to test for for when NOT to send a message, I'm extremely happy with it (no more auto-responses to linked-in/facebook crap, etc)...
But, there is one thing I'd like to be able to do that it can't do, and there hasn't been any positive response about implementing it, so I'm asking about if this is possible to do with sieve right now, and if not, how hard would it be to implement...
What I'd like is to be able to set a company (domain-wide) auto-response for when our company is closed for holidays... more specifically, extra holidays (often the boss will close an extra day for an extra long weekend). He has asked more than once about setting an auto-response for *everyone* during these periods...
Thanks,
dont use vacation.pl anymore , migrate to sieve, for company wide vacation you may use a global sieve rule
http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration
I would be very careful about doing that. You will wind up on the spam blocker lists & have a hell of a time getting back off them.
filter spam in global sieve rules before vacation
Cheers, Gene
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
On 2013-09-09 8:29 AM, Gene Heskett <gheskett@wdtv.com> wrote:
On Monday 09 September 2013 08:28:26 Charles Marcus did opine:
What I'd like is to be able to set a company (domain-wide) auto-response for when our company is closed for holidays... more specifically, extra holidays (often the boss will close an extra day for an extra long weekend). He has asked more than once about setting an auto-response for *everyone* during these periods...
I would be very careful about doing that. You will wind up on the spam blocker lists & have a hell of a time getting back off them.
?
If it works exactly the same as normal vacation messages - doesn't auto-reply to any type of list or other auto generated content, and only replies once per day per sender (and for this company wide responder if the same sender sends to more than one of our addresses, they only get ONE response, not one for each recipient - why would doing this at the company/domain level be any different?
--
Best regards,
*/Charles/*
On Tuesday 10 September 2013 08:34:24 Charles Marcus did opine:
On 2013-09-09 8:29 AM, Gene Heskett <gheskett@wdtv.com> wrote:
On Monday 09 September 2013 08:28:26 Charles Marcus did opine:
What I'd like is to be able to set a company (domain-wide) auto-response for when our company is closed for holidays... more specifically, extra holidays (often the boss will close an extra day for an extra long weekend). He has asked more than once about setting an auto-response for *everyone* during these periods...
I would be very careful about doing that. You will wind up on the spam blocker lists & have a hell of a time getting back off them.
?
If it works exactly the same as normal vacation messages - doesn't auto-reply to any type of list or other auto generated content, and only replies once per day per sender (and for this company wide responder if the same sender sends to more than one of our addresses, they only get ONE response, not one for each recipient - why would doing this at the company/domain level be any different?
You just setup so many conditions that the average windows using salesperson cannot understand, that you just answered why it would be different.
Cheers, Gene
"There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://gene.homelinux.net:6309/gene> should be up!
My father was a God-fearing man, but he never missed a copy of the New York Times, either. -- E. B. White A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 10 Sep 2013, Charles Marcus wrote:
On 2013-09-09 8:29 AM, Gene Heskett <gheskett@wdtv.com> wrote:
On Monday 09 September 2013 08:28:26 Charles Marcus did opine:
What I'd like is to be able to set a company (domain-wide) auto-response for when our company is closed for holidays... more specifically, extra holidays (often the boss will close an extra day for an extra long weekend). He has asked more than once about setting an auto-response for *everyone* during these periods...
I would be very careful about doing that. You will wind up on the spam blocker lists & have a hell of a time getting back off them.
If it works exactly the same as normal vacation messages - doesn't auto-reply to any type of list or other auto generated content, and only replies once per day per sender (and for this company wide responder if the same sender sends to more than one of our addresses, they only get ONE response, not one for each recipient - why would doing this at the company/domain level be any different?
When you do this at delivery time (via Sieve), the sender gets one vacation response per recipient once in the configured period.
If you setup a domain wide vacation responder at incoming level (aka postfix), the sender might get one central response and one per recipient, who setup a resonse on his/her own. (Say, because s/he is ill, on holiday, missed the global vacation setting or whatever.)
Well, besides, it might be a nice extension for a global Sieve script, to choose from a dupe database, usually ~user/.dovecot.lda-dupes, _and_ the information, whether or not the current script already resonded. Then you could add an global "after" script, that makes the usual no-respond tests (bulk, spam, ...) and if no response by current script alreade and use a domain-wide lda-dupes file.
:-)
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUi8k/13r2wJMiz2NAQI6Lgf/bZrQEXcFwRk6PwrcxpjXFdPBuANOBD0S yzbKknt42uc4DV6o1x0G3OeuQydCihd5d3ZV9iCCYv4aWdsHhBUVhcA3bRBNgNxV DvKkA00fo0pHz1dlRs6J9rSrCPc8ZqFa4eomAIE/BGJSsvwhmdZEWXJLXGDWgvjw /6gH92is1X210Q3rUyCVY4dCx59lJ+BE7mjIOE2OfsZBKwB2mfSa8fPC3oN8rkp8 uHM8i43cCIqUSIaedGCGnDE19oYnVnmC54f03WcNEZ/wcJqwjNixYLJ5+kYgub/Z Q6yxexFmJqf9JjwOrkngFGqF/7Sjtrnu7NhzNZagpxuNI9ve6U/Mzg== =ijnA -----END PGP SIGNATURE-----
On 2013-09-10 9:56 AM, Steffen Kaiser <skdovecot@smail.inf.fh-brs.de> wrote:
On Tue, 10 Sep 2013, Charles Marcus wrote:
On 2013-09-09 8:29 AM, Gene Heskett <gheskett@wdtv.com> wrote:
On Monday 09 September 2013 08:28:26 Charles Marcus did opine:
What I'd like is to be able to set a company (domain-wide) auto-response for when our company is closed for holidays... more specifically, extra holidays (often the boss will close an extra day for an extra long weekend). He has asked more than once about setting an auto-response for *everyone* during these periods...
I would be very careful about doing that. You will wind up on the spam blocker lists & have a hell of a time getting back off them.
If it works exactly the same as normal vacation messages - doesn't auto-reply to any type of list or other auto generated content, and only replies once per day per sender (and for this company wide responder if the same sender sends to more than one of our addresses, they only get ONE response, not one for each recipient - why would doing this at the company/domain level be any different?
When you do this at delivery time (via Sieve), the sender gets one vacation response per recipient once in the configured period.
If you setup a domain wide vacation responder at incoming level (aka postfix), the sender might get one central response and one per recipient, who setup a resonse on his/her own. (Say, because s/he is ill, on holiday, missed the global vacation setting or whatever.)
Well, besides, it might be a nice extension for a global Sieve script, to choose from a dupe database, usually ~user/.dovecot.lda-dupes, _and_ the information, whether or not the current script already resonded. Then you could add an global "after" script, that makes the usual no-respond tests (bulk, spam, ...) and if no response by current script alreade and use a domain-wide lda-dupes file.
Yeah, vacation.pl checks an sql database for the whether the script has already responded.
Also, I'd just as soon have the domain-wide response simply override the user specific response, then once the domain-wide response is deactivated, user specific ones start working again - but I see the argument for the opposite - ie, if the domain-wide response is active and a user has one of their own set, the users is the one sent, but if not, then the domain-wide response is sent.
--
Best regards,
*/Charles/*
On 10 Sep 2013, at 05:05 , Charles Marcus <CMarcus@Media-Brokers.com> wrote:
On 2013-09-09 8:29 AM, Gene Heskett <gheskett@wdtv.com> wrote:
On Monday 09 September 2013 08:28:26 Charles Marcus did opine:
What I'd like is to be able to set a company (domain-wide) auto-response for when our company is closed for holidays... more specifically, extra holidays (often the boss will close an extra day for an extra long weekend). He has asked more than once about setting an auto-response for *everyone* during these periods...
I would be very careful about doing that. You will wind up on the spam blocker lists & have a hell of a time getting back off them.
?
If it works exactly the same as normal vacation messages - doesn't auto-reply to any type of list or other auto generated content, and only replies once per day per sender (and for this company wide responder if the same sender sends to more than one of our addresses, they only get ONE response, not one for each recipient
That is the "be very careful" part.
Auto-responders are notoriously fiddly to get quite right.
- why would doing this at the company/domain level be any different?
Because there is much more opportunity to screw it up.
-- NOTHING IS FINAL. NOTHING IS ABSOLUTE. EXCEPT ME, OF COURSE. SUCH TINKERING WITH DESTINY COULD MEAN THE DOWNFALL OF THE WORLD. THERE MUST BE A CHANCE, HOWEVER SMALL. THE LAWYERS OF FATE DEMAND A LOOPHOLE IN EVERY PROPHECY. --Sourcery
participants (5)
-
Charles Marcus
-
Gene Heskett
-
LuKreme
-
Robert Schetterer
-
Steffen Kaiser