[Exim] address rewriting

Góra strony
Delete this message
Reply to this message
Autor: Hans Ginzel
Data:  
Dla: exim-users
Temat: [Exim] address rewriting
    Hello,

how to say to exim, that address fred@localhost should be rewriten
to fred@??? only on a remote delivery?

Is there a string expasion on the local_domains option?
I realised, that

    local_domains=${primary_hostname}.localdomain : localhost


is other then

    local_domains=geze.localdomain : localhost


and the exim -bP |grep primary says

    primary_hostname = geze


by experimenting with delivery from hans@???.

I want to add ${primary_hostname}.localdomain to local domains,
because I must set in /etc/pinrc domainname with at least one dot
so pine dos not cry, that domain address is incomplete.
I did not find any possibility to switch this test off in pine.


And last question, how to say in configuration file
something like this (address rewriting):

    *@${local_domains}    $1@???  bcfrF


for remote delivery?


    Thanks


                    Hans Ginzel



----- End forwarded message -----