Hello everyone.

I have tired to googling this, but didn't found anything userful.
I have next configuration:

postfix (2.6.5). dspam 3.80. dovecot 1.2.

/etc/postfix/main.cf:
virtual_transport = lmtp:unix:/var/run/dspam/dspam.sock

dspam is daemon mode, listen this socket and after checks use dovecot
deliver for delivering mail to maildir.

Problem:  there is no "Return-Path" header at all in message in this way.
As I understand postfix does not set "Return-path", because lmtp is
usually used for mail filters with reinjecting mail to postfix again.
I found only one option, which probably changes this behavior.
"lmtp_assume_final", but it's not about this. So question. Can postfix set
return-path header, before sending message via lmtp?

// And yes, if I use pipe to deliver, then all fine.

Correct me, if I misunderstand whole thing.





Reply via email to