:::: Config File

ipv4addr  = 192.99.135.223
hostn     = mail.newswire.net

pki $hostn cert "/etc/letsencrypt/live/mail.newswire.net/fullchain.pem"
pki $hostn key  "/etc/letsencrypt/live/mail.newswire.net/privkey.pem"

table domains file:/etc/mail/domains
table users   file:/etc/mail/users

listen on localhost
listen on $ipv4addr port 25 tls pki $hostn hostname $hostn

action remote_delivery lmtp "/usr/lib/dovecot/lmtp" rcpt-to virtual <users>

match  from any for domain <domains> action remote_delivery

:::: /etc/mail/users entry

# grep ^supp...@newswire.net /etc/mail/users
supp...@newswire.net     vmail

:::: Error Message

f03ef7cfdfb050bb mda delivery evpid=f259e1c3f4f1acb0 from=<da...@davidfavor.com> to=<supp...@newswire.net> rcpt=<supp...@newswire.net> user=vmail delay=0s result=TempFail stat=Error (temporary failure: "mail.lmtp: connect: Permission denied")

1) Same error occurs whether Dovecot is running or stopped.

   Camping - inotifywait -mrq /usr/lib/dovecot - show the
   lmtp executable is never touched, when Dovecot is running.

   Be great if someone can let me know how to fix this.

2) Also there doesn't seem to be a working Dovecot LMTP
   example, anywhere I can find. If someone can point me
   to an example (using new syntax), that would be great.

Thanks.

Reply via email to