[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim Filter: .forward [gelöst]



########     ###    ##    ## ##    ## ######## ####
##     ##   ## ##   ###   ## ##   ##  ##       ####
##     ##  ##   ##  ####  ## ##  ##   ##       ####
##     ## ##     ## ## ## ## #####    ######    ##
##     ## ######### ##  #### ##  ##   ##
##     ## ##     ## ##   ### ##   ##  ##       ####
########  ##     ## ##    ## ##    ## ######## ####

Gruß aus der Ex-Heimat der CeBIT
und bleibt gesund
Jochen

Am 02.02.2021 um 11:00 schrieb Marc Haber:
On Mon, 1 Feb 2021 14:23:35 +0100, Joachim Hartmann
<joachim.hartmann@gmx-topmail.de> wrote:
Hallo Exim-Spezis,
in meiner .forward steht zurzeit der Bandwurm
##############################################################
    if $header_from: contains "a@x.de" or $header_from: contains
"a@x.de" or ... then
##############################################################
in einer Zeile! Kann ich die Zeile wie bei Linux üblich mit einem
Backslash umbrechen?

Ich glaube Du brichst sie einfach um. Ich habe in meine .forward Dinge
wie

|if $original_domain is "incluesion.de" then
|  if $local_part_suffix begins "+" and
|    "${if exists {$home/.mail/.inc.${substr_1:$local_part_suffix}} {yes}}" is
|    save $home/.mail/.inc.${substr_1:$local_part_suffix}/
|    finish
|  endif
|  if $local_part_suffix begins "---" and
|    "${if exists {$home/.mail/.inc.${substr_3:$local_part_suffix}} {yes}}" is
|    save $home/.mail/.inc.${substr_3:$local_part_suffix}/
|    finish
|  endif
|endif

und es funktioniert einwandfrei.

Grüße
Marc



Reply to: