Hello everyone,

I wish exim created aliases before rewrite domain name.

In the /etc/aliases :

---
# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
net: root
root: [email protected]
grouptest:        :include: /etc/exim4/list-aliases/grouptest
---

in /etc/exim4/list-aliases/grouptest
---
[email protected]
[email protected]
[email protected]
---

In my update-exim4.conf.conf
---
dc_eximconfig_configtype='internet'
dc_other_hostnames='domaintest.fr'
dc_local_interfaces='0.0.0.0'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='XXXX, XXXX, XXXX'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
---

I test aliases : OK
---
2014-10-17 17:18:46 1Xf9Ik-00011t-Tp <= [email protected] H=versdevweb03.xxxx.fr [172.16.16.62] P=esmtp S=690 [email protected] 2014-10-17 17:18:46 1Xf9Ik-00011t-Tp ** [email protected] <[email protected]>: Unrouteable address 2014-10-17 17:18:46 1Xf9Ik-00011t-Tp ** [email protected] <[email protected]>: Unrouteable address 2014-10-17 17:18:46 1Xf9Ik-00011t-Tp ** [email protected] <[email protected]>: Unrouteable address
---
But aliases are working properly.

I add rewrite the domaintest.fr to domaitest.com :
---
*@domaintest.fr         [email protected]     Tt
---

The rewrite is OK, but aliases do not work :
---
2014-10-17 17:23:03 1Xf9Mt-00019I-2z <= [email protected] H=versdevweb03.xxxx.fr [172.16.16.62] P=esmtp S=692 [email protected] 2014-10-17 17:23:03 1Xf9Mt-00019I-2z Remote host domaintest.com [98.124.198.1] closed connection in response to initial connection
---

I feel that the rewrite is processed before the aliases. How can I fix this?

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to