Casper Langemeijer wrote:
> Hi All,
>
> What is the correct way to implement out of office replies for dbmail 
> 2.2? I see people on this list using sieve (vacation), but I've used 
> an entry in dbmail_auto_replies, and I think (but am not sure) that 
> I've seen that one work before.
>

auto-reply and auto-notify has been removed from 2.3.x. The only way to 
do it is with sieve. You would need to use the vacation or notify method.

Examples Below. Note that the true can be replaced with other ways of 
matching messages specifically. Rules to sort mailing list messages into 
other mailboxes should be first and include the stop command so that the 
vacation doesn't go back to the mailing list. Sieve scripts do not get 
updated if the mailbox is renamed, so if you rename a mailbox, you need 
to update the script as well.

if anyof (header :contains ["to", "cc"] "[email protected]",
header :contains ["to", "cc"] "[email protected]")
{
fileinto  "Lists/DBMAIL";
stop;
}


if true
{
vacation :days 7 :addresses ["[email protected]"] :subject "On 
Vacation Until Forever"  text:
I will look at your email when I get back.
..
;
}

if true
{
keep;
notify :method "mailto" :options "[email protected]" :low :message 
"You have received a message from $from$ with subject $subject$";

}


-- 
Scanned for viruses and dangerous content by MailScanner

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to