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

Re: 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 ?

	The transport-agent does not know what file caused the permission
	analysis result in the router.

> 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 ? ;)

	Outch...  Damn...

	For a quick patch at about line 2089 in  transports/mailbox/mailbox.c
	there is a  "#if 1", turn that to  "#if 0".

	A longer patch will appear into CVS as soon as I get my
	running slowed down a bit..

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

/Matti Aarnio <mea@nic.funet.fi>