Mercurial > masqmail
comparison tests/relay-to-hostname-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 |
comparison
equal
deleted
inserted
replaced
309:273f6c9eb6a2 | 310:f10a56dc7481 |
---|---|
13 host_name="MASQMAIL-TEST" | 13 host_name="MASQMAIL-TEST" |
14 | 14 |
15 # we want to deliver through a route named `test' to a local MTA | 15 # we want to deliver through a route named `test' to a local MTA |
16 # thus we do not define any hosts or nets as local | 16 # thus we do not define any hosts or nets as local |
17 # all mail should go through the `test' route. | 17 # all mail should go through the `test' route. |
18 online_detect = "file" | 18 online_query = "/bin/cat PWD/online" |
19 online_file = "PWD/online" | |
20 online_routes.test = "PWD/test.route" | 19 online_routes.test = "PWD/test.route" |
21 | 20 |
22 # spool files in the current directory | 21 # spool files in the current directory |
23 spool_dir="PWD" | 22 spool_dir="PWD" |
24 | 23 |