Re: Sieve, and general configuration
Łukasz Michalski via Info <[email protected]>
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
Hi,
You may want to look at https://github.com/thsmi/sieve.
Regards,
Łukasz
On 3/13/25 11:43 AM, whitepj via Info wrote:
> Hi All,
>
> Apologies for posting what are probably basic FAQs - please point me
> to relevant HOWTO webpages if available. _*Background*_/_:_/ After an
> embarrassingly "more than 2 days", I have finally got a basic instance
> of Cyrus IMAP working. I am now able to receive emails, and to view
> messages in a client. My next test involves enabling sieve scripts --
> but I don't seem to be able to find a lot of info about how to set up,
> test, administer and maintain. That said, I have never used sieve
> scripts before.
>
> There are a couple of posts on this list that I've found:
> https://cyrus.topicbox.com/groups/info/T9b1dfc1611f58964
> https://cyrus.topicbox.com/groups/info/Tbfa58387b6aa5356
> The 1st appearing the most helpful -- but I haven't been able to use
> this info to resolve the issue. Like the original poster, I find that
> there is sparse information appearing to help me debug the issue, and
> point to where I have gone wrong.
>
> My sieve script is below (I've tried two versions: plain, and then
> with the attempted debugging as per previous thread). This was then
> uploaded and installed using the following cmd.
>> sieveshell --user=<user> --realm=<virtual_domain> --password=<pass>
>> 192.168.1.2
>> > put test.sieve
>> > activate test.sieve
>> > list
>> test.sieve <- active script
>> > quit
> test email then submitted via exim, delivered through lmtp, and viewed
> in email client. However, I am not receiving any copy email forwarded
> by the sieve. Don't know whether this is because the sieve is not
> being run, or if it is, but cannot send. Syslog only shows the
> lmtpunix lines 'Delivered:', and 'USAGE'.
>
> As a side issue (included only because it may indicate something
> relevant, not as a plea for help), I have gyrus installed on a
> separate laptop. Whilst I can log in as 'cyrus' (designated as an
> admin, with no mailbox set up), it shows almost nothing. Users is
> 'greyed out' with a count of zero, as is most everything else. Logging
> in as a regular user with a mailbox gives the same result.
>
> Can anyone give pointers on how I complete this, and get working please?
>
> *_test.sieve_*
>> require "vnd.cyrus.log";
>> log "Script starting!";
>> if true {
>> redirect "user@ <mailto:[email protected]>another_domain.com";
>> keep;
>> }
>> log "Script ending.";
>
>
> *Cyrus <https://cyrus.topicbox.com/latest>* / Info / see discussions
> <https://cyrus.topicbox.com/groups/info> + participants
> <https://cyrus.topicbox.com/groups/info/members> + delivery options
> <https://cyrus.topicbox.com/groups/info/subscription> Permalink
> <https://cyrus.topicbox.com/groups/info/T81451bd9b40fd943-M10b6c238bf66d2517ef2dffe>
>
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T81451bd9b40fd943-Mbc2867532025cd632ea060ef
Delivery options: https://cyrus.topicbox.com/groups/info/subscription