exim4.conf
changeset 1 76090d638b68
parent 0 e48dc981badc
child 2 a49da6b641eb
equal deleted inserted replaced
0:e48dc981badc 1:76090d638b68
    14 
    14 
    15 PROVIDERS = <your file name for the providers file here>
    15 PROVIDERS = <your file name for the providers file here>
    16 
    16 
    17 # some macros to ease the understanding
    17 # some macros to ease the understanding
    18 ADDRESS_DATA = ${sg{${lookup{$sender_address}lsearch*@{PROVIDERS}}}{\\s+}{\t}}
    18 ADDRESS_DATA = ${sg{${lookup{$sender_address}lsearch*@{PROVIDERS}}}{\\s+}{\t}}
    19 SMARTHOST    = ${extract{1}{\x20\t}{$address_data}}
    19 SMARTHOST    = ${extract{1}{\t}{$address_data}}
    20 HOST         = ${extract{1}{:}{SMARTHOST}}
    20 HOST         = ${extract{1}{:}{SMARTHOST}}
    21 PORT         = ${extract{2}{:}{SMARTHOST}{$value}{submission}}
    21 PORT         = ${extract{2}{:}{SMARTHOST}{$value}{submission}}
    22 USER         = ${extract{2}{\t}{$address_data}}
    22 USER         = ${extract{2}{\t}{$address_data}}
    23 PASS         = ${extract{3}{\t}{$address_data}}
    23 PASS         = ${extract{3}{\t}{$address_data}}
    24 
    24