
Looks like PostMaster.pl is being run as a shell script instead of perl. Check that the first line of PostMaster.pl corresponds to your perl binary. Regards Stuart On Wed, 2005-12-14 at 07:42, Andr? Hirschi wrote:
Good morning
I installed the latest release of OTRS on a Solaris 8 machine with Perl 5.8.7. Everything works fine so far, except for the receiving mails part. I configured it to use procmail as described in the doc. The test `cat testemail | ./PostMaster.pl is successful. But when incoming mails are piped into PostMaster.pl I have the following in the logs (and the mails do not show up in the queue, obviously):
procmail: [9063] Wed Dec 14 08:28:05 2005 procmail: Locking "/usr3/prod/scotty/otrs/otrs/var/INBOX.Backup.2005-12.lock" procmail: Assigning "LASTFOLDER=/usr3/prod/scotty/otrs/otrs/var/INBOX.Backup.200 5-12" procmail: Opening "/usr3/prod/scotty/otrs/otrs/var/INBOX.Backup.2005-12" procmail: Unlocking "/usr3/prod/scotty/otrs/otrs/var/INBOX.Backup.2005-12.lock" procmail: Couldn't determine implicit lockfile from "/usr3/prod/scotty/otrs/otrs /bin/PostMaster.pl" procmail: Locking ".lock" procmail: Executing "/usr3/prod/scotty/otrs/otrs/bin/PostMaster.pl" /usr3/prod/scotty/otrs/otrs/bin/PostMaster.pl: use: not found /usr3/prod/scotty/otrs/otrs/bin/PostMaster.pl: syntax error at line 25: `(' unex pected procmail: Program failure (2) of "/usr3/prod/scotty/otrs/otrs/bin/PostMaster.pl" procmail: Assigning "LASTFOLDER=/usr3/prod/scotty/otrs/otrs/bin/PostMaster.pl" procmail: Unlocking ".lock" procmail: Locking "/var/mail/otrs.lock" procmail: Assigning "LASTFOLDER=/var/mail/otrs" procmail: Opening "/var/mail/otrs" procmail: Unlocking "/var/mail/otrs.lock"
From ahirschi@seclutions.com Wed Dec 14 08:28:05 2005 Subject: test Folder: /var/mail/otrs 2431 procmail: Notified comsat: "otrs@3708:/var/mail/otrs"
use: not found and a syntax error at line 25. Which "use" is it referencing to? use FindBin? The module is there, I checked that, permissions are correct.
Any suggestions what I could try will be appreciated.
Kind regards Andr?
-------------------------------------------------------------------------- Andr? Hirschi Phone direct : +41 44 366 88 43 Seclutions AG Phone operator : +41 44 366 88 00 Ottikerstrasse 59 Fax : +41 44 366 88 99 8006 Zuerich Email : mailto:andre.hirschi@seclutions.com Switzerland WWW : http://www.seclutions.com -------------------------------------------------------------------------- Seclutions - high security made simple _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting f?r Ihr OTRS System?