[Tickets #14791] Automatische Ticketerzeugung per postfix pipe schägt fehl

[email protected]
Newsgroups gmane.comp.horde.bugs
Message-ID <[email protected]>
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14791
------------------------------------------------------------------------------
  Ticket           | 14791
  Erstellt Von     | [email protected]
  Zusammenfassung  | Automatische Ticketerzeugung per postfix pipe schägt fehl
  Warteschlange    | Whups
  Version          | 3.0.12
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


[email protected] (2018-03-09 08:41) hat geschrieben:

per Eintrag in der /etc/aliases habe ich für bestimmte Adressen eine  
automatische Ticket Erzeugung vorbereitet. Die Pipe schlägt auch an,  
allerdings meldet das Script dann Fehler, daß es Dateien nicht findet.
Die Installation ist eine normale "PEAR" Installation ohne besondere  
Anpassungen.
Stoße ich das Script "whups-mail-filter" manuel an, so funktioniert es  
ohne Probleme.
Ausgabe des maillogs:
##########################
Mar  8 12:40:38 derdapp004 postfix/local[30799]: 04C7040C4C:  
to=<whups@localhost>, orig_to=<whups@[mydn.tld]>, relay=local,  
delay=0.58, delays=0.09/0.04/0/0.45, dsn=5.3.0, status=bounced  
(Command died with status 255: "/usr/bin/whups-mail-filter -g".  
Command output: PHP Warning:   
require_once(/usr/share/php/www/horde/whups/lib/Application.php):  
failed to open stream: No such file or directory in  
/usr/bin/whups-mail-filter on line 73 PHP Fatal error:   
require_once(): Failed opening required  
'/usr/share/php/www/horde/whups/lib/Application.php'  
(include_path='.:/usr/share/php:/usr/share/pear') in  
/usr/bin/whups-mail-filter on line 73 )
##########################
Die Datei / Pfad "/usr/share/php/www/horde/whups/lib/Application.php"  
gibt es so tatsächlich nicht.
Sie liegt unter "/var/www/horde/whups/lib/Application.php".
Unterhalb von "/usr/share/php" gibt es auch kein "www".
Erzeuge ich händisch einen Softlink von "/usr/share/php/www" nach  
"/var/www", so ändert sich die Fehlermeldung wie folgt:
##########################
Mar  8 17:40:38 derdapp004 postfix/local[18979]: 0F54542FE5:  
to=<whups@localhost>, orig_to=<whups@[mydn.tld]>, relay=local,  
delay=1.3, delays=0.08/0.04/0/1.2, dsn=5.3.0, status=bounced (Command  
died with status 1: "/usr/bin/whups-mail-filter -g". Command output:    
                                                                        
   Fatal Error:                                                         
     No such backend "" found                                           
       In /var/www/horde/whups/lib/Factory/Driver.php on line 46        
                                                                        
            1. Horde_Registry::appInit() /usr/bin/whups-mail-filter:74  
              2. Horde_Registry->pushApp()  
/usr/share/php/Horde/Registry.php:299      3.  
Horde_Registry->_pushAppError()                                         
/usr/share/php/Horde/Registry.php:1640                                 
4. Horde_Registry::appInit() /usr/bin/whups-mail-filter:74              
  5. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:299    
    6. Horde_Registry->callAppMethod()                                  
        /usr/share/php/Horde/Registry.php:1635                          
        7. call_user_func_array()  
/usr/share/php/Horde/Registry.php:1197        8.  
Horde_Registry_Application->init()                                    
9. Whups_Application->_init()                                           
    /usr/share/php/Horde/Registry/Application.php:117                   
   10. Whups_Factory_Driver->create()                                   
        /var/www/horde/whups/lib/Application.php:49                     
                                                                        
                                                                        
         )
#########################

Hier noch der Eintrag aus der /etc/aliases:

##################
## WHUPS queue links
whups:   "|/usr/bin/whups-mail-filter -g"
##################

Wo liegt mein Fehler, oder ist das ein tatsächlich Bug?

-- 
bugs mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.