Re: [EXIM] uucp configuration

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Vladimir Litovka
Fecha:  
A: exim-users
Asunto: Re: [EXIM] uucp configuration
--> Use Reply-To: for answer to Vladimir Litovka <doka@???>

Hi!

>> Does anyone have any rewriting rules for exim 1.61 to rewrite bang-paths
>> so I can toss uucp mail with exim?


> This rewrites a!b as b@a, which is the only one I've got. Of course it
> handles only simple cases.


> ^([^!]+)!(.+)@xoanon\.csi\.cam\.ac\.uk$ $2@$1


And this rewrites a!a.b.c!u to u@???

# system!system.domain!user
^([^!]+)!((\w+)(\.\w+)+)!(.*)@grunt\.vl\.net\.ua \
    "$5@${if eq {$1}{$3}{$2}{$1}}" Tbcrtq


Use rewriting only for To: headers with flags Tbcrtq and place this rule
before previous.

Question: is possible to use rewrite rule two and more times? For example, by
using flags (C-like :-) q == break, 0 == continue), that instruct exim to
apply this rule to result of previous applying.

-- 
      Vladimir Litovka <doka@???>, hostmaster of vl.net.ua
      ========  Don't trouble trouble until trouble troubles you.


--
*** Exim information can be found at http://www.exim.org/ ***