| Main Archive Page > Month Archives > amavis-user archives |
> An additional trick is to have a dedicated 'instance' subconfiguration,
> so that one can play with settings for a test instance, while the
> production amavisd is kept running. Something like (by the end of
> amavisd.conf):
>
> if ($instance_name eq 'test') {
> ...
> }
>
> $ mini_sendmail -ftest@example.com -s127.0.0.1 \
> -p8888 postmaster@example.com <test.msg
Forgot to say to start the test instance:
# amavisd -i test debug
The only requirement for an instance if to have its own pid and
a log file and a nanny database (if enabled), and its own socket.
The rest can be common, such as the work directory.
Mark