Author Topic: Sieve Plugin  (Read 6007 times)

Offline neufra

  • Newbie
  • *
  • Posts: 9
Sieve Plugin
« 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
Code: [Select]

<?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?:
Code: [Select]
$rcmail_config['sieverules_host'] = %d = 'mydomain.com';

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,869
Sieve Plugin
« Reply #1 on: August 27, 2011, 05:33:26 AM »
Quote
Could not connect to Sieve-Server:
does your imap server also run a managesieve server?
Quote
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
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
Code: [Select]
$rcmail_config['sieverules_host'] = '%d';
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline neufra

  • Newbie
  • *
  • Posts: 9
Sieve Plugin
« Reply #2 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?

Quote
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.....


Does this mean that the macro interprets this as for exmaple: neurieser.eu when my domain is neurieser.eu - kommt bald wieder - ????
« Last Edit: August 27, 2011, 08:20:30 AM by neufra »