Recent Changes - Search:

Gazelle Wiki

PmWiki


site indexedit SideBar

pmwiki-2.4.2

ProgrammableMailMode

This feature is not yet implemented!!

These instructions are still very preliminary, not to mention confusing and, in places, ambiguous. I expect to clean up this page a lot when I finally get around to implementing this command.

PROGRAMMABLE MAIL MODE:

You can instruct Gazelle to automatically switch between two different mail modes at predetermined times on a weekly basis. This is an "expert user" configuration with arcane syntax. If you can't either figure out or implement the syntax, please just accept it and move on; the Listmoms are not responsible for configuring programmable mail mode for our subscribers.

The two mail modes are fully user selectable; one may be "mail" and the other may be "nomail"; or, one may be "digest" and the other may be "mail." For that reason, they are simply referred to as "mail mode 1" and "mail mode 2." Note: If programmable mail mode is in effect when a "set vacation" command is issued, then, upon returning from vacation mode, your previously set programmable mail mode settings will be resumed.

  To set up a mail-mode program, send the following set of commands in the
  body of an e-mail to the Gazelle server at <LISTNAME-commands@ares.listmoms.net>:

    set program
    mode1: MAIL_MODE_1
    DDD TT00 [OFFSET]
                 .
                 .
                 .
    DDD TT00 [OFFSET]
    mode2: MAIL_MODE_2
    DDD TT00 [OFFSET]
                 .
                 .
                 .
    DDD TT00 [OFFSET]
    end

...where "mail_mode_1" is the mail mode to be set for the first set of day/time combinations, and "mail_mode_2" is the mail mode to be set for the second set of day/time combinations; "ddd" is a three-letter day of the week {sun, mon, tue, wed, thu, fri, sat}; "tt" is the 'hour' setting on a 24-hour clock; and "offset" is an optional offset from GMT that specifies the intended time zone for the day/time combinations (this is needed if your e-mail is sent with a time zone _other than_ your actual time zone. NOTE: Corrections are not automatically made for Daylight Saving Time; you will need to send a new set of commands when DST goes into or out of effect; this includes DST going into or out of effect on the Gazelle server (i.e., Gazelle will not make "corrections" when DST goes into or out of effect, as making such corrections would create at least as many problems as it would solve).

So, for example, to program Gazelle to set your subscription to "mail" at 8:00 a.m. (0800 hours, your local time) every weekday, and set to "nomail" at 7 p.m. (1900 hours) every weekday, you would send the following commands to the server:

    set program
    mode1: mail
    mon 0800
    tue 0800
    wed 0800
    thu 0800
    fri 0800
    mode2: nomail
    mon 1900
    tue 1900
    wed 1900
    thu 1900
    fri 1900
    end

As another example, to program Gazelle to deliver individual messages (i.e., "mail" mode) to your account from 8 a.m. (0800 hours) Monday morning to midnight (0000 hours) Saturday morning, and then send digests for Saturday and Sunday, you would issue the following commands:

    set program
    mode1: MAIL
    MON 0800
    mode2: DIGEST
    SAT 0000
    end

Those commands are functionally equivalent to the following:

    set program
    mode1: digest
    sat 0000
    mode2: mail
    mon 0800
    end

Note: Your programmed mail mode will not commence until the first programmed time is reached. For the example above, if your current setting is "nomail," and you issue the commands at 10:30 a.m. on Tuesday, your mail mode will not be switched (to "digest," in this case) until midnight Saturday morning. If you wanted to switch to "mail" mode immediately, then you could modify the commands shown above as follows:

    set program
    mode1: digest
    sat 0000
    mode2: mail
    mon 0800
    tue 1100
    end

In that case, your mail setting will be switched from "nomail" to "mail" at 11:00 a.m. on Tuesday. You may opt to leave the "extra" setting in there indefinitely, as it will not harm (or change) anything.

By way of a final example, it is important to note that Gazelle will use the GMT offset in your e-mail message to "compute" the actual offset from the server's local time zone (ET) to your local time zone. This will not work properly, however, if your e-mail is sent with a GMT offset that is DIFFERENT from your local time (e.g., if your web- mail server sends mail from a time zone that is different from your local time), *or* if your mail client does not use a standards- compliant time zone format (specifically, RFC2822 Sec. 3.3), then you will need to specify the desired offset from GMT yourself.

So, suppose you wanted to set yourself to "nomail" every Saturday, and be on "digest" the rest of the time. Suppose further that you live in Sydney, NSW, Australia, and that Sydney happens to be on DST at the current time (i.e., GMT+1100) -- but your e-mail is sent from a server in California, which is currently at GMT-0800. You may specify the times as local time (+1100) by including the desired offset in the command, as follows:

    set program
    mode1: nomail
    sat 0000 +1100
    mode2: digest
    sun 0000 +1100
    end

(More examples will be included later....)

Edit - History - Print - Recent Changes - Search
Page last modified on August 31, 2009, at 10:22 pm