• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

SquirrelMail Vacation plugin

Status
Für weitere Antworten geschlossen.
Ich hab eine frage die sicher einfach zu lösen ist (nur wie?)

Ich möche für SquirrelMail folgendes plugin installieren: vacation1.1.2. ich habe die datei entpackt und nun habe ich einen Ordner mit den dteien:
-INSTALL
-README
-config.php.sample
-courier_vacation-1.1.2.tar.gz = aber bereits entpackt!
-functions.php
-index.php
-options.php
-setup.php
-version

Na ja als erstes habe ich in der Readme nachgesehen, aber da steht auch nicht drin wie das installiert gehört..
Das "schlimme" an der sache ist, das keine von den dateien usführbar ist, oder gehört das in einen bestimmten ordner??
 
Schau mal in das Verzeichnis plugin von squirrelmail, da steht wie du ein neues Plugin installierst und anschließend aktivierst.
 
Schau mal in das Verzeichnis plugin von squirrelmail, da steht wie du ein neues Plugin installierst und anschließend aktivierst.

Ich denke ich habe gefunden was du meinst, aber in der datei wiederum steht, das ich das ganze entpacken soll, und dann im neuen ordner die README, oder INSTALL lesen, -> toll soweit war ich schon.

Dann soll ich zum Configurations Verzeichnis wechseln und ./conf.pl ausführen -> aber dieses ding existiert leider nicht, ja ist ja toll oder??

Ich bin nun noch verwirrter, ich hoffe das mir jemand da draussen helfen kann.
Danke schon mal...
 
Es gibt verschieden Plugins für squirrelmail, einige benötigen noch ein zusätzlich das Plugin compatibility. Wenn du das Plugin von der squirrelmail Web-Seite hast,
http://www.squirrelmail.org/plugins_category.php?category_id=19
sollte das aber dort stehen.
Nach dem du das Plugin in das Verzeichnis /pfad/zu/squirrelmail/plugins kopiert hast und anschließend entpackt hast, solltest du nun ein Verzeichnis "vacation" haben. Dort findest du eine Datei "INSTALL" da steht alles drin. Meist geht das ganze dann so:
die Datei config.php.sample nach config.php kopieren und auf deine Belange anpassen. Anschließen im Verzeichnis /pfad/zu/squirrelmail/config das Programm conf.pl starten. Den Punkt 8. auswählen und das Plugin aktivieren. Das Programm conf.pl MUSS da sein, da du ja squirrelmail schon konfiguriert hast ;-)). Oder? Über dieses Programm wir auch die gesamte Konfiguration vorgenommen.
 
edit:
Juhu habs mit compability irgendwie FAST hinbekommen, nur ich bekomm immer die fehlermeldung:
Warning: mysql_connect(): Access denied for user: 'username@localhost' (Using password: YES) in /usr/share/squirrelmail/plugins/courier_vacation/options.php on line 546

und darunter steht in roter schrift:
ERROR: Could not connect to database

wie kann ich das beheben??
 
Ohne das compatibility Plugin läuft nix. Alle Meldungen zeigen das. Du MUSST erst das Plugin installieren.
 
Ach ja, und.. in Zeile 546-550 steht folgendes:

$ds = mysql_connect($mysql_server, $mysql_user, $mysql_pwd);
if (!$ds)
{
showError('ERROR: Could not connect to database');
exit(1);
 
Dann benötigt das Plugin eine mysql Datenbank? Das sollte aber in der Beschreibung stehen. Schau mal auf der Setie von squirrelmail, es gibt noch mehr Plugins dieser Art.
Wenn du cyrus verwendest kannst du für deine Urlaubsnachricht auch smartsieve einsetzen, das erlaubt dir zusätzlich noch das Filtern von mails. Das Programm wird auch über einen Browser bedient.
 
ich habe eine mysql datenbank,... übrigens

wenn ich den configtest ausführe, bekomm ich noch folgende meldung:
ERROR: You have enabled the compatibility plugin but I cannot read its setup.php file
 
Du musst mit Sicherheit im Plugin den Benutzer das Passwort undden Namen der Datenbank angeben. Hast du das mal geprüft?
 
in der config.php des Plugins? Ich kenne das Plugin nicht. Wie das machst sollte im INSTALL oder README stehen.
 
---config.php--


<?php

/**
* SquirrelMail Configuration File
* Created using the configure script, conf.pl
*/

global $version;
$config_version = '1.4.0';
$config_use_color = 2;

$org_name = "Testserver@Technik";
$org_logo = SM_PATH . 'images/sm_logo.png';
$org_logo_width = '308';
$org_logo_height = '111';
$org_title = "SquirrelMail $version";
$signout_page = '';
$frame_top = '_top';

$provider_uri = 'http://www.squirrelmail.org/';

$provider_name = 'SquirrelMail';

$motd = "";

$squirrelmail_default_language = 'en_US';
$default_charset = 'iso-8859-1';
$lossy_encoding = false;

$domain = 'debian';
$imapServerAddress = 'localhost';
$imapPort = 143;
$useSendmail = true;
$smtpServerAddress = 'localhost';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
$pop_before_smtp = false;
$imap_server_type = 'courier';
$invert_time = false;
$optional_delimiter = 'detect';

$default_folder_prefix = '';
$trash_folder = 'INBOX.Trash';
$sent_folder = 'INBOX.Sent';
$draft_folder = 'INBOX.Drafts';
$default_move_to_trash = true;
$default_move_to_sent = true;
$default_save_as_draft = true;
$show_prefix_option = false;
$list_special_folders_first = true;
$use_special_folder_color = true;
$auto_expunge = true;
$default_sub_of_inbox = true;
$show_contain_subfolders_option = false;
$default_unseen_notify = 2;
$default_unseen_type = 1;
$auto_create_special = true;
$delete_folder = false;
$noselect_fix_enable = false;

$data_dir = '/var/lib/squirrelmail/data/';
$attachment_dir = '/var/spool/squirrelmail/attach/';
$dir_hash_level = 0;
$default_left_size = '150';
$force_username_lowercase = false;
$default_use_priority = true;
$hide_sm_attributions = false;
$default_use_mdn = true;
$edit_identity = true;
$edit_name = true;
$allow_thread_sort = false;
$allow_server_sort = false;
$allow_charset_search = true;
$uid_support = true;

$plugins[0] = 'courier_vacation';
$plugins[1] = 'compatibility';

$theme_css = '';
$theme_default = 0;
$theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php';
$theme[0]['NAME'] = 'Default';
$theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php';
$theme[1]['NAME'] = 'Plain Blue';
$theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php';
$theme[2]['NAME'] = 'Sand Storm';
$theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php';
$theme[3]['NAME'] = 'Deep Ocean';
$theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php';
$theme[4]['NAME'] = 'Slashdot';
$theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php';
$theme[5]['NAME'] = 'Purple';
$theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php';
$theme[6]['NAME'] = 'Forest';
$theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php';
$theme[7]['NAME'] = 'Ice';
$theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php';
$theme[8]['NAME'] = 'Sea Spray';
$theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php';
$theme[9]['NAME'] = 'Blue Steel';
$theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php';
$theme[10]['NAME'] = 'Dark Grey';
$theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php';
$theme[11]['NAME'] = 'High Contrast';
$theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php';
$theme[12]['NAME'] = 'Black Bean Burrito';
$theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php';
$theme[13]['NAME'] = 'Servery';
$theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php';
$theme[14]['NAME'] = 'Maize';
$theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php';
$theme[15]['NAME'] = 'BluesNews';
$theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php';
$theme[16]['NAME'] = 'Deep Ocean 2';
$theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php';
$theme[17]['NAME'] = 'Blue Grey';
$theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php';
$theme[18]['NAME'] = 'Dompie';
$theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php';
$theme[19]['NAME'] = 'Methodical';
$theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php';
$theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
$theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php';
$theme[21]['NAME'] = 'In The Pink (Changes)';
$theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php';
$theme[22]['NAME'] = 'Kind of Blue (Changes)';
$theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php';
$theme[23]['NAME'] = 'Monostochastic (Changes)';
$theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php';
$theme[24]['NAME'] = 'Shades of Grey (Changes)';
$theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php';
$theme[25]['NAME'] = 'Spice of Life (Changes)';
$theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php';
$theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
$theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php';
$theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
$theme[28]['PATH'] = SM_PATH . 'themes/christmas.php';
$theme[28]['NAME'] = 'Holiday - Christmas';
$theme[29]['PATH'] = SM_PATH . 'themes/darkness.php';
$theme[29]['NAME'] = 'Darkness (Changes)';
$theme[30]['PATH'] = SM_PATH . 'themes/random.php';
$theme[30]['NAME'] = 'Random (Changes every login)';
$theme[31]['PATH'] = SM_PATH . 'themes/midnight.php';
$theme[31]['NAME'] = 'Midnight';
$theme[32]['PATH'] = SM_PATH . 'themes/alien_glow.php';
$theme[32]['NAME'] = 'Alien Glow';
$theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php';
$theme[33]['NAME'] = 'Dark Green';
$theme[34]['PATH'] = SM_PATH . 'themes/penguin.php';
$theme[34]['NAME'] = 'Penguin';
$theme[35]['PATH'] = SM_PATH . 'themes/minimal_bw.php';
$theme[35]['NAME'] = 'Minimal BW';
$theme[36]['PATH'] = SM_PATH . 'themes/redmond.php';
$theme[36]['NAME'] = 'Redmond';
$theme[37]['PATH'] = SM_PATH . 'themes/netstyle_theme.php';
$theme[37]['NAME'] = 'Net Style';

$default_use_javascript_addr_book = false;
$abook_global_file = '';
$abook_global_file_writeable = false;

$addrbook_dsn = '';
$addrbook_table = 'address';

$prefs_dsn = '';
$prefs_table = 'userprefs';
$prefs_user_field = 'user';
$prefs_key_field = 'prefkey';
$prefs_val_field = 'prefval';
$addrbook_global_dsn = '';
$addrbook_global_table = 'global_abook';
$addrbook_global_writeable = false;
$addrbook_global_listing = false;

$no_list_for_subscribe = false;
$smtp_auth_mech = 'none';
$imap_auth_mech = 'login';
$use_imap_tls = false;
$use_smtp_tls = false;
$session_name = 'SQMSESSID';

@include SM_PATH . 'config/config_local.php';

/**
* Make sure there are no characters after the PHP closing
* tag below (including newline characters and whitespace).
* Otherwise, that character will cause the headers to be
* sent and regular output to begin, which will majorly screw
* things up when we try to send more headers later.
*/
?>
 
Stimmen den diese Angaben:
$domain = 'debian';
$imapServerAddress = 'localhost';
$imapPort = 143;
$useSendmail = true;
$smtpServerAddress = 'localhost';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
$pop_before_smtp = false;
$imap_server_type = 'courier';
$invert_time = false;
$optional_delimiter = 'detect';
Heist deine Domäne debian? Verwendest du courier als IMPA Server?
Da steht nichts von einer Datenbank, komisch. Poste doch mal den Link zu dem Plugin, dann werde ihc das mal bei mir ausprobieren, ich glaube dann kommen wir schneller an Ziel ;-)

Gruß

Stefan
 
Kannst du nicht nur, musst du sogar ;-). Diese Datei ist verantwortlich dafür, dass sich das Plugin in deine Umgebung einfügt. Nur wenn du die Datei in allen Punkten an deine Umgebung angepasst hast funktioniert alles.
Ich habe gerade das Plugin herunter geladen und mir mal die config.php.sample angeschaut, dort finde ich die folgenden Zeile:
Code:
   $backend = 'mysql';


   //
   // MySQL settings
   //


   // your MySQL server
   //
   $mysql_server = 'localhost';


   // the MySQL user ID
   //
   $mysql_user = 'username';


   // the MySQL user's password
   //
   $mysql_pwd = 'xxxxxxxx';


   // the MySQL database that contains email account information
   //
   $mysql_database = 'mail';


   // the MySQL table that contains email account information
   //
   $mysql_table = 'users';


   // the MySQL field that contains users' home directory locations
   //
   $mysql_home_field = 'home';


   // the MySQL field that contains users' IDs
   //
   $mysql_userid_field = 'userid';
Dort steht doch alles zur Datenbank! Das Plugin funtioniert laut beschreibung nur mit dem courier IMAP Server. Wenn du cyrus verwendest must du das zumindest anpassen.
 
ok, das heisst, hier zum beispiel muss ich das so ändern:

$mysql_server = 'localhost';
ändern in
$mysql_server = 'meine IP';
und so weiter
 
Status
Für weitere Antworten geschlossen.
Oben