[Exim] user+extension question

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter BARABAS
Fecha:  
A: exim-users
Asunto: [Exim] user+extension question

hello,


I've read the FAQ and found an example config file (Q10) for this
problem. It deals with virtual domains and DBM files, but I don't need
such things. I only need simple "new_address". In Q10 it is named virtualsuffix:

new_address = "\
    ${lookup{$local_part} dbm \
      {EBASE/domains/${lc:${length_1:${domain}}/${domain}}DBEXT} \
      {\
        ${if !match {$value}{^:(defer|fail|blackhole|include):} \
          {${local_part:$value}${local_part_suffix}@\
           ${if eq {${domain:$value}} {} {$domain} {${domain:$value}}}}\
        fail}\
      }\
    fail}"



All I need is: "$local_part_without_suffix"@"$domain"

How to achieve it?

Thanks in advance.


.------/// peter barabas <<-- z0d@(artifact|topelite|script).hu ///------.
define(`crypto', `blowfish') // -KNOWLEDGE IS POWER- // http://Y99k.COM/ .
REVERSE ENGINEERING <- GNIREENIGNE ESREVER // ............................
perl -wle 'print substr+qr,-,,-3' // tr is only for rot13 // -ToPeLiTe ///