Anne wrote:
> I wonder what the point is of the :addresses part in a dbmail sieve script.

The idea is that only emails with one or more of the addresses mentioned
in the :addresses list in their To or Cc headers will trigger the
auto-reply.



> 
> require "vacation";
> if true {
>     vacation
>         :days 7
>         :adresses ["[EMAIL PROTECTED]"]
>         :subject "auto-reply message"
>         "Thank you for contacting us. You will hear from us as soon as
> possible.";
> }
> 
> if I change it to another address, nothing changes. The vacation message
> is still sent as the alias found connected to the dbmail-user.

If you want to change the envelope sender of the notification, use the
:from field.

> However, it is possible for a dbmail user to have multiple aliases. So
> :addresses would be handy to override the alias found by dbmail.
> 
> I can create a sieve script without :adresses. It works just fine.

You mean notifications are sent? That would be a bug, I think. Aaron?

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to