Debian 4.86.1-0 - again

Jerry Benton jerry.benton at mailborder.com
Sun Jan 31 01:56:42 UTC 2016


Ah, I missed the RUNUSER part in your code. Yeah, I will look at that. Not hard. 

-
Jerry Benton
www.mailborder.com



> On Jan 30, 2016, at 8:54 PM, Mark Sapiro <mark at msapiro.net> wrote:
> 
> 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
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
> 



More information about the MailScanner mailing list