# # поддержка UUCP # dnl # dnl # пользователь, от имени которого будет выполняться доставка dnl # define(`confUUCP_USER', `uucp')dnl dnl # dnl # полный путь к uux dnl # define(`confUUCP_UUX_PATH', `/usr/local/bin/uux')dnl dnl # dnl ifelse(SECTION, `MAIN', `dnl dnl trusted_users = uucp dnl ') ifelse(SECTION, `ROUTERS', `dnl uucp_dom: driver = manualroute transport = uucp_dom ifelse(confMAILERTABLE, `TEXT', `dnl condition = ${if match\ {${lookup{$domain}lsearch{CONFDIR/mailertable}}}\ {\N^(?i)\s*uucp-dom\s*:\s*(\S+)\s*$\N}\ {yes}{no}} route_data = ${if match\ {${lookup{$domain}lsearch{CONFDIR/mailertable}}}\ {\N^(?i)\s*uucp-dom\s*:\s*(\S+)\s*$\N}\ {$1}fail} ') dnl ifelse(confMAILERTABLE, `TEXT', `') ifelse(confMAILERTABLE, `DBM', `dnl condition = ${if match\ {${lookup{$domain}dbm{CONFDIR/mailertable.db}}}\ {\N^(?i)\s*uucp-dom\s*:\s*(\S+)\s*$\N}\ {yes}{no}} route_data = ${if match\ {${lookup{$domain}dbm{CONFDIR/mailertable.db}}}\ {\N^(?i)\s*uucp-dom\s*:\s*(\S+)\s*$\N}\ {$1}fail} ') dnl ifelse(confMAILERTABLE, `DBM', `') ifelse(confMAILERTABLE, `MYSQL', `dnl condition = ${if match\ {${extract{transport}{${lookup mysql{confMAILERTABLE_MYSQL}}}}}\ {\N^(?i)uucp-dom$\N}\ {yes}{no}} route_data = {${extract{route}{${lookup mysql{confMAILERTABLE_MYSQL}}}}} ') dnl ifelse(confMAILERTABLE, `MYSQL', `') ifelse(confMAILERTABLE, `SQLITE', `dnl condition = ${if match\ {${extract{transport}{${lookup sqlite{confSQLITE confMAILERTABLE_SQLITE}}}}}\ {\N^(?i)uucp-dom$\N}\ {yes}{no}} route_data = {${extract{route}{${lookup sqlite{confSQLITE confMAILERTABLE_SQLITE}}}}} ') dnl ifelse(confMAILERTABLE, `SQLITE', `') # no_verify ') ifelse(SECTION, `TRANSPORTS', `dnl uucp_dom: driver = pipe user = confUUCP_USER command = "confUUCP_UUX_PATH -r - -gC ${host}!rmail ${local_part}" return_fail_output = true ')