April 8, 2020 6:15 PM, "Joerg Jung" <m...@umaxx.net> wrote:

>> On 8. Apr 2020, at 17:19, Eric Faurot <e...@faurot.net> wrote:
>> 
>> Some users had issues with report events for MAIL FROM and RCPT TO
>> when "|" appear in the mail address (yes, it seems to happen), because
>> that's also the field separator. To make parsing the report lines a
>> bit more straightforward, it's better to put the address as the last
>> field.
> 
> While this obviously would fix things, I wonder if there is a better choice 
> for
> the separator available, to avoid similar issues in future.
> Something that does not show up in hostnames, mail from, rcpt to, or
> anything else SMTP (filter) protocol related.
> Maybe better use ‘$' or even a control character like RS/US record/unit
> separator (ASCII no 29/30)?
> 

I don't know, having a printable character eases reading event log with
std tools, the problem is really that user-supplied parameters to verbs
are always last on an event except for tx-mail and tx-rcpt so we cannot
use the same logic as with data-line.

Reply via email to