The .forward file works fine for &real& aka localusers, however it isn't looked at for any of the secondary email accounts. There has to be a way to enable this functionality for all email accounts; however I just can't seem to figure out how to configure exim to look up the information required.
Has anyone done this, or does anyone know how I might be able to get it to work?
I'm attempting to setup tmda ( http://tmda.net ), it works fine for the primary account, but without .forward file parsing for secondary accounts it's null.
This is what I had patched together from the information I could find, it doesn't work though of course:
virtualuserforward:
driver = forwardfile
condition = &${lookup{$domain}lsearch* {/etc/userdomains}{$value}}&
file = ${lookup{${lookup{$domain}lsearch*{/etc/userdomains}{${extract{5}{:}{$value}}/.forward}}
no_verify
no_expn
no_check_local_user
check_ancestor
filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
suffix = -*
suffix_optional
Has anyone done this, or does anyone know how I might be able to get it to work?
I'm attempting to setup tmda ( http://tmda.net ), it works fine for the primary account, but without .forward file parsing for secondary accounts it's null.
This is what I had patched together from the information I could find, it doesn't work though of course:
virtualuserforward:
driver = forwardfile
condition = &${lookup{$domain}lsearch* {/etc/userdomains}{$value}}&
file = ${lookup{${lookup{$domain}lsearch*{/etc/userdomains}{${extract{5}{:}{$value}}/.forward}}
no_verify
no_expn
no_check_local_user
check_ancestor
filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
suffix = -*
suffix_optional