Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: neufra on August 26, 2011, 08:13:25 AM

Title: Sieve Plugin
Post by: neufra on August 26, 2011, 08:13:25 AM
Hello all,

I'v installed the sieveplugin 1.14 under RC 0.6beta and get the message:

Could not connect to Sieve-Server:

I really don't knwo what I've to configure in the configfile

<?php

/**
 * SieveRules configuration file
 */

// managesieve server address
// The host can contain the following macros that will be expanded as follows:
// %h - user's IMAP hostname
// %n - http hostname ($_SERVER['SERVER_NAME'])
// %d - domain (http hostname without the first part)
// For example %n = mail.domain.tld, %d = domain.tld
$rcmail_config['sieverules_host'] = 'mail.mydomain.com';

// managesieve server port
$rcmail_config['sieverules_port'] = 2000;


As host I took my domain with the subdomain mail where the RC client is placed.
I don't know how to use %d, %n or %h  

has it to be used in this form?: $rcmail_config['sieverules_host'] = %d = 'mydomain.com';
Title: Sieve Plugin
Post by: JohnDoh on August 27, 2011, 05:33:26 AM
QuoteCould not connect to Sieve-Server:
does your imap server also run a managesieve server?
QuoteAs host I took my domain with the subdomain mail where the RC client is placed.
I don't know how to use %d, %n or %h
I'm not sure how to explain this you do just what it says if you want to use the %d macro then you'd put
$rcmail_config['sieverules_host'] = '%d';
Title: Sieve Plugin
Post by: neufra on August 27, 2011, 08:18:03 AM
@JohnDoe

thanks a lot for your response; where can I see which kind of imap server my hoster is running?

QuoteI'm not sure how to explain this you do just what it says if you want to use the %d macro then you'd put.....

Does this mean that the macro interprets this as for exmaple: neurieser.eu when my domain is neurieser.eu - kommt bald wieder - (http://www.neurieser.eu) ????