[Exim] Seperate Userforward directors?

Pàgina inicial
Delete this message
Reply to this message
Autor: Paul
Data:  
A: exim-users
Assumpte: [Exim] Seperate Userforward directors?
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Dear all,

Does anyone know a way to specify seperate userforward directors for
local_user's and virtual_users'?
The reason I ask this is because for localuser's I need it to read their
.forward file but for virtual_users I need an SQL lookup.

Below is some of the code I am using in our configuration. Is there a
parameter I can set in the relevant local_delivery and virtual_delivery
sections to specify what userforward director to call?

# localuser Userforward
localuserforward:
driver = forwardfile
check_local_user = false
file = .forward
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply

# SQL Userforward
sqluserforward:
driver = forwardfile
check_local_user = false
data = ${lookup mysql {MYSQL_FORWARD}{$value}}
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply


--