[exim] Difficulty getting Exim Address rewriting working on …

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Michael Lueck
Datum:  
To: exim-users
Betreff: [exim] Difficulty getting Exim Address rewriting working on Ubuntu Linux
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

root@???   realemailaddress@???   FTfrst
root@???                      realemailaddress@???   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 realemailaddress@???

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                                               realemailaddress@???   FTfrst
hostname                                           realemailaddress@???   FTfrst
subdomain                                          realemailaddress@???   FTfrst

Those did not fire.

So I updated the syntax to:

root*                                              realemailaddress@???   FTfrst
*hostname*                                         realemailaddress@???   FTfrst
*subdomain*                                        realemailaddress@???   FTfrst

Those still do not fire. However....

*                                                  realemailaddress@???   FTfrst

DOES work as an option!

I simplified the rewrite option list to:

*                                                  realemailaddress@???   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 realemailaddress@??? 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):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/