[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: calling spamc with option to omit a specific test
From: |
Tony Shadwick |
Subject: |
Re: calling spamc with option to omit a specific test |
Date: |
Tue, 23 Apr 2013 13:44:41 -0500 |
In that case, I'd recommend creating a service account instead of running as
user "nobody". For that user, give it a bad shell (or nosh), and create
user_prefs for that user with score MY_EVIL_RULE 0.
Does that meet your needs?
Tony Shadwick
On Apr 23, 2013, at 12:16 PM, Simon Loewenthal <address@hidden> wrote:
> Hi Tony,
>
> That omits it for the entire SA installation. I want only to omit the
> rule when it is called from the milter.
>
> In this installation, anything that passes the milter will be scanned
> later as it passes down to the users' mailboxes.
>
> fight apathy or don't
> address@hidden / .co.uk / .org
> pgp 4BA78604
>
> On 23/04/2013 18:20, Tony Shadwick wrote:
>> Then just add a rule to /etc/spamassassin that sets the score to zero for
>> that particular rule:
>>
>> score MY_EVIL_RULE 0
>>
>> Tony Shadwick
>>
>> On Apr 23, 2013, at 9:43 AM, Simon Loewenthal <address@hidden> wrote:
>>
>>> Hi Tony,
>>>
>>> Omit a rule for all users.
>>>
>>> Since.
>>> --
>>> fight apathy or don't
>>> address@hidden / .co.uk / .org
>>> pgp 4BA78604
>>>
>>> Tony Shadwick <address@hidden> wrote:
>>>
>>>> Just want to clarify what you're asking here.
>>>>
>>>> You want to omit a specific rule for a specific user, or for all users?
>>>>
>>>> Tony Shadwick
>>>>
>>>> On Apr 23, 2013, at 8:42 AM, Simon Loewenthal <address@hidden>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I would like to know if it is possible to have spamass-milter
>>>> call
>>>>> spamc with an option to omit a specific rule. Is this possible?
>>>>>
>>>>> Currently I start the milter with these options:
>>>>> -I -u nobody -e example.con -M -r 13 -i 127.0.0.1 -- -s
>>>> 640000
>>>>> Looking at the spamc and spamass-milter options, I can only think of
>>>>> calling spamc with an alternative configuration file : spamc.conf
>>>>>
>>>>> If the only option is to use an alternative spamc.conf file, then
>>>> what
>>>>> are the defaults used? There is not a spamc.conf file on my server
>>>> and
>>>>> nor is there a man page for it.
>>>>> As I type this, I realise this should be posted onto the SA mailing
>>>> as
>>>>> it may well have very little to do with the milter :)
>>>>> Best wishes,
>>>>> Si.
>>>>>
>>>>> --
>>>>> fight apathy or don't
>>>>> address@hidden / .co.uk / .org
>>>>> pgp 4BA78604
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Spamass-milt-list mailing list
>>>>> address@hidden
>>>>> https://lists.nongnu.org/mailman/listinfo/spamass-milt-list
>>>
>>> _______________________________________________
>>> Spamass-milt-list mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/spamass-milt-list
>
>
> _______________________________________________
> Spamass-milt-list mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/spamass-milt-list