Non Spam actions problem

Søren Dam post at damschott.dk
Tue Nov 23 21:48:38 GMT 2010


2010/11/23 Ryan Ivey <iveymr at gmail.com>

> On Tue, Nov 23, 2010 at 2:45 PM, Søren Dam <post at damschott.dk> wrote:
>
>> Dear Folks
>>
>> Just to be clear..
>> There seems nothing wrong with my Non.SpamAction.Rules, right?
>>
>
> Is it Non.SpamAction.Rules or Non.Spam[.]Action.Rules that's defined in
> MailScanner.conf?  It has to match the exact name in %rules-dir% ?
>
>
Oh, that was just a typo in the mail, not in the conf file..;-)

It also seems that the other mail don't get the " deliver header
"X-Spam-Status: No" " attached. So it seems that mailscanner is not reading
the rules file. But still no errors anywhere.

/Soeren

[snip]
>
> *   **And I've put this line i Mailscanner.conf*
> *
> *
> *   Non Spam Actions = %rules-dir%/Non.Spam.Action.**Rules
> *
> [/snip]
>
>
>> Just so I can put my efforts into another direction..
>>
>> /Soeren
>>
>> 2010/11/23 Søren Dam <post at damschott.dk>
>>
>>
>>>
>>> 2010/11/22 Jules Field <MailScanner at ecs.soton.ac.uk>
>>>
>>>
>>>>
>>>> On 22/11/2010 20:34, Søren Dam wrote:
>>>>
>>>>> Dear Folks
>>>>>
>>>>> I want to send a copy of the non spam mails to another mailbox for some
>>>>> specific mail users. I have made this Non.SpamAction.Rules file:
>>>>>
>>>>> "..
>>>>> FromOrTo: aa at bb.com <mailto:aa at bb.com> forward cc at bb.com <mailto:
>>>>> cc at bb.com>
>>>>>
>>>> You want to add the action "deliver" to that line as well, or the
>>>> original recipient will not get their copy of the message.
>>>>
>>>>
>>>>> FromOrTo:       default   deliver header "X-Spam-Status: No"
>>>>>
>>>>> .."
>>>>>
>>>>> And I've put this line i Mailscanner.conf
>>>>>
>>>>> Non Spam Actions = %rules-dir%/Non.Spam.Action.Rules
>>>>>
>>>> Did you ask MailScanner to reload its config after making the change?
>>>> "service MailScanner reload" will work on quite a few platforms,
>>>> otherwise try "/etc/init.d/MailScanner reload".
>>>>
>>>>
>>> I  reload the configuration every time I do a change..
>>>
>>>
>>>> And also try doing the command
>>>>    MailScanner --lint
>>>> to see what that says about your configuration.
>>>>
>>>
>>> Mailscanner --lint did'nt return any errors
>>>
>>>
>>>>
>>>> And also look in your /var/log/maillog to see what MailScanner is
>>>> logging when it starts up, there may be some error messages in there.
>>>>
>>>>
>>> Maillog didn't return any errors on the reload
>>>
>>> Can I see if the copy of the mail is going into outgoing spool?
>>>
>>>
>>>> Jules
>>>>
>>>> --
>>>> Julian Field MEng CITP CEng
>>>> www.MailScanner.info
>>>> Buy the MailScanner book at www.MailScanner.info/store
>>>>
>>>> Need help customising MailScanner?
>>>> Contact me!
>>>> Need help fixing or optimising your systems?
>>>> Contact me!
>>>> Need help getting you started solving new requirements from your boss?
>>>> Contact me!
>>>>
>>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>>> Follow me at twitter.com/JulesFM
>>>>
>>>>
>>>> --
>>>> This message has been scanned for viruses and
>>>> dangerous content by MailScanner, and is
>>>> believed to be clean.
>>>>
>>>> --
>>>> MailScanner mailing list
>>>> mailscanner at lists.mailscanner.info
>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>>
>>>> Before posting, read http://wiki.mailscanner.info/posting
>>>>
>>>> Support MailScanner development - buy the book off the website!
>>>
>>>
>>>
>>
>> --
>>
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20101123/435666d7/attachment.html


More information about the MailScanner mailing list