Mercurial > masqmail
comparison src/deliver.c @ 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 | 72e377210d5e |
children | e230bcd0f1c6 |
comparison
equal
deleted
inserted
replaced
309:273f6c9eb6a2 | 310:f10a56dc7481 |
---|---|
692 { | 692 { |
693 GList *rf_list = NULL; | 693 GList *rf_list = NULL; |
694 gchar *connect_name = NULL; | 694 gchar *connect_name = NULL; |
695 gboolean ok = FALSE; | 695 gboolean ok = FALSE; |
696 | 696 |
697 connect_name = detect_online(); | 697 connect_name = online_query(); |
698 if (!connect_name) { | 698 if (!connect_name) { |
699 return FALSE; | 699 return FALSE; |
700 } | 700 } |
701 | 701 |
702 /* we are online! */ | 702 /* we are online! */ |