Re: [exim] Additional line in body when submitting?

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] Additional line in body when submitting?
On 01/06/2022 04:42, Kamil Jońca via Exim-users wrote:
> - "mail" command is the same in both cases.


Obviously since one case runs exim and the other postfix, they cannot be.

But given this:

> But there is another thing:
> Normally, when message is delivered I use pipe transport:
>
> --8<---------------cut here---------------start------------->8---
> dovecot_pipe:
>          debug_print = "T: dovecot_pipe for $local_part@$domain ${reduce{ $sender_address : 'kjonca+fake@localhost' }{}{ ${if def:value {$value} {$item} }}}"
>          driver = pipe
>          path = "/usr/lib/dovecot/:/bin:/usr/bin:/usr/local/bin"
>          command = /usr/lib/dovecot/dovecot-lda -f "${reduce{$sender_address:kjonca+fake@localhost}{}{${if def:value {$value}{$item}}}}"
>          return_path_add
>          delivery_date_add
>          envelope_to_add
>          temp_errors = 64 : 69 : 70: 71 : 72 : 73 : 74 : 75 : 78
> --8<---------------cut here---------------end--------------->8---

>
> And these messages have additional line.
>
> But when I turned it off and use appendfile to maildir - messages in
> maildir have no additional lines.


- there's another player in the game: dovecot-lda.

I guess you could (as a test) pipe to a script which just writes a file.

--
Cheers,
Jeremy