[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mail to program disallowed



Nov  3 10:15:19 admin mailbox[742]: S.qDgaA28746: to=<"|IFS=' '&&exec /usr/bin/procmail -f-||exit 75 # misiek">, delay=00:00:27, xdelay=00:00:00, mailer=local,
stat=error2 mail to program disallowed

my .forward:
"|IFS=' '&&exec /usr/bin/procmail -f-||exit 75 # misiek"
permissions:
-rw-rw-r--   1 misiek   misiek         57 lis  3 10:14 .forward
I changed permissions to:
[misiek@admin misiek]$ chmod og-rw .forward
[misiek@admin misiek]$ ls -al .forward
-rw-------   1 misiek   misiek         57 lis  3 10:14 .forward
[misiek@admin misiek]$
Bad perrmisions caused "error2 mail to program disallowed" ???????
IMHO should be something as "errorX bad permissions on .forward file"
Maybe add auto-changing permissions to 600 ?

But now I got:
Nov  3 10:22:53 admin mailbox[742]: S.qDghQ28746: to=<"|IFS=' '&&exec /usr/bin/procmail -f-||exit 75 # misiek">, delay=00:00:17, xdelay=00:00:00, mailer=local,
stat=deferred Cannot exec /bin/sh [exit status 128]

Hmmm
[misiek@admin misiek]$ ls -al /bin/sh
lrwxrwxrwx   1 root     root            4 wrz 30 20:47 /bin/sh -> bash
[misiek@admin misiek]$

What is going here ? ;)

-- 
 -< Arkadiusz Miśkiewicz >------------------------< Cron on IRC >-
  http://www.misiek.eu.org     mailto:misiek@zsz2.starachowice.pl
  SysAdm ZSZ2                     http://www.zsz2.starachowice.pl