> 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}"
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
No comments:
Post a Comment