Have problem with MailScanner 4.84.6 Cannot Add inline signature

Glenn Steen glenn.steen at gmail.com
Wed Jan 21 08:56:44 GMT 2015


Actually... Easiest way to debug MS is not to edit the conf file... Just
stop MS, then do:
su - postfix -s /bin/bash
MailScanner --debug --debug-sa
... With at least one message in your incoming postfix queue.

Cheers!
-- 
-- Glenn
Den 23 dec 2014 10:16 skrev "Martin Hepworth" <maxsec at gmail.com>:

> Debug is very command line
>
> Once you've made the changes to MailScanner.conf, stopped the service then
>
> "su -" to postfix user (make sure it has a valid shell first!),
> run MailScanner from the command line
>
> it will run once then stop and dump the debug to the command line so you
> can try and spot why the Signature rule isnt running.
>
>
>
> --
> Martin Hepworth, CISSP
> Oxford, UK
>
> On 23 December 2014 at 01:03, t dara <t.sovandara at gmail.com> wrote:
>
>> Hi,
>>
>> On MailScanner.conf file I use run as user= postfix.
>> To run debug mode I just change this 2 line
>> Debug = no  -->  Debug = yes
>> Debug SpamAssassin = no  ---> Debug SpamAssassin = yes
>> Finally I restart MailScanner by trying this 2 command
>> - service MailScanner startin or
>> - service MailScanner restart
>> But when change to debug mode I didn't see any log run on
>> /var/log/maillog. And my email cannot send or receive.
>>
>> Thanks,
>> Sovandara
>>
>>
>>
>> On Sat, Dec 20, 2014 at 10:13 PM, Martin Hepworth <maxsec at gmail.com>
>> wrote:
>>
>>> Ok that requeue aint good
>>>
>>> That debug run as the same user as 'run as' in the mailscanner.conf file?
>>>
>>>
>>>
>>> On Saturday, 20 December 2014, t dara <t.sovandara at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> To Run a sessions in Debug mode we just change  Debug = no to Debug =
>>>> yes
>>>> Please see the log file as in the attachment file.
>>>>
>>>> Thanks,
>>>> Sovandara
>>>>
>>>> On Fri, Dec 19, 2014 at 5:41 PM, Martin Hepworth <maxsec at gmail.com>
>>>> wrote:
>>>>
>>>>> Run a sessions in Debug mode and see what you get and any clues as to
>>>>> why it's not attaching the signature.
>>>>>
>>>>> --
>>>>> Martin Hepworth, CISSP
>>>>> Oxford, UK
>>>>>
>>>>> On 19 December 2014 at 09:44, t dara <t.sovandara at gmail.com> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Yes the report file exist. Normally if report file not exist it will
>>>>>> show error message, but on my case I didn't see any error message.
>>>>>>
>>>>>> Thanks,
>>>>>> Sovandara
>>>>>>
>>>>>> On Fri, Dec 19, 2014 at 2:24 PM, Martin Hepworth <maxsec at gmail.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> No errrors at all in the logs at MailScanner startup and those files
>>>>>>> exist in the reports directory?
>>>>>>>
>>>>>>> --
>>>>>>> Martin Hepworth, CISSP
>>>>>>> Oxford, UK
>>>>>>>
>>>>>>> On 18 December 2014 at 01:47, t dara <t.sovandara at gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Do you have any idea? Please help.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Sovandara
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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!
>>>>>>
>>>>>>
>>>>> --
>>>>> 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!
>>>>>
>>>>>
>>>>
>>>
>>> --
>>> --
>>> Martin Hepworth, CISSP
>>> Oxford, UK
>>>
>>> --
>>> 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/20150121/9de19c24/attachment.html 


More information about the MailScanner mailing list