php.de

Zurück   php.de > Webentwicklung > PHP Einsteiger > PHP Tipps 2005

 
 
LinkBack Themen-Optionen Thema bewerten
Alt 06.05.2005, 01:39  
Gast
 
Beiträge: n/a
Standard Problem mit postaci E-Mail System

Ich habe mir hier den Postaci Webmail runter geladen:http://www.trlinux.com

und alles auf meinem 1&1 Webspace soweit installiert. Die Seiten bleiben aber weiss. Ich probiere nun schon 2 Stunden rum. Geht einfach nichts.

Aus dem Quellcode werde ich auch nicht schlau. Das Programm besteht aus mindestens 50 Dateien, die ganz extrem miteinander verschachtelt sind. Micht interesiert mal ob es jemand geschafft hat dieses umfangreiche Programm zum laufen zu kriegen.

Ich hatte vor dort die relevanten Funktionen raus zu fischen die ich für meinen Zweck brauche:

- E-Mails abholen > dann in der db speichern.
- E-Mails mit Anlagen NICHT abholen sondern an eine andere Adresse weiterleiten und dann vom Server löschen
- nach dem abholen alle Mails vom Server löschen.

mehr brauche ich eigentlich nicht. Blöderweise ist es so das man mit PHP nicht "einfach so" E-Mails abholen kann, da eine E-Mail mit Anlagen schon das ganze System lahm legt; Und diese scheiss multipart MIME mickey dinger machen mich bekloppt.

Das einfachste ist da wohl, tatsächlich so ein Mamut-Programm zum laufen zu kriegen und sich eunen feuchten Furz drum zu jucken wie dieses Programm intern arbeitet. Aber ich kriege ja nichtmal diesen §$??!!!§ postaci Webmailer zum laufen. Angeblich haben den tausende Unis im Einsatz. Weis einfach nicht wo es klemmt.
 
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 06.05.2005, 08:53  
Moderator
 
Benutzerbild von robo47
 
Registriert seit: 03.09.2004
Beiträge: 11.792
PHP-Kenntnisse:
Fortgeschritten
robo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz sein
Standard

-> lokal mal getestet?
-> haste die configs angepasst und dabei nen parseerror erzeugt und aufgrund dessen dass vieleicht die ausgabe von fehlern deaktiviert ist, ne weise seite?

mfg
robo47
robo47 ist offline  
Alt 06.05.2005, 12:43  
Gast
 
Beiträge: n/a
Standard

Hallo robo,

lokal > keinen lokalen WAMP installiert, teste alles online. Habe sowieso ne Flatrate.

ja die global.inc musste angepasst werden. Ich poste sie mal hier rein, so wie die jetzt bei mir aussieht:

PHP-Code:
<?php

/*
   File name         : global.inc
   Version           : 1.1.3
   Last Modified By  : Umut Gokbayrak
   e-mail            : [email]umut@trlinux.com[/email]
   Purpose           : Global configuration File for Postaci Webmail
   Last modified     : 7 Nov. 2000
*/

  // 1.
  // you should select the default language. version 1.1.1 defaults to English
  // Possible values : english, portugues, dutch, deutsch, italiano, turkce, espanol, 
  // francais, norsk, polski

  
$default_lang "english";

  
// 2.
  // Select the database engine. Possible values are postgresql, mysql, msql, sybase, mssql.
  // You can find the default sql queries in queries directory for mysql, postgresql and mssql
  // MS SQL support is under test please report any errors/improvements to
  // "Umut Gokbayrak" <umut@trlinux.com>

  
$database_type "mysql";

  
// 3.
  // Specify the hostname where database is located. It may be an IP number, hostname or dns name
  // You should grant usage to the webmail server(IP) and database user the select, insert, delete,
  // update permissions in order to install Postaci if the database server is a remote one.
  // See INSTALL file for details. If Postaci is on the database server no need to change this.

  
$database_host "xxxxxx"// HABE ICH FÜRS FORUM UNKENNTLICH GEMACHT (MYSQL-ZUGANGSDATEN WAREN ABER KORREKT!)

  // 4. The database name, username and password.
  // YOU REALLY NEED TO CHANGE THESE.

  
$database_user "xxxxxx"// HABE ICH FÜRS FORUM UNKENNTLICH GEMACHT (MYSQL-ZUGANGSDATEN WAREN ABER KORREKT!)
  
$database_user_pass "xxxxxx"// HABE ICH FÜRS FORUM UNKENNTLICH GEMACHT (MYSQL-ZUGANGSDATEN WAREN ABER KORREKT!)
  
$database_name "xxxxxx"// HABE ICH FÜRS FORUM UNKENNTLICH GEMACHT (MYSQL-ZUGANGSDATEN WAREN ABER KORREKT!)

  // 5.
  // You should select which protocol to use. Postaci supports both IMAP and POP3 mailboxes.
  // Possible values : imap, pop3

  
$default_protocol "pop3";

  
// 6.
  // The POP3/IMAP servername, IP or DNS name. If Postaci is on the POP3/IMAP server, no need
  // to change this.

  
$default_host "pop.1und1.com";

  
// 7.
  // Default port for IMAP access is 143 and it is 110 for POP3. If yours is different simply
  // change this value. If you are not sure leave as default.

  
$default_port "110";

  
// 8.
  // SMTP host information. Postaci can use another relay server for sending mail. If $smtp_host is
  // left as default value(localhost) things will go slightly faster. If you want to use another SMTP
  // server for sending e-mail you can use the IP, hostname or DNS name here.
  // If a remote server is defined here, Postaci will try to connect to the server via SMTP port and
  // try to deliver the mail. This is work in progress, so please report any success or failure.
  // SMTP servers normally reside on port 25. So you normally don' t need to change $smtp port value.

  
$smtp_host "localhost";
  
$smtp_port "25";

  
// 9.
  // $attach_directory is the place where Postaci uploads the attachments to be sent for temporary
  // storage.
  // DO NOT FORGET THE TAILING SLASH!!!, YOU REALLY NEED TO CHANGE THIS.

  
$attach_directory "/tmp/anlagen/";

  
// 10.
  // postaci_directory is where the Postaci installation resides on your directory structure.
  // This varible is really important. If you do not set it you will get an empty screen.
  // DO NOT FORGET THE TAILING SLASH!!! YOU REALLY NEED TO CHANGE THIS

  
$postaci_directory "/postaci/"// HABE DAS POSTACI PAKET IN EINEN ORDNER NAMENS "postaci" KOPIERT DER SICH DIREKT IM ROOT BEFINDET. HIER STEHT WAS VON WEISSER SEITE WENN DIESE ANGABE FALSCH IST. ERKENNE DEN FEHLER NICHT!!!

  // 11.
  // Although Cyrus IMAP has some slight differences, Postaci seems to work with all IMAP servers.
  // In case you need it set this value to true and please report any incompatibilities.

  
$cyrus_imap_server false;

  
// 12.
  // If you are using POP3 protocol, you should have a non-web accessable directory for
  // storing attachments. This directory' s permissions should be 700 and the owner should be nobody
  // (the user that runs the httpd). Although you don' t use POP3 this directory should lead to an
  // existing directory. (Ex : /tmp)
  // DO NOT FORGET THE TAILING SLASH!!!

  
$pop3_attach_dir "/tmp/anlagen/";

  
// 13.
  // You set the title here.

  
$title "Postaci Webmail 1.1.3";

  
// 14.
  // Seperator is the value used for limiting the number of messages to be shown at each page.
  // NO NEED TO CHANGE THIS.

  
$seperator 15;

  
// 15.
  // Operating system. As from version 1.1.1, Postaci both supports Unix/Linux/BSD and Windows systems.
  // You can select you operating system here.
  // Possible values : windows, unix

  
$operating_system "unix";

  
// 16.
  // This is the error value for PHP configuration. If you think you have found a bug or want to
  // contact the author, comment the following line with two slashes and e-mail the error/warning messages to
  // "Umut Gokbayrak <umut@trlinux.com>"

  
error_reporting(32);

  
// 17.
  // Please enter your TEMP directory here. This directory is used for temprarily storing session files.
  // Windows port of PHP doesn't handle TEMP directories by itself so Windows users need to specify it here.
  // It can be any directory with appropriate permissions. Just uncomment it (delete two slashes) and assing
  // the correct value.
  // WINDOWS USERS NEED THIS.

  // $temp_directory = "c:\\temp";

  // 18.
  // If you want to remove that sponsored by... banner simply change this value to false.

  
$show_sponsor false;

  
// 19.
  // Qmail users which store accounts and messages in databases require special login format. In order to avoid
  // this imcompatibility simply change this value to true.

  
$qmail_support false;

  
// 20.
  // You can specify a footer text for every message outgoing from the server.
  // This field is optinal. If you need a new line in the text, use \n for the purpose.

  
$footer_message "---------- footer message -----------";

  
// 21.
  // To cope with courier-imap personal folders

  
$courier_imap_support false;

  
// The following only are considered if courier-imap support is on
  // If php imap supports NAMESPACE server extension (RFC2342) this
  // could be configured automatically.
  // DO NOT FORGET THE TRAILING PERIOD

  
$personal_namespace "INBOX.";

  
// 22. 
  // Decide which language selections to show in the main page. 
  // If any language is set to true a button will appear
  // on the intro screen which will let you use Postaci using that language settings. 
  // Possible values : true and false

  
$turkce_support     false;
  
$english_support    false;
  
$francais_support   false;
  
$deutsch_support    true;
  
$polski_support     false;
  
$espanol_support    false;
  
$portugues_support  false;
  
$dutch_support      false;
  
$norsk_support      false;
  
$italiano_support   false;

/**************************************************************/
/*          No Need to change anything below.                 */
/**************************************************************/

  
$postaci_version "1.1.3";
  if (
$operating_system == "windows") {
    
session_save_path($temp_directory);
  }

  
session_start();
  
$to_folder "Sent Items";

  if (
trim($l) != "" && trim($l) != '$lang_choice') {
    
$lang_choice $l;
  } else {
    if (
$lang_choice == "") {
      
$lang_choice $default_lang;
    }
  }

  switch (
$lang_choice) {
    case 
"portugues":
    case 
"dutch":
    case 
"deutsch":
    case 
"italiano":
    case 
"francais":    
    case 
"norsk":
    case 
"turkce":
    case 
"espanol":
    case 
"polski":
    case 
"english":
      include(
"$postaci_directory" "lang/" "$lang_choice" ".inc");
      break;
    default:
      die(
"<center><font color='red'>

[b]Invalid language selection[/b]</p></font></conter>"
);
  }

  include(
"$postaci_directory" "classes/phpDB.inc");

  
$db = new phpDB();
  
$db->pconnect("$database_host""$database_user""$database_user_pass""$database_name") or die ("<center><font color='red'>

[b]$text75[/b]</p></font></conter>"
);

?>
 
Alt 06.05.2005, 12:46  
Gast
 
Beiträge: n/a
Standard

und in der Installationsanleitung steht vielmehr nur wie man PHP und MySQL installiert damit postaci läuft. Kann es sein das man gar keine Chance hat, bei 1&1?
 
Alt 06.05.2005, 12:54  
Moderator
 
Benutzerbild von robo47
 
Registriert seit: 03.09.2004
Beiträge: 11.792
PHP-Kenntnisse:
Fortgeschritten
robo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz seinrobo47 kann auf vieles stolz sein
Standard

seh auf den ersten blick keinen parsererror, hast mal nen link zu ner phpinfo ?
robo47 ist offline  
Alt 06.05.2005, 13:17  
Gast
 
Beiträge: n/a
Standard

danke für deine Hilsbereitschaft, hab den postaci aber wieder vom webspace genommen. Das bringt mich nicht weiter, muss in 10 Tagen ein Projekt fertig stellen und kanns mir nicht leisten mich noch ein par Tage mit anderen Skripten rumzuschlagen.

Siehe gesuche


Gruss
NewBert
 
 


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
mail delivery system imported_kremser PHP Tipps 2008 5 15.01.2008 00:49
problem mit mail()!!! coldi1000 PHP Tipps 2008 4 13.11.2007 22:49
Problem mit meinem Login System DJ Nuno PHP Tipps 2008 9 16.10.2007 16:44
Problem beim erstellen einer HTML Mail... GELight PHP Tipps 2006 15 06.10.2006 00:27
PN System Problem gollum1990 PHP Tipps 2006 4 09.05.2006 21:52
php oder css problem? Wie konfiguriere ich mail header PHP Tipps 2006 1 28.02.2006 05:43
problem bei mail() mit anhang kid01 PHP Tipps 2005 7 16.05.2005 21:19
Problem mit mail() PHP Tipps 2005 18 06.05.2005 18:01
php mail() header &amp;amp;amp;amp;amp;amp; Spam Problem PHP-Fortgeschrittene 4 04.05.2005 12:31
[Erledigt] Problem bei Massenmails versenden mit der Funktion mail PHP-Fortgeschrittene 3 19.01.2005 13:36
mail() problem Trumpfass PHP Tipps 2004-2 3 20.12.2004 20:07
Mail Problem PHP Tipps 2004-2 3 13.12.2004 22:43
Problem mit Mail PHP Tipps 2004 15 02.08.2004 22:55
mail - Blacklist - Problem PHP Tipps 2004 4 09.07.2004 01:04
Problem mit mail() - Funktion PHP Tipps 2004 2 06.07.2004 18:21

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
phpmailer funktioniert nicht \invalid language\, postaci email, postaci login error

Alle Zeitangaben in WEZ +2. Es ist jetzt 13:16 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.