6.0.0-beta1
9/24/25

[#14791] Automatische Ticketerzeugung per postfix pipe sch�gt fehl
Summary Automatische Ticketerzeugung per postfix pipe sch�gt fehl
Queue Whups
Queue Version 3.0.12
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester horde-groupware (at) familie-lahme (dot) de
Created 03/09/2018 (2756 days ago)
Due
Updated 03/09/2018 (2756 days ago)
Assigned
Resolved 03/09/2018 (2756 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/09/2018 10:46:14 AM Jan Schneider Comment #2
Summary ⇒ Automatische Ticketerzeugung per postfix pipe schägt fehl
State ⇒ Not A Bug
Reply to this comment
See the mailing list
03/09/2018 08:41:39 AM horde-groupware (at) familie-lahme (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Automatische Ticketerzeugung per postfix pipe schägt fehl
Queue ⇒ Whups
Milestone ⇒
Patch ⇒ No
Reply to this comment
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?

Saved Queries