Spam tagging g in subject doubled up?

Tilman Schmidt tschmidt at cardtech.de
Thu Nov 10 11:08:00 CET 2016


On 09.11.2016 20:57, @lbutlr wrote:
> On Nov 8, 2016, at 2:49 AM, Tilman Schmidt <tschmidt at cardtech.de> wrote:
>> On 02.11.2016 10:46, Indunil Jayasooriya wrote:
>>>
>>> pls try below command with less
>>>
>>>
>>> less /etc/amavisd.conf |grep -i sa_spam_subject_tag
>>
>> Argh. Useless use of less is even worse than useless use of cat.
>> Just do
>>
>> grep -i sa_spam_subject_tag /etc/amavisd.conf
> 
> It is much easier to change the grep terms if you use
> 
> cat <file> | grep <terms>
> 
> (up arrow, ^w, type new term)

No need to waste a cat for that. (Poor beast.)
You can put the search term last on the grep command line.
Try

grep /etc/amavisd.conf -ie sa_spam_subject_tag

> I have no idea why anyone would use less there though.

Indeed.

Tilman


More information about the amavis-users mailing list