masqmail
diff tests/relay-to-localhost-mta/test.conf.tpl @ 310:f10a56dc7481
reworked online_detect to the simpler online_query
Only pipe is supported now. Use
online_query="/bin/cat /path/to/file"
instead of
online_detect=file
online_file=/path/to/file
and
online_query="/path/to/some/script foo"
instead of
online_detect=pipe
online_pipe="/path/to/some/script foo"
See man page masqmail.conf(5) and admin/config-transition.
author | meillo@marmaro.de |
---|---|
date | Sun, 24 Apr 2011 19:14:38 +0200 |
parents | 0379789a847b |
children | 08932c629849 |
line diff
1.1 --- a/tests/relay-to-localhost-mta/test.conf.tpl Sun Apr 24 19:02:09 2011 +0200 1.2 +++ b/tests/relay-to-localhost-mta/test.conf.tpl Sun Apr 24 19:14:38 2011 +0200 1.3 @@ -15,8 +15,7 @@ 1.4 # we want to deliver through a route named `test' to a local MTA 1.5 # thus we do not define any hosts or nets as local 1.6 # all mail should go through the `test' route. 1.7 -online_detect = "file" 1.8 -online_file = "PWD/online" 1.9 +online_query = "/bin/cat PWD/online" 1.10 online_routes.test = "PWD/test.route" 1.11 1.12 # spool files in the current directory