APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Handling retired addresses with Kerio Connect

Anonymous asks:

I have two ex-employees who still get RFQs from time to time. I want an autoresponder that says "I am retired, please send business mail (only) to [email protected]

The normal vacation responder will do what we want with a little extra tweaking. This will require some manual editing, but go ahead and create a normal vacation responder for yourself first as that will save you some typing.

a normal vacation responder

Now you need to edit your "filter.siv" file manually. For example, if I had "jack" and "sue" as ex- employees who no longer have email addresses, I'd do this:

if allof (header :contains "Subject" "RFQ", address :is "to" ["[email protected]", "[email protected]"]) {
  vacation :days 7 :rangeEnabled 1 :rangeStart 1430989200 :rangeEnd 2488198000 "I am retired, please send business mail to [email protected]";
  stop;
}

if  address :is "to" ["[email protected]", "[email protected]"] {
 discard;
 stop;
}
 

Both "jack" and "sue" would also be added as aliases of my account. The first filter rule checks to see if the subject contains "RFQ" and the address is one of the ex-employees. You could add other tests if necessary. The second rule discards their mail if it wan't matched in the first rule.

I changed "rangeEnd" to a Julian date in May of 2100.

Note: the Kerio rule editor will see these rules but won't understand them or let you edit them. That won't affect using the editor to add or edit other rules.

manually edited rules are ignore by the Kerio rule editor

Using Sieve



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> Handling retired addresses with Kerio Connect




Increase ad revenue 50-250% with Ezoic


More Articles by

Find me on Google+

© Anthony Lawrence



Kerio Connect Mailserver

Kerio Samepage

Kerio Control Firewall

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us





Within C++, there is a much smaller and cleaner language struggling to get out. (Bjarne Stroustrup)

What happens then? Is there a ticker tape parade and heartfelt thanks from the computer it has reached? No, my friends, there is not. The poor packet is immediately gutted, stripped of its protective layers and tossed into the hungry maw of whatever application (mail, a webserver, whatever) it belongs to. (Tony Lawrence)







This post tagged: