• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Imap

Manuela

New Member
Hallo ich hab über admin.pl pop3 und imap Aktiviert.

Der Versand der Mails funktioniert soweit ich gesehen habe auch (Pop3)

Wenn ich über Confixx > Webmail eine E-Mail versende wird diese zwar auch versendet, allerdings erhalte ich einen Fehler.

Code:
Warning: imap_append(): supplied argument is not a valid imap resource in /var/www/confixx/html/poplogin/email_neu.php on line 362

Warning: imap_close(): supplied argument is not a valid imap resource in /var/www/confixx/html/include/mail/class.EmailConnect.php on line 382

Kann mir jemand sagen, was ich dagegen tun kann ?
 
Welche PHP-Version? Ist die Ordnerstruktur vom Maildir komplett vorhanden? Wie schauen die Berechtigungen davon aus?
 
Code:
/home/mail/webXpY/Maildir/

webXpY sollte dem Mailuser gehören, Gruppe poponly, 750
Maildir und weiter runter nur noch 700.

Zumindest bei mir ist das so und läuft. An der PHP-Version dürfte es schon mal nicht liegen, da das erst ab der 5.3 relevant wurde, dass da Sachen noch händisch nachgezogen werden mussten.
 
Hallo,

ja /home/mail/web0p1/Maildir ist vorhanden.

Der Versand über POP3 Funktioniert auch Problemlos, nur wenn ich eine E-Mail über WebMail versende und IMAP Aktiviert ist erhalte ich den oben genannten Fehler.

Muss ich ggf. etwas Installieren ? Ich hab nur über die admin.pl imap Aktiviert.

POP3 [x]
IMAP [x]
 
POP3 ist aber kein Versand ;) Aktuell bin ich da aber überfragt. Bei mir tritt das Problem nicht auf - hab allerdings auch eine andere Systemumgebung ;)

Mir fehlt allerdings auch derzeit etwas die Zeit, um ein passendes Referenzsystem aufzusetzen. Poste mal bitte die Ausgabe von "dpkg -l|grep php" und verlink mal eine phpinfo().
 
Code:
dpkg -l|grep php
rc  libapache-mod-php5                5.2.0+dfsg-8+etch16        server-side, HT                                                                                                                     ML-embedded scripting languag
rc  libapache2-mod-php4               6:4.4.4-8+etch6            server-side, HT                                                                                                                     ML-embedded scripting languag
ii  libapache2-mod-php5               5.2.6.dfsg.1-1+lenny10     server-side, HT                                                                                                                     ML-embedded scripting languag
ii  libapache2-mod-suphp              0.6.2-3                    Apache2 module                                                                                                                      to run php scripts with the o
ii  php-extensions-cwh                0.1-3                      php-extensions-                                                                                                                     cwh ioncube,ixed,Zend
ii  php-pear                          5.2.6.dfsg.1-1+lenny10     PEAR - PHP Exte                                                                                                                     nsion and Application Reposit
ii  php4                              6:4.4.4-8+etch6            server-side, HT                                                                                                                     ML-embedded scripting languag
ii  php4-cgi                          6:4.4.4-8+etch6            server-side, HT                                                                                                                     ML-embedded scripting languag
ii  php4-common                       6:4.4.4-8+etch6            Common files fo                                                                                                                     r packages built from the php
ii  php4-curl                         6:4.4.4-8+etch6            CURL module for                                                                                                                      php4
ii  php4-domxml                       6:4.4.4-8+etch6            XMLv2 module fo                                                                                                                     r php4
ii  php4-gd                           6:4.4.4-8+etch6            GD module for p                                                                                                                     hp4
ii  php4-idn                          1.2-1+b1                   PHP api for the                                                                                                                      IDNA library
ii  php4-imap                         6:4.4.4-8+etch6            IMAP module for                                                                                                                      php4
ii  php4-ldap                         6:4.4.4-8+etch6            LDAP module for                                                                                                                      php4
ii  php4-mcal                         6:4.4.4-8+etch6            MCAL calendar m                                                                                                                     odule for php4
ii  php4-mcrypt                       6:4.4.4-8+etch6            MCrypt module f                                                                                                                     or php4
ii  php4-mhash                        6:4.4.4-8+etch6            MHASH module fo                                                                                                                     r php4
rc  php4-mysql                        6:4.4.4-8+etch6            MySQL module fo                                                                                                                     r php4
ii  php4-pgsql                        6:4.4.4-8+etch6            PostgreSQL modu                                                                                                                     le for php4
ii  php4-recode                       6:4.4.4-8+etch6            Character recod                                                                                                                     ing module for php4
ii  php4-xslt                         6:4.4.4-8+etch6            XSLT module for                                                                                                                      php4
ii  php5                              5.2.6.dfsg.1-1+lenny10     server-side, HT                                                                                                                     ML-embedded scripting languag
ii  php5-cgi                          5.2.6.dfsg.1-1+lenny10     server-side, HT                                                                                                                     ML-embedded scripting languag
ii  php5-cli                          5.2.6.dfsg.1-1+lenny10     command-line in                                                                                                                     terpreter for the php5 script
ii  php5-common                       5.2.6.dfsg.1-1+lenny10     Common files fo                                                                                                                     r packages built from the php
ii  php5-curl                         5.2.6.dfsg.1-1+lenny10     CURL module for                                                                                                                      php5
ii  php5-gd                           5.2.6.dfsg.1-1+lenny10     GD module for p                                                                                                                     hp5
ii  php5-idn                          1.2b-5.3                   PHP API for the                                                                                                                      IDNA library
ii  php5-imagick                      2.1.1RC1-1                 ImageMagick mod                                                                                                                     ule for php5
ii  php5-imap                         5.2.6.dfsg.1-1+lenny10     IMAP module for                                                                                                                      php5
ii  php5-ldap                         5.2.6.dfsg.1-1+lenny10     LDAP module for                                                                                                                      php5
ii  php5-mcrypt                       5.2.6.dfsg.1-1+lenny10     MCrypt module f                                                                                                                     or php5
ii  php5-mhash                        5.2.6.dfsg.1-1+lenny10     MHASH module fo                                                                                                                     r php5
ii  php5-ming                         1:0.3.0-14                 Ming module for                                                                                                                      php5
ii  php5-mysql                        5.2.6.dfsg.1-1+lenny10     MySQL module fo                                                                                                                     r php5
ii  php5-pgsql                        5.2.6.dfsg.1-1+lenny10     PostgreSQL modu                                                                                                                     le for php5
ii  php5-pspell                       5.2.6.dfsg.1-1+lenny10     pspell module f                                                                                                                     or php5
ii  php5-recode                       5.2.6.dfsg.1-1+lenny10     recode module f                                                                                                                     or php5
ii  php5-sqlite                       5.2.6.dfsg.1-1+lenny10     SQLite module f                                                                                                                     or php5
ii  php5-tidy                         5.2.6.dfsg.1-1+lenny10     tidy module for                                                                                                                      php5
ii  php5-xmlrpc                       5.2.6.dfsg.1-1+lenny10     XML-RPC module                                                                                                                      for php5
ii  php5-xsl                          5.2.6.dfsg.1-1+lenny10     XSL module for                                                                                                                      php5
ii  phpmyadmin                        4:2.11.8.1-5+lenny8        MySQL web admin                                                                                                                     istration tool
ii  suphp-common                      0.6.2-3                    Common files fo                                                                                                                     r mod suphp

Das Problem besteht leider weiterhin immer noch. Deaktiviere ich über die admin.pl das Imap und lasse nur pop3 Aktiviert erhalte ich keinen Fehler. Aktiviere ich aber IMAP und POP3 wirft Confixx diesen Fehler aus. :confused:

(Sendmail inkl. Postfix)
 
Wie sehen folgende Einstellungen in der Postfix main.cf bzw. confixx_main.conf aus?:

/etc/postfix/main.cf

Code:
home_mailbox = Maildir/

/root/confixx/confixx_main.conf

Code:
$mailSpool = '';
$maildrop = 'HOMEDIR/Maildir/';
$mailBoxName = 'Maildir';
$pop_homeDir = '/home/email';
$mail_server = '1';

In der /root/confixx/admin/admin.pl bitte "nur" IMAP aktivieren
 
Hallo,

danke für die Hilfe.

Code:
home_mailbox = Maildir/

War gar nicht vorhanden.

Die weiteren Sachen unter: /root/confixx/confixx_main.conf sind genau so eingetragen wie bei dir.

Ich möchte den Versand ja über POP und IMAP haben. Trotzdem nur IMAP Aktivieren ? :confused:

Wie kann ich am besten testen ob pop3 und imap Funktionieren ?
 
Ohne dir jetzt bei deinem Problem weiter helfen zu können hab ich trotzdem mal eine Frage, warum willst du Pop3 und Imap?
Meine Persönliche Meinung ist imap zu benutzen anstatt pop3 oder gar beides. :)
 
Es soll aber auch immer noch IMAP-Clients geben, die nicht alles bei IMAP beherrschen, da ist POP3 eine gute Wahl dann Mails abzuholen.
Ich finde es eine gute Art und Weise und Internet-Tradition, den Leuten eben nicht aufzuzwingen, was sie verwenden sollen.
 
Back
Top