1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-qmail-1.10.0/root/var/service/qmail/run mezzanine_patched_e-smith-qmail-1.10.0/root/var/service/qmail/run |
2 |
--- e-smith-qmail-1.10.0/root/var/service/qmail/run 2008-04-02 21:42:39.000000000 -0600 |
3 |
+++ mezzanine_patched_e-smith-qmail-1.10.0/root/var/service/qmail/run 2008-04-02 21:41:25.000000000 -0600 |
4 |
@@ -18,6 +18,13 @@ |
5 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
6 |
# |
7 |
#---------------------------------------------------------------------- |
8 |
+if [ ! -f /var/qmail/queue/lock/tcpto ] |
9 |
+then |
10 |
+ dd bs=1024 count=1 if=/dev/zero of=/var/qmail/queue/lock/tcpto |
11 |
+ chown qmailr:qmail /var/qmail/queue/lock/tcpto |
12 |
+ chmod 644 /var/qmail/queue/lock/tcpto |
13 |
+fi |
14 |
+ |
15 |
exec \ |
16 |
/usr/bin/env - PATH="/var/qmail/bin:/bin:/usr/bin:/usr/local/bin" \ |
17 |
LD_PRELOAD=$(pwd)/no_connect_zero.so \ |