testing dovecot LMTP with postfix/spamassassin

Yassine Chaouche a.chaouche at algerian-radio.dz
Sun Mar 17 11:22:01 EET 2019


On 3/16/19 3:49 PM, Marek Kozlowski via dovecot wrote:
> Can I test local mail delivery by dovecot LMTP manually? I mean: to 
> simulate "I'm the Postfix" and produce for some testing e-mail the 
> same effect as postfix granting it via `local_transport' to dovecot?
>
> Best regards,
> Marek
>
You can use dovecot-lda like this :

cat <<EOF | /usr/lib/dovecot/dovecot-lda -d $USER
From: sender

To:Recipient

Subject: Test

Hello, this is the body of the message


EOF

"I am The Postfix" really has potential as a t-shirt banner ^^'

Yassine.




More information about the dovecot mailing list