RE: [exim] data_acl and spool file

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: jori.hamalainen
Dátum:  
Címzett: exim-users
Tárgy: RE: [exim] data_acl and spool file
> Yes, after building ${run{}{}} with ls of spoolfile I saw
> that only -D file is there.
>
> Ok, then I just need to forward "content-type" -header with
> boundary and MIME-version header to script to check its
> content of the body-data from disk. It think MIME-boundary
> should not need quoting.


I didn't find documentation about special quoting for command line parameters for ${run -command. So best option might be ${rxquote:<MIME boundary>}?

> ${rxquote:${sg{multipart/related; type="1/2"; boundary="aaaAAAA-??:::(1)---"; start="<123>"}{^(.*)boundary="?([a-zA-Z0-9'\(\)+_,-\./:=\?]*)(.*)\$}{\$2}}}

aaaAAAA\-\?\?\:\:\:\(1\)\-\-\-

Or is there other (better) solutions?

-----
     boundary := 0*69<bchars> bcharsnospace


     bchars := bcharsnospace / " "


     bcharsnospace := DIGIT / ALPHA / "'" / "(" / ")" /
                      "+" / "_" / "," / "-" / "." /
                      "/" / ":" / "=" / "?"
-----