From e28564dbde4f922a6a8263e3dea32d56b60b5b5b Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 16 Jun 2010 11:41:46 -0400
Subject: [PATCH] Implemented: FS#468 - Client name conversion in FTP user too restricted

---
 server/scripts/run-getmail.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/server/scripts/run-getmail.sh b/server/scripts/run-getmail.sh
index 274c0cb..048e04a 100644
--- a/server/scripts/run-getmail.sh
+++ b/server/scripts/run-getmail.sh
@@ -1,4 +1,5 @@
 #!/bin/sh
+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
 set -e
 cd /etc/getmail
 rcfiles=""
@@ -13,7 +14,7 @@
 else
   touch /tmp/.getmail_lock
   if [ "$rcfiles" != "" ]; then
-    exec /usr/bin/getmail -n -v -g /etc/getmail $rcfiles
+    /usr/bin/getmail -n -v -g /etc/getmail $rcfiles
   fi
   rm -f /tmp/.getmail_lock
 fi
\ No newline at end of file

--
Gitblit v1.9.1