On 3/17/19 11:59 AM, Yassine Chaouche via dovecot wrote:
On 3/17/19 11:10 AM, Marek Kozlowski via dovecot wrote:

Thank you but...
Please mind that I'm planning to use dovecot LMTP rather than LDA.

Best regards,
Marek

There's /usr/lib/dovecot/lmtp too

Yassine.

Here's a bad example :

root@messagerie[10.10.10.19] ~ # /usr/lib/dovecot/lmtp
220 messagerie.algerian-radio.dz Dovecot ready.
Info: Connect from local
EHLO
502 5.5.2 Unknown command
HELO
502 5.5.2 Unknown command
LHLO localhost
250-messagerie.algerian-radio.dz
250-8BITMIME
250-ENHANCEDSTATUSCODES
250 PIPELINING
TO:a.chaouche
502 5.5.2 Unknown command
MAIL FROM:ushead@us.gov
501 5.5.4 Invalid parameters
MAIL FROM:<ushead@us.gov>
250 2.1.0 OK
RCPT TO:a.chaouche@algerian-radio.dz
501 5.5.4 Invalid parameters
RCPT TO:<a.chaouche@algerian-radio.dz>
250 2.1.5 OK
DATA
354 OK
Subject: Just a test

This is the body of the mail

.
lmtp(11746, a.chaouche@algerian-radio.dz): Info: copy from <lmtp DATA>: box=INBOX, uid=12210, msgid=, from=, subject=Just a test
lmtp(11746, a.chaouche@algerian-radio.dz): Info: dzRBHgkqjlziLQAArJM0yg: sieve: <>:Just a test stored mail into mailbox 'INBOX'
250 2.0.0 <a.chaouche@algerian-radio.dz> dzRBHgkqjlziLQAArJM0yg Saved


It's missing a lot of important fields I guess, but it made it to my inbox ^^'