[Dovecot] vacation plugins for squirrelmail
Daminto Lie
dlie76 at yahoo.com.au
Tue Apr 17 09:14:57 EEST 2012
Thank you for your reply.
Here it is as follows
if(!defined('AVELSIEVE_DEBUG')) {
define('AVELSIEVE_DEBUG', 0);
}
global $avelsieve_backend;
$avelsieve_backend = 'File';
/*global $sieveport;
$sieveport = 2000;*/
global $sieve_preferred_sasl_mech;
$sieve_preferred_sasl_mech = 'PLAIN';
global $avelsieve_disabletls;
$avelsieve_disabletls = false;
global $avelsieve_file_backend_options, $data_dir, $username;
$avelsieve_file_backend_options = array(
'avelsieve_default_file' => "$data_dir/$username.sievesource"
);
/*global $avelsieve_oldcyrus;
$avelsieve_oldcyrus = true;*/
global $avelsieve_enable_envelope_auth;
$avelsieve_enable_envelope_auth = true;
global $avelsieve_custom_sieve_implementation;
$avelsieve_custom_sieve_implementation = '';
global $avelsieve_striproot;
$avelsieve_striproot = '';
global $avelsieve_hardcoded_capabilities;
$avelsieve_hardcoded_capabilities = array(
'envelope', 'fileinto', 'copy', 'vacation', 'comparator-i;ascii-numeric'
);
/*global $avelsieve_imapproxymode, $avelsieve_imapproxyserv;
$avelsieve_imapproxymode = false;
$avelsieve_imapproxyserv = array(
'localhost' => 'imap.example.org'
);*/
global $avelsieve_ldapuserdatamode;
$avelsieve_ldapuserdatamode = false;
/*global $avelsieve_cyrusadmins_map;
$avelsieve_cyrusadmins_map = array(
'cyrusimap' => 'cyrussieve'
);*/
$conservative = false;
$useimages = true;
global $translate_return_msgs;
$translate_return_msgs = false;
$imagetheme = 'famfamfam';
//$imagetheme = 'bluecurve_24x24';
//$imagetheme = 'bluecurve_16x16';
global $startitems;
$startitems = 3;
global $maxitems;
$maxitems = 10;
global $headers;
$headers = array(
'From', 'To', 'Cc', 'Bcc', 'Subject', 'Reply-To', 'Sender', 'List-Id',
'MailingList', 'Mailing-List', 'X-ML-Name', 'X-List', 'X-List-Name', 'X-Mailing-List',
'Resent-From', 'Resent-To', 'X-Mailer', 'X-Mailing-List',
'X-Spam-Flag', 'X-Spam-Status',
'X-Priority', 'Importance', 'X-MSMail-Priority', 'Precedence',
'Return-Path', 'Received', 'Auto-Submitted',
'X-Spam-Flag', 'X-Spam-Status','X-Spam-Tests'
);
global $notifymethods;
$notifymethods = array(
'mailto', 'sms'
);
//$notifymethods = false;
// $disable_avelsieve_capabilities = array("notify");
global $disable_avelsieve_capabilities;
$disable_avelsieve_capabilities = array();
global $avelsieveheaderlink;
$avelsieveheaderlink = true;
global $avelsieve_default_mode;
$avelsieve_default_mode = 'terse';
global $avelsieve_enable_rules;
$avelsieve_enable_rules = array();
global $avelsieve_rules_settings;
$avelsieve_rules_settings = array();
foreach($avelsieve_enable_rules as $r) {
if(file_exists(SM_PATH . 'plugins/avelsieve/config/rule.'.$r.'.php')) {
require(SM_PATH . 'plugins/avelsieve/config/rule.'.$r.'.php');
} else {
require(SM_PATH . 'plugins/avelsieve/config/rule.'.$r.'.default.php');
}
}
$avelsieve_spam_highlight_enable = false;
Hope this help you to help me.
Thank you
________________________________
From: Tamsy <dovecot-list at mohtex.net>
To: "dovecot at dovecot.org" <dovecot at dovecot.org>
Sent: Tuesday, 17 April 2012 1:25 PM
Subject: Re: [Dovecot] vacation plugins for squirrelmail
Show us your avelsieve-config in
your-squirrelmail-dir/plugins/avelsieve/config/config.php
Daminto Lie wrote the following on 17.04.2012 09:31:
> Thank you folks for your replies.
>
>
> I realised that the dovecot 1.2.9 that I installed via ubuntu synaptic package manager has already come with sieve plugins. After making some modifications on the dovecot.conf file, I went to download and install avelsieve 1.0.1 (stable version) onto the squirrelmail. Then, I run in squirrelmail conf.pl and added the plugin. I logged in and could see "Filter" option right on the top header row. I went to click it and nothing came up. I checked in the mail.log but did not see any errors there.
>
> Here is my snapshot of dovecot configuration
> # 1.2.9: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-40-generic-pae i686 Ubuntu 10.04.4 LTS ext4
> log_timestamp: %Y-%m-%d %H:%M:%S
> protocols: imap
> listen: *:143
> ssl:
> no
> disable_plaintext_auth: no
> login_dir: /var/run/dovecot/login
> login_executable: /usr/lib/dovecot/imap-login
> verbose_proctitle: yes
> first_valid_uid: 1001
> last_valid_uid: 600
> mail_privileged_group: mail
> mail_location: maildir:/var/vmail/%u/Maildir
> mbox_write_locks: fcntl dotlock
> imap_client_workarounds: outlook-idle delay-newmail netscape-eoh tb-extra-mailbox-sep
> lda:
> postmaster_address: postmaster at ourcompany.com
> mail_plugins: sieve
> quota_full_tempfail: yes
> deliver_log_format: msgid=%m: %$
> sendmail_path: /usr/lib/sendmail
> rejection_reason: Your message to<%t> was automatically rejected:%n%r
> auth_socket_path: /var/run/dovecot-auth-master
> auth default:
> mechanisms: plain login
> username_format: %Lu
> verbose: yes
> debug: yes
> debug_passwords: yes
> passdb:
> driver:
> pam
> passdb:
> driver: ldap
> args: /etc/dovecot/dovecot-ldap.conf
> userdb:
> driver: passwd
> userdb:
> driver: static
> args: uid=1001 gid=1001 home=/var/vmail/%u allow_all_users=yes
> socket:
> type: listen
> client:
> path: /var/spool/postfix/private/auth
> mode: 432
> user: postfix
> group: mail
> master:
> path: /var/run/dovecot-auth-master
> mode: 432
> user: vmail
> group: vmail
> plugin:
> sieve: /var/vmail/%u/.sieve
>
> Also, I have restarted dovecot after making changes to the dovecot.conf.
>
> Any help would be very much appreciated.
>
> Thank you
>
>
>
>
> ________________________________
> From: Artur Zaprzała<artur.zaprzala at talex.pl>
> To: Dovecot Mailing List<dovecot at dovecot.org>
> Cc: Daminto Lie<dlie76 at yahoo.com.au>
> Sent: Thursday, 12 April 2012 11:46 PM
> Subject: Re: [Dovecot] vacation plugins for squirrelmail
>
> Daminto Lie wrote:
>> Hi,
>>
>> I am afraid I
> have a question to ask of you all. I have just completed setting up a mail server running on Ubuntu Server 10.04. It has postfix, dovecot 1.2.19, LDAP and squirrelmail as the webmail. I have also created virtual users accounts on the system through LDAP. I can send and receive mails which is great. Now, what I am trying to do is to set up a vacation auto-reply on the squirrelmail so that users who are about to go on vacation can set it up themselves. I was looking around for the vacation plugins for dovecot that I can incorporate it into squirrelmail.
>> Any help would be very much appreciated.
>>
>> Thank you
>>
> I'm using Avelsieve 1.9.9 with a set of my own bugfixes:
> http://email.uoa.gr/avelsieve/
>
>
More information about the dovecot
mailing list