############################################################
### general
############################################################
PAGE general
  ENTRY mailDir "~/TEST"
  COMMAND com_mailDir "~/TEST"
  ENTRY loginName "blackie@homenet"
############################################################
### backup
############################################################
PAGE backup
  CHECKBOX all "0"
  COMMAND com_all_file "~/Mail/backup"
  FILLOUT delivered_file {
    TEXT "backup-delivered-"
    FILLOUTELM delivered_date {
      RADIO delivered_digit "4"
      RADIO delivered_dayFormat "Mon"
    }
    TEXT "-"
    FILLOUTELM delivered_date {
      RADIO delivered_dateInfo "Month"
      RADIO delivered_digit "4"
      RADIO delivered_monthFormat "Aug"
      RADIO delivered_dayFormat "Mon"
    }
    TEXT ""
  }
  RADIO delivered "Specify, for each recipe, whether the message should be backed up"
  FILLOUT undelivered_file {
    TEXT "backup-undelivered-"
    FILLOUTELM undelivered_date {
      RADIO undelivered_digit "4"
      RADIO undelivered_dayFormat "Mon"
    }
    TEXT "-"
    FILLOUTELM undelivered_date {
      RADIO undelivered_dateInfo "Month"
      RADIO undelivered_digit "4"
      RADIO undelivered_monthFormat "Aug"
      RADIO undelivered_dayFormat "Mon"
    }
    TEXT ""
  }
############################################################
### recipes
############################################################
PAGE recipes
  EXTENTRY recipes
  {
    ENTRY recipeName "Filter files into seperate folders"
    COMMAND com_filter_sigDir "~/Mail/signatures"
    COMMAND com_filter_logfile "~/Mail/signatures/log"
    FILLOUT filter_comHead_file {
      TEXT ""
    }
    FILLOUT filter_comBody_file {
      TEXT ""
    }
    FILLOUT reply_message_file {
      TEXT ""
    }
    CHECKBOX save_act "1"
    EXTENTRY save_files
    {
      FILLOUT save_file {
        TEXT "User/"
        FILLOUTELM save_header {
          COMBOBOX save_field "from:"
          CHECKBOX save_address "1"
        }
        TEXT ""
      }
    }
    {
      FILLOUT save_file {
        TEXT "Date/"
        FILLOUTELM save_header {
          COMBOBOX save_field "date:"
          CHECKBOX save_isdate "1"
          RADIO save2_dateInfo "Month"
          RADIO save2_monthFormat "August"
          LABEL save_dateLabel "Month"
          ENTRY save_dateAlt "XXX"
        }
        TEXT "-"
        FILLOUTELM save_header {
          COMBOBOX save_field "date:"
          CHECKBOX save_isdate "1"
          RADIO save2_digit "4"
          LABEL save_dateLabel "Year"
          ENTRY save_dateAlt "XXX"
        }
        TEXT ""
      }
    }
    {
      FILLOUT save_file {
        TEXT "DateAndUser/"
        FILLOUTELM save_header {
          COMBOBOX save_field "date:"
          CHECKBOX save_isdate "1"
          RADIO save2_dateInfo "Month"
          RADIO save2_monthFormat "August"
          LABEL save_dateLabel "Month"
          ENTRY save_dateAlt "XXX"
        }
        TEXT "-"
        FILLOUTELM save_header {
          COMBOBOX save_field "date:"
          CHECKBOX save_isdate "1"
          RADIO save2_digit "4"
          LABEL save_dateLabel "Year"
          ENTRY save_dateAlt "XXX"
        }
        TEXT "/"
        FILLOUTELM save_header {
          COMBOBOX save_field "from:"
          CHECKBOX save_address "1"
        }
        TEXT ""
      }
    }
    FILLOUT pipe_pipe_file {
      TEXT ""
    }
    TEXTBOX description "This single recipe is an example on how to use procmail to filter a folder with lots of emails from different persons into seperate folders.
Each message will go into three seperate folder:
1) User/<from> - in the directory \"User\" a folder will be created based
    on the senders email address.
2) Date/<Month>-<Year> - In the directory \"Date\", folders will be
    created based on the month and year of the arrival of the letter.
3) DateAndUser/<Month>-<Year>/<from> - In the directory
    \"DateAndUser\" subdirectories will be created based on the arrival
    of the letter, and in these subdirectories, folders will be created
    based on the sender of the letter."
  }
