<commit_before># hhvacation

This is a drop-in replacement for the apparently no longer maintained
hhvacation program included in the
[GNU Hosting Helper](http://hostingsoftware.net/) suite. It only
operates on so called "virtual" vacation responds (i.e. they are kept
in a MySQL database).

## Usage

Change your Postfix' master.cf to include a line like:
 
    vacation  unix  -       n       n       -       -       pipe flags=DRhu user=vacation argv=/usr/bin/hhvacation-ruby /etc/hhvacation.yml
   
The actual settings may vary depending on your setup. The argument
passed to the hhvacation-ruby program which is installed by this gem
must point to a YAML config file which contains the database
connection information, for example:

    host: localhost
    user: root
    password: <PASSWORD>
    database: mail

## Copyright

Copyright (c) 2010 <NAME>. See LICENSE for details.
<commit_msg>update README to include mail config<commit_after># hhvacation

This is a drop-in replacement for the apparently no longer maintained
hhvacation program included in the
[GNU Hosting Helper](http://hostingsoftware.net/) suite. It only
operates on so called "virtual" vacation responders (i.e. they are
kept in a MySQL database).

## Usage

Change your Postfix' master.cf to include a line like:
 
    vacation  unix  -       n       n       -       -       pipe flags=DRhu user=vacation argv=/usr/bin/hhvacation-ruby /etc/hhvacation.yml
   
The actual settings may vary depending on your setup. The argument
passed to the hhvacation-ruby program which is installed by this gem
must point to a YAML formatted config file. It must contain the
database connection information (see below for an example). Unless
configured otherwise, mails are delivered via the default method of
the `mail` gem (SMTP on localhost port 25 for version 2.2.5).


## Example config

    database:
      host: localhost
      user: root
      password: <PASSWORD>
      database: mail
      
    mail:
      method: sendmail
      location: /usr/local/bin/sendmail
      

The `method` setting in the `mail` section may contain whatever method
is available in the `mail` gem. All further keys are directly passed
as settings for the method.
      
## Copyright

Copyright (c) 2010 <NAME>. See LICENSE for details.

{'fraction_non_alphanumeric': 0.06304728546409807, 'fraction_numerical': 0.005691768826619965, 'mean_word_length': 3.215867158671587, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '582506', 'n_tokens_mistral': 665, 'n_tokens_neox': 610, 'n_words': 292}