Greetings,
Häid Jõule! / Joyful Christmas! 🌲✝️🌲✝️🌲
We are having difficulty getting Exim Address rewriting working on Ubuntu Linux.
The steps I have taken:
1) Configured the Debian / Ubuntu style configuration over to:
dc_use_split_config='true'
2) Put rewrite rules here: /etc/exim4/conf.d/rewrite/00_exim4-config_header
[email protected] [email protected]
FTfrst
[email protected] [email protected]
FTfrst
3) Ran the following commands to update the Exim configuration:
sudo update-exim4.conf
sudo service exim4 restart
Send a test email, and it properly goes out to [email protected]
So then I wanted to wildcard so that I did not need to think of every possible
variation the local mail might be coming from in order to bridge it to the real
Internet.
Attempted rules:
root
[email protected] FTfrst
hostname
[email protected] FTfrst
subdomain
[email protected] FTfrst
Those did not fire.
So I updated the syntax to:
root*
[email protected] FTfrst
*hostname*
[email protected] FTfrst
*subdomain*
[email protected] FTfrst
Those still do not fire. However....
*
[email protected] FTfrst
DOES work as an option!
I simplified the rewrite option list to:
*
[email protected] Eh
I found test program: exim -brw root
So am using that to now test the rules to see if they fire or not. The objective is to get exim to state that it will send the mail to [email protected] address. The only way I can
wildcard get Exim to do the rewrite is to run on the bare "*" rule.
What is wrong that other wild card attempts are not successful?
I am thankful,
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/
--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/