[exim] Re: detainting a sender address in a router/transport

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: [exim] Re: detainting a sender address in a router/transport
On 12/29/23 10:18, Jürgen Edner via Exim-users wrote:
> print_route:
>   driver     = manualroute
>   local_part_prefix = print/
>   route_list = domain.de
>   senders    = *@+local_domains : lsearch*@;/var/mail2print/senderaddresses
>   transport  = print_transport


> print_transport:
>   driver  = pipe
>   command = /usr/bin/mail2print -sender "$sender_address_data" -queue "$local_part_data"
>   home_directory = /tmp
>   user    = exim 



So, that "senders=" option should be a good candidate for
filling in $sender_data. Note: not $sender_address_data.

If adjusting the transport doesn't work at first, test using
"-d+all -bt".
--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/