[exim] Config problem after upgrading to 4.94.2

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Alexander Nagel
Date:  
À: exim-users
Sujet: [exim] Config problem after upgrading to 4.94.2
Hi,


I have updated my Exim server to version 4.94.2

I ran into the local_part issue which is described here:
https://git.exim.org/exim.git/blob/HEAD:/src/README.UPDATING

I have changed the router and transport config to this.

hint01: Normally here is a database query, I changed it to a file to rule out database issues. All users are virtual.

sql_user:
                driver          = accept
                domains         = +local_domains : +virtual_domains
                local_parts     = lsearch; /etc/exim4/locale <--- hint01 --->
                transport       = sql_user_local_delivery



sql_user_local_delivery:
                driver                  = appendfile
                directory               = /var/mail/vhosts/${domain}/${local_part_data}/Maildir
                maildir_format
                maildir_use_size_file
                delivery_date_add
                envelope_to_add
                return_path_add
                headers_remove          = Subject:X-Spam-Subject
                headers_add             = "Subject: ${if def:header_X-Spam-Subject:{$h_x-spam-subject:}{$h_subject:}}"
                user                    = mail
                group                   = mail
                mode                    = 0660



And then I tested it with 'exim -bv -d+all alexander@???'
and the result is as follows.

As you can see exim finds the local_part but the 'local_part_data' remains empty.
Can someone please give me hint what I'm missing here?
If you need more info, I'm happy to provide it.

Kind regards,
Alexander

12:10:43 87424 checking local_parts
12:10:43 87424 search_open: lsearch "/etc/exim4/locale"
12:10:43 87424 search_find: file="/etc/exim4/locale"
12:10:43 87424 key="alexander" partial=-1 affix=NULL starflags=0 opts=NULL
12:10:43 87424 LRU list:
12:10:43 87424 :/etc/exim4/locale
12:10:43 87424 End
12:10:43 87424 internal_search_find: file="/etc/exim4/locale"
12:10:43 87424 type=lsearch key="alexander" opts=NULL
12:10:43 87424 file lookup required for alexander
12:10:43 87424 in /etc/exim4/locale
12:10:43 87424 lookup yielded:
12:10:43 87424 alexander in "lsearch; /etc/exim4/locale"? yes (matched "lsearch; /etc/exim4/locale")
12:10:43 87424 calling sql_user router
12:10:43 87424 sql_user router called for alexander@???
12:10:43 87424 domain = example.de
12:10:43 87424 set transport sql_user_local_delivery
12:10:43 87424 queued for sql_user_local_delivery transport: local_part = alexander
12:10:43 87424 domain = example.de
12:10:43 87424 errors_to=NULL
12:10:43 87424 domain_data=example.de local_part_data=
12:10:43 87424 routed by sql_user router
12:10:43 87424 envelope to: alexander@???
12:10:43 87424 transport: sql_user_local_delivery
alexander@???
router = sql_user, transport = sql_user_local_delivery
12:10:43 87424 search_tidyup called
12:10:43 87424 close PGSQL connection: localhost/email/exim
12:10:43 87424 >>>>>>>>>>>>>>>> Exim pid=87424 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>