On 10/2/2013 5:44 PM, Lampa wrote:> Hello,
>
> i've setup sieve script which send notify to user (user at domain.com).
> But user at domain.com is alias user at domain.com and
> user at anotherdomain.com. LMTP delivers notification only to
> user at domain.com but not to user at anotherdomain.com. How to force send
> notification over smtp (which will be delivered to both) or i must use
> to=user at anotherdomain.com in notify ?
>
> Thank you for your advices.
Dovecot and Sieve are oblivious to aliases. Resolving those is the
responsibility of your MTA.
You can indeed use Sieve to force delivery to additional recipients
using additional to=, or cc= recipients, or separate notify actions,
which triggers separate mail transmissions for each recipient. However,
if aliases are involved, this can also cause duplicate notifications on
the receiving end...
Regards,
Stephan.