On May 27, 2018 2:10 AM, viq <vic...@gmail.com> wrote: > > On 18-05-26 20:30:32, Amelia A Lewis wrote: > > On Sun, 27 May 2018 00:43:02 +0200, viq wrote: > > > Sorry, I've read the announcements, looked at man pages and examples, > > > but still didn't manage to figure out how to translate "deliver via > > > dovecot > > > lmtp" > > > (to have sieve working) into the new syntax. So far my config was: > > > > > > table vusers ldap:/etc/mail/ldap.conf > > > table vdomains ldap:/etc/mail/ldap.conf > > > table passwd ldap:/etc/mail/ldap.conf > > > > > > accept from local for local virtual <vusers> deliver to lmtp > > > "/var/dovecot/lmtp" > > > accept from any for domain <vdomains> virtual <vusers> deliver to lmtp > > > "/var/dovecot/lmtp" > > > > > > > > > I tried changing those into: > > > > > > action "lmtp-local" mda "/usr/libexec/mail.lmtp -d /var/dovecot/lmtp" > > > virtual <vusers> > > > action "relay" relay > > > match from local for local action "lmtp-local" > > > match from any for domain <vdomains> action "lmtp-local" > > > match from local for any action "relay" > > > > > > > > > but delivery attempts fail with Error ("mail.lmtp: sender must be > > > specified > > > with -f") > > > > > > What would be the proper config for this? > > > > Good point (and I'm going to need it, too, when I get to that point, > > for dovecot lmtp on one machine and dspam lmtp on another). > > > > Gilles, shouldn't there be a keyword 'lmtp' to go along with > > mbox/maildir/mda/relay/forward-only/expand-only? Comparing old (6.2) > > smtp.conf(5) with the updated one linked from your article, it seems to > > be the only missing method of delivery. > > > > Or perhaps it just got skipped in the man page? viq, have you tried > > > > action "lmtp-local" lmtp "/var/dovecot/lmtp" > > > > ? > > No, FAQ is very explict about it being removed: > http://www.openbsd.org/faq/current.html#r20180524 >
That makes me sad :(. That is a really ugly line in the config. > > (yes, I should do it, but I'm not yet comfortable following -current, > > even as I move more and more machines to openbsd, I am a Bad Person™) > > > > Amy! > > -- > > Amelia A. Lewis amyzing {at} talsever.com > > Life is a glorious cycle of song / a medley of extemporanea; > > and love is a thing that can never go wrong; > > and I am Marie of Roumania. > > -- Dorothy Parker > > >