comparison docs/simple-relay-setup @ 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 9814e75de61c
children e230bcd0f1c6
comparison
equal deleted inserted replaced
309:273f6c9eb6a2 310:f10a56dc7481
104 time the daemon does a queue run. Therefor you need to tell masqmail 104 time the daemon does a queue run. Therefor you need to tell masqmail
105 that it is online and can use the default route to deliver mail. 105 that it is online and can use the default route to deliver mail.
106 106
107 Add this to masqmail.conf: 107 Add this to masqmail.conf:
108 108
109 online_detect = "pipe" 109 online_query = "/bin/echo default"
110 online_pipe = "/bin/echo default"
111 110
112 Now masqmail will send online mail automatically through the default 111 Now masqmail will send online mail automatically through the default
113 route, each time it does a queue run (every ten minutes). 112 route, each time it does a queue run (every ten minutes).
114 113
115 114