.. _pigeonhole_file: ================================================= Pigeonhole Sieve: File Location for Sieve Scripts ================================================= The ``file`` :ref:`pigeonhole_configuration_script_locations` is used to retrieve Sieve scripts from the file system. This is the default type if the type specifier is omitted from the location specification. The location can either point to a directory or to a regular file. If the location points to a directory, a script called ``name`` is retrieved by reading a file from that directory with the file name ``name.sieve``. When this location type is involved in a :pigeonhole:ref:`sieve_before` or :pigeonhole:ref:`sieve_after` script sequence and the location points to a directory, all files in that directory with a ``.sieve`` extension are part of the sequence. The sequence order of the scripts in that directory is determined by the file names, using a normal 8bit per-character comparison. Unless overridden using the ``;bindir=`` location option, compiled binaries for scripts retrieved from the ``file`` location type are by default stored in the same directory as where the script file was found if possible. Configuration ------------- The script location syntax is specified as follows: :: location = file:[;