I've installed a script. No errors.
Next I sent a message. No vacation message was sent.
I found out the script is deactived by default.
So I tried this:
server# dbmail-sievecmd -a aaa02_vacation
*** dbmail-sievecmd ***
Use this program to manage your users' Sieve scripts.
See the man page for more info. Summary:
-u username Username of script user
-l List scripts belonging to user
-a scriptname Activate the named script
(only one script can be active;
deactivates any others)
-d scriptname Deactivate the named script
(no scripts will be active after this)
-i scriptname file Insert the named script from file
(a single dash, -, indicates input
from STDIN)
-c [scriptname] Print the contents of the named script
(if no script is given, the active
script is printed)
-r scriptname Remove the named script
(if script was active, no script is
active after deletion)
server# dbmail-sievecmd -a [aaa02_vacation]
dbmail-sievecmd: No match.
server#
Hmmm...didn't work. Next I tried to change the record directly in
dbmail_sievescripts.
Couldn't do that since there was no PK. I added a PK to 'name' and set
'active' to 1 in my record.
Note that this didn't fix the problem with dbmail-sievecmd -a
Now the responder works fine. Also the reply cache works. Great!
So dbmail-sievecmd needs some work. For instance -l and -r scriptname also
don't work.
thanks,
Anne
> The wiki is outdated, it seems.
>
>
> cat >> sieve.txt << EOF
> require "vacation";
>
> if true {
> vacation
> :days 7
> :addresses ["[EMAIL PROTECTED]"]
> :subject "auto-reply message"
> "Thank you for contacting us. You will hear from us as soon as
> possible.";
> }
> EOF
>
> dbmail-sievecmd -u anne -i myscript sieve.txt
>
>
> Anne wrote:
>>> Anne wrote:
>>>> Hi,
>>>>
>>>> I was running 2.0.10 which had working auto replies, albeit not very
>>>> sophisticated (empty sender, no track of replies sent).
>>>>
>>>> I upgraded to 2.2.1.
>>>> I have created a record with start_date set to 2006-12-06 00:00:00
>>>> and stop_date set to 2006-12-09 00:00:00
>>>> I double checked I'm using the right user_idnr.
>>>> Unfortunatelly no auto reply is sent.
>>>> There are no errors in the log.
>>> Anne,
>>>
>>> Please don't use auto_reply. Use sieve.
>>>
>>> The auto_reply code was/is broken, and beyond repair. I've declared
>>> that
>>> code deprecated, though I never did that 'officially' on the website or
>>> in a README.
>>>
>>> Sieve with vacation support should do the trick just as well and
>>> better.
>>
>> Wiki:
>> DBMailÂ’s sieve currently supports the following modules:
>> * fileinto (Used to insert mail into a mailbox)
>> * reject (reject a message)
>>
>> So how do I make a Sieve vacation script?
>>
>> thanks,
>> Anne
>>
>>
>> _______________________________________________
>> DBmail mailing list
>> [email protected]
>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>
>
> --
> ________________________________________________________________
> 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
>
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail