Insecure dependency: what is it?

Stephen Cox stephencoxmail at gmail.com
Mon Nov 28 06:57:32 GMT 2011


On Fri, Nov 4, 2011 at 5:34 PM, Glenn Steen <glenn.steen at gmail.com> wrote:
> Very likely a permission problem, fix it and you'll be good.
> Also, you may have a corrupt message/file in the hold directory, creating
> the initial problem, or a taint problem.
>
> Den 4 nov 2011 00:16 skrev "Alessandro Dentella" <sandro at e-den.it>:
>>
>> Hi,
>>
>>
>> while trying to debug the setup I wrote about yesterday I realized that
>> /var/log/syslog contains some messages as::
>>
>>    MailScanner: Process did not exit cleanly, returned 2 with signal 0
>>
>> running with Debug = yes and Debug SpamAssassing = yes MS dies with::
>>
>>
>> 23:48:46 Nov  3 23:48:46.397 [14687] dbg: check:
>> tests=MISSING_DATE,MISSING_HEADERS,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS
>> 23:48:46 Nov  3 23:48:46.397 [14687] dbg: check:
>> subtests=__GATED_THROUGH_RCVD_REMOVER,__HAS_MESSAGE_ID,__HAS_MSGID,__MISSING_REF,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__MSOE_MID_WRONG_CASE,__NONEMPTY_BODY,__SANE_MSGID,__TO_NO_ARROWS_R,__UNUSABLE_MSGID
>> 23:48:46 Nov  3 23:48:46.398 [14687] dbg: plugin:
>> Mail::SpamAssassin::Plugin::Bayes=HASH(0xa5b1a48) implements
>> 'learner_close', priority 0
>> 23:48:46 Building a message batch to scan...
>> 23:48:46 Insecure dependency in mkdir while running with -T switch at
>> /usr/share/MailScanner//MailScanner/Quarantine.pm line 189.
>>
>>
>> The last row is issued while trying to create a directory under
>> /var/spool/MailScanner/quadantine. Postfix that is the user MS "Run
>> AS". Postfix is able to create such a directory so I don't really
>> understand
>> what it exacly means.
>>
>> This error prevents some mail from being processed but after some time
>> googling around I wasn't able to understand how to fix it. Any hint is
>> really appreciated.
>>
>> thanks
>> sandro
>> *:-)
>>

I have also seen this now. Adding -U -X to MailScanner helped. But it
is only a temporary solution.

I also saw this mail holding up the queue: http://pastebin.com/sfrDvreB

-- 
Stephen Cox


More information about the MailScanner mailing list