Current time: 05-17-2024, 05:10 PM Hello There, Guest! (LoginRegister)


Post Reply 
Problem mit process-quarantine.pl from Maia
Author Message
Mysterious Offline
Junior Member
*

Posts: 25
Joined: Mar 2008
Reputation: 0
Post: #1
Problem mit process-quarantine.pl from Maia
Hi,

ich habe mir laut dem Wiki Maia MAilguard installiert. Läuft auch soweit bis auf einen Fehler welchen ich immer beim ausführen der cronjobs bekomme:

/var/lib/amavis/maia/scripts/process-quarantine.pl: line 77: use: command not found
/var/lib/amavis/maia/scripts/process-quarantine.pl: line 78: use: command not found
/var/lib/amavis/maia/scripts/process-quarantine.pl: line 81: syntax error near unexpected token `('
/var/lib/amavis/maia/scripts/process-quarantine.pl: line 81: `sub output($);'


Hier mal die betreffenden Zeilen wo der Fehler auftritt:
Code:
77 use Getopt::Long;
78 use DBI;
79
80 # prototypes
81 sub output($);
Kann mir jemand sagen was im da fehlt? Irgendwelche perl-module? Wobei laut dem Wiki hab ich da alles installiert und wird auch so angezeigt...
(This post was last modified: 03-05-2009 06:32 PM by Mysterious.)
03-05-2009 06:25 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Problem mit process-quarantine.pl from Maia
Und wie sieht deine erste Zeile vom Script aus ?
Code:
#!/usr/bin/perl

Greez BeNe
03-05-2009 06:29 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Mysterious Offline
Junior Member
*

Posts: 25
Joined: Mar 2008
Reputation: 0
Post: #3
RE: Problem mit process-quarantine.pl from Maia
danke für den Hinweis, war ein Leerzeichen vor
#!/usr/bin/perl
Big Grin
Leerzeichen weg und es geht. Keine Ahnung ob ich das mal versehentlich war oder das gennerell drinn ist??
03-05-2009 06:36 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Problem mit process-quarantine.pl from Maia
Kann ich jetzt so auf dem Sprung auch nicht sagen Wink
Hauptsache es tut erstmal... schaue es mir später mal.

Greez BeNe
03-05-2009 06:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)