Debian 4.86.1-0 - again

Mark Sapiro mark at msapiro.net
Sun Jan 31 01:54:54 UTC 2016


On 01/30/2016 05:25 PM, Jerry Benton wrote:
> RDUSER get sets above it with:
> 
> RDUSER=`${QUICKPEEK} IncomingWorkUser ${ms_conf}`
> 
> It pulls from whatever config you specify in /etc/default/MailScanner, which the default is /etc/MailScanner/MailScanner.conf unless you specify otherwise.
> 
> If it not set, then it defaults to “mail”.



Right and what I'm saying is if IncomingWorkUser is not set but
RunAsUser is, it should set RDUSER to the value of RunAsUser and only
default to "mail" if neither is set.

This is already moot for me because I have added a setting for
IncomingWorkUser to my conf.d/local, so if you think it's good as is, it
will work for me.

>> On Jan 30, 2016, at 8:16 PM, Mark Sapiro <mark at msapiro.net> wrote:

>>
>> in /etc/init.d/MailScanner at line 85-88 we now have
>>
>> if [ -z ${RDUSER} ]; then
>>        RDUSER="mail"
>> fi
>>
>> This is a problem for me. I "fixed" it by adding 'Incoming Work User' to
>> my conf.d/local, but I think the code should be
>>
>> if [ -z ${RDUSER} ]; then
>>        if [ -z ${RUNUSER} ]; then
>>                RDUSER="mail"
>>        else
>>                RDUSER=${RUNUSER}
>>        fi
>> fi


-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list