PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : squirrelmail: Out of Office Regel



r2k
15.09.04, 08:12
Hallo Zusammen
Ich möchte gerne auf meinem Mailserver eine Out of Office Regel erstellen.
Dazu benötige ich ein Plugin vom squirrelmail.

Doch welches ist das "beste". Wo habt ihr gute oder schlechte Erfahrungen gemacht. Als Mailserver verwende ich das Gespann Postfix-Cyrus.

Hier (http://www.squirrelmail.org/plugins_category.php?category_id=19) ist eine Liste der verfügbaren Plugins.

Danke für die Tipps
reto2000

r2k
17.09.04, 16:11
Habe mich für Vacation Plugin entschieden, doch das Ding will nicht.

Ich mich an die Install gehalten

$ cd plugins
$ tar -zxvf /usr/archives/plug_demo.tar.gz

Then go to your config directory and run conf.pl. Choose option
8 and add the plugin. Save and exit, then that should be all
if the plugin was made correctly. :)

$ cd ../config
$ ./conf.pl

Das Plugin erscheint auch unter Optionen (Siehe Screeni), doch die Daten (Email und Text) werden nicht gespeichert.

Als FTP verwende ich VSFTP. Habe auf true und false bei Passive getestet, doch es geht einfach nichts. Der user WWWrun ist owner des ganzen Verzeichnisses.

Dies ist meine Conf:



<?php
/**
* config.php
*
* Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Vacation plugin. Config file.
*
* $Id: config.php,v 1.7 2003/02/23 23:43:28 dminor Exp $
*/

// Get Session Vars for later use
$username = $_SESSION['username'];
$key = $_COOKIE['key'];
$onetimepad = $_SESSION['onetimepad'];

// path to vacation program
$vacation_prog_path = '/usr/bin/vacation';

// FTP Server to use to transfer files
$ftp_server = 'localhost';

// Whether to use passive mode FTP or not
#$use_passive = FALSE;
$use_passive = TRUE;

// Name of forward file, ".forward" for sendmail
$forward_file = '.forward';

// Allow users to edit vacation file
$edit_vacation = TRUE;

// Name of the vacation preferences file
$sq_vacation_pref = '.vacation.pref';

// Name of the text vacation file
$sq_vacation_file = '.vacation.sq';

// Name of the text vacation subject file
$sq_vacation_subj_file = '.vacation.subj';

// Name of text vacation forwarding address file
$sq_vacation_fwd_file = '.vacation.fwd';

// Name of Vacation Message File
$vacation_file = '.vacation.msg';

// Names of supplementary (e.g. logging) files to be deleted when vacation message is removed
$vacation_delete = '.vacation.db,.forward';

// Change Message Button Text
$change_vacation = _("Change Settings");

// Vacation Setup Message to tell user how to use
$vac_setup_message = _("Here you can install an automatic reply message. Specify the subject, reply message, and if you want, a forwarding address. This will copy all incoming mail to another address as well as keep it in your mailbox.");

// Header Line
$vac_header_line = _("Change Vacation Message");

// Text to display if no vacation message active
$vac_no_message = _("You are not currently sending a reply message.<br>You can enter one by typing the subject and reply message and checking the box.");

// Text to display if vacation message IS active
$vac_yes_message = _("You are currently responding with the following:");

// Text to display if not forwarding to addresses
$fwd_no_message = _("You are not currently forwarding incoming messages.<br>This will copy all incoming mail to another address as well as keep it in your mailbox.");

// Text to display if vacation message IS active
$fwd_yes_message = _("You are currently sending a copy of incoming message to:");

// Instructions to display if vacation message IS active
$fwd_yes_inst = _("To delete recipient and keep your vacation message, uncheck the checkbox and click ");

// Title of Options item
$vac_title = _("Vacation Message");

// Text to display if configured to not be able to edit
$vac_no_edit = _("Vacaction settings set by system administrator.");

// Text for Auto-Reply toggle message
$vac_enable = _("Send auto-reply to sender?");

// Text for Forward toggle message
$vac_fwd_enable = _("Forward incoming message to another email address?");

// Text for Local-only toggle message
$vac_local_enable = _("No local delivery -- Forward and/or Auto-reply only.");
?>


Kann mir jemand helfen?

r2k
17.09.04, 16:12
Hier noch das Bild

stefaan
17.09.04, 19:23
Servus!

Wenn du Cyrus verwendest, könntest du auch die Regel per Sieve erstellen lassen.
http://www.squirrelmail.org/plugin_view.php?id=73

Grüße, Stefan

r2k
17.09.04, 19:28
Servus!

Wenn du Cyrus verwendest, könntest du auch die Regel per Sieve erstellen lassen.
http://www.squirrelmail.org/plugin_view.php?id=73

Grüße, Stefan

Sieht gut aus, ist das Instalieren kompliziert? Gibt es etwas spezielles zu beachten?

thx
reto2000

stefaan
17.09.04, 19:32
Servus!

Nein, kaum... Habs ohne Probleme auf Anhieb zusammengebracht :D

Entpacken, Konfiguration anpassen, Plugin aktivieren.

Grüße, Stefan

r2k
17.09.04, 19:33
Servus!

Nein, kaum... Habs ohne Probleme auf Anhieb zusammengebracht :D

Entpacken, Konfiguration anpassen, Plugin aktivieren.

Grüße, Stefan

ok teste ich mail!

thx
reto2000

r2k
17.09.04, 19:54
Hallo stefaan

Heute ist nicht mein Tag:

Ich habe es heruntergeladen und unter den Plugins hinzugefügt.
Anschliessend habe ich versucht den timesievd zu starten, doch der verabschiedet sich ohne Worte:

linux:/usr/lib/cyrus/bin # /usr/lib/cyrus/bin/timsieved
linux:/usr/lib/cyrus/bin #

Eine Manpage habe ich leider auch nicht gefunden.

Klar ist, wenn ich im SM auf die Filter gehe, dass er meldet, dass der timseivd nicht läuft.

Gruess
r2k

stefaan
17.09.04, 20:00
Servus!

Schau mal in deine /etc/cyrus.conf, da sollte in der Art drinnenstehen:
SERVICES {
imap cmd="imapd" listen="imap" prefork=5
imaps cmd="imapd -s" listen="imaps" prefork=1
pop3 cmd="pop3d" listen="pop3" prefork=3
pop3s cmd="pop3d -s" listen="pop3s" prefork=1
sieve cmd="timsieved" listen="sieve" prefork=0
...

So sollte sich der Master-Prozess darum kümmern.

Grüße, Stefan

r2k
17.09.04, 20:42
Servus!

Schau mal in deine /etc/cyrus.conf, da sollte in der Art drinnenstehen:
SERVICES {
imap cmd="imapd" listen="imap" prefork=5
imaps cmd="imapd -s" listen="imaps" prefork=1
pop3 cmd="pop3d" listen="pop3" prefork=3
pop3s cmd="pop3d -s" listen="pop3s" prefork=1
sieve cmd="timsieved" listen="sieve" prefork=0
...

So sollte sich der Master-Prozess darum kümmern.

Grüße, Stefan

Ja sive ist drinn:

START {
recover cmd="ctl_cyrusdb -r"
}
SERVICES {
imap cmd="imapd" listen="imap" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0

lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0

}

EVENTS {
checkpoint cmd="ctl_cyrusdb -c" period=30

delprune cmd="ctl_deliver -E 3" period=1440

tlsprune cmd="tls_prune" period=1440

# cleanup cmd="ipurge -d 30 -f" period=60
}

Und Telnet auf den Port klappt.

Nur so eine Idee:
Auszug aus der config.php vom avelsieve
$preferred_mech = "PLAIN";

Das ist doch die Authentifizierung.
Muss ich eine User names sieve erstellen und dem ein Passwort geben, damit die klappt. Ich lasse meine User über saslauthd authentifizieren.

microhome
13.10.04, 08:32
Habt ihr schon eine Lösung gefunden? Denn bei mir macht das Vacation Plugin auch nichts. Wenn man eine Nachricht und nen Subjekt eintippt und diese speichert, wird keine Datei (in der conf ja festgelegt) angelegt. Hat jmd. eine Idee was ich falsch mache? Es kommt ja auch keine Fehlermeldung. Der Wert, welcher überprüft wird (filezsize) ist 0 und dadurch wird $vacation auf FALSE gesetzt. Müssen die Files also schon existieren?


micro