OT Configuring DCC and Razor

Ugo Bellavance ugob at CAMO-ROUTE.COM
Fri Jul 15 14:25:09 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Billy A. Pumphrey wrote:
>>Subject: Re: OT Configuring DCC and Razor
>>
>>Billy A. Pumphrey wrote:
>>
>>>>Subject: Re: OT Configuring DCC and Razor
>>>
>>>Probably a question that is going against the design of services:
>>>Example
>>>Mailwatch does a spamassassin lint check under the apache user
>>>(correct?).  Which means that it gives different results or errors
> 
> that
> 
>>>if it is ran with the "correct" user, such as root.  This could be
>>>misleading because I might think that my spamassassin has problems
> 
> and
> 
>>>it really doesn't.
>>>
>>>So the question is, should the best practice be to have everything
> 
> that
> 
>>>is installed to do with MailScanner use the same user?
>>>
>>
>>There is a problem... if you use Sendmail as MTA with mailscanner,
> 
> then
> 
>>you must run MailScanner as root.  MailWatch runs as the web server
>>user.  Do you want your web server to run as root?  No (security).
>>
>>All the other plugins used with MailScanner will run as the user
>>MailScanner is using.
>>
>>I'm aware of this mess and I only use the --lint test in MailWatch is
> 
> to
> 
>>get the time reports with the colors.
>>
>>If you find a solution, plese let us know...
>>
>>Thanks,
>>--
>>Ugo
>>
> 
> 
> Thank you for your replies.
> 
> I think that what I have learned is not to use the mailwatch lint for
> taking care of errors.  Instead run it logged in as root at the command
> line.  Spamassassin -D
> --prefs-file=/etc/MailScanner/spam.assassin.prefs.conf --lint

There might be another solution.  Or maybe it should be stated in
MailWatch that errors may occur and the lint test should be done as the
user running MailScanner.   This has become more of a mailwatch issue,
so I'll post it on the mailwatch list.

> 
> I also learned a whole bunch of new stuff from figuring that out.  
> 

Glad to hear that :).

-- 
Ugo

-> Please don't send a copy of your reply by e-mail.  I read the list.
-> Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list