On 18-05-26 19:18:56, Edgar Pettijohn III 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"
>
> try:
> action "lmtp-local" mda "/usr/libexec/mail.lmtp -d unix:/var/dovecot/lmtp -f
> %{sender}"
Well, this time I'm getting
result=TempFail stat=Error ("mail.lmtp: no recipient was specified")
so there's difference. So I tried
action "lmtp-local" mda "/usr/libexec/mail.lmtp -d unix:/var/dovecot/lmtp -f
%{sender} %{recipient}" virtual <vusers>
but that resulted in
result=TempFail stat=Error ("smtpd: mda command line could not be expanded:
Interrupted system call")
same with %{rcpt-to}
Where did you get the %{} syntax? I haven't seen it anywhere when
reading about this.
> However, this does feel odd. I need to switch over as well, but still trying
> to wrap my brain around the new config.
> > 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?
> > --
> > viq
>