Re: [Exim] making Exim recognise extended addresses?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Kirill Miazine
Date:  
À: Dan Egli
CC: exim-users
Sujet: Re: [Exim] making Exim recognise extended addresses?
Add following options to your localuser router:

local_part_suffix = -*
local_part_suffix_optional

The two routers that recognize extended addresses have both no_verify
set.

Dan Egli wrote:
> Ok. I recently had to reinstall my system after the root partition died
> (don't ask me how, I don't know!). I got exim setup again, and it looked
> good at first, till I tried to verify my TMDA extended addresses.
>
> [root@shortcircuit root]# exim -oMr scanned-ok -bv
> dan-dated-1058367649.ba737f@???
>
> dan-dated-1058367649.ba737f@??? failed to verify:
>    Unrouteable address

>
> but dan@??? works fine. Am I missing something? I
> have included my exim.conf below, I'm running Exim 4.20 on RedHat 8.

...
> userforward:
>    driver = redirect
>    check_local_user
>    file = $home/.forward
>    no_verify

     ^^^^^^^^^

>    no_expn
>    check_ancestor
> # allow_filter
>    file_transport = address_file
>    pipe_transport = address_pipe
>    reply_transport = address_reply
>    local_part_suffix = -*
>    local_part_suffix_optional

>
> # Ok. No .forward, so let's look for some procmail configs
> procmail_director:
>    driver = accept
>    check_local_user
>    no_verify

     ^^^^^^^^^

>    no_expn
>    user = ${local_part}
>    require_files = ${home}/.procmailrc
>    transport = procmail_transport
>    local_part_suffix = -*
>    local_part_suffix_optional

>
> # no procmail either, eh? Ok, so deliver to their /var/spool/mail/<user>
> # file instead.
>
> localuser:
>    driver = accept
>    check_local_user
>    transport = local_delivery


This router does not know how to deal with user-* type of addresses, so
address verification fails.

--
Kirill Miazine
mailto:km@krot.org
http://km.krot.org/