Discussion:
Have problem with MailScanner 4.84.6 Cannot Add inline signature
t dara
2014-12-15 02:24:49 UTC
Permalink
Hello,

I have problem with MailScanner 4.84.6 Cannot Add inline signature.
I see in config file, By default it should be add inline signature. I
already to try restart MailScanner and didn't see any error message.

Here is my configration
Inline HTML Signature = %report-dir%/inline.sig.html
Inline Text Signature = %report-dir%/inline.sig.txt
Sign Clean Messages = yes

Thanks for your help,
Sovandara
Martin Hepworth
2014-12-15 16:21:12 UTC
Permalink
and MailScanner is definitely scanning those messages as they go through
your system?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hello,
I have problem with MailScanner 4.84.6 Cannot Add inline signature.
I see in config file, By default it should be add inline signature. I
already to try restart MailScanner and didn't see any error message.
Here is my configration
Inline HTML Signature = %report-dir%/inline.sig.html
Inline Text Signature = %report-dir%/inline.sig.txt
Sign Clean Messages = yes
Thanks for your help,
Sovandara
--
MailScanner mailing list
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
t dara
2014-12-16 07:19:38 UTC
Permalink
Hi,

I see the message go through MailScanner process. And I see MailScanner add
its header to each mail that go thought it process.

Thanks for your help
Post by Martin Hepworth
and MailScanner is definitely scanning those messages as they go through
your system?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hello,
I have problem with MailScanner 4.84.6 Cannot Add inline signature.
I see in config file, By default it should be add inline signature. I
already to try restart MailScanner and didn't see any error message.
Here is my configration
Inline HTML Signature = %report-dir%/inline.sig.html
Inline Text Signature = %report-dir%/inline.sig.txt
Sign Clean Messages = yes
Thanks for your help,
Sovandara
--
MailScanner mailing list
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
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
t dara
2014-12-18 01:47:55 UTC
Permalink
Hi,

Do you have any idea? Please help.

Thanks,
Sovandara
Martin Hepworth
2014-12-19 07:24:38 UTC
Permalink
No errrors at all in the logs at MailScanner startup and those files exist
in the reports directory?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hi,
Do you have any idea? Please help.
Thanks,
Sovandara
--
MailScanner mailing list
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
t dara
2014-12-19 09:44:12 UTC
Permalink
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
Post by Martin Hepworth
No errrors at all in the logs at MailScanner startup and those files exist
in the reports directory?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hi,
Do you have any idea? Please help.
Thanks,
Sovandara
--
MailScanner mailing list
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
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
2014-12-19 10:41:23 UTC
Permalink
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
Post by t dara
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
Post by Martin Hepworth
No errrors at all in the logs at MailScanner startup and those files
exist in the reports directory?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hi,
Do you have any idea? Please help.
Thanks,
Sovandara
--
MailScanner mailing list
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
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
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
t dara
2014-12-20 01:59:49 UTC
Permalink
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
Post by Martin Hepworth
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
Post by t dara
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
Post by Martin Hepworth
No errrors at all in the logs at MailScanner startup and those files
exist in the reports directory?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hi,
Do you have any idea? Please help.
Thanks,
Sovandara
--
MailScanner mailing list
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
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
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
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
2014-12-20 15:13:29 UTC
Permalink
Ok that requeue aint good

That debug run as the same user as 'run as' in the mailscanner.conf file?
Post by t dara
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
Post by Martin Hepworth
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
Post by t dara
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
Post by Martin Hepworth
No errrors at all in the logs at MailScanner startup and those files
exist in the reports directory?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hi,
Do you have any idea? Please help.
Thanks,
Sovandara
--
MailScanner mailing list
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
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
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
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
t dara
2014-12-23 01:03:14 UTC
Permalink
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
Post by Martin Hepworth
Ok that requeue aint good
That debug run as the same user as 'run as' in the mailscanner.conf file?
Post by t dara
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
Post by Martin Hepworth
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
Post by t dara
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
Post by Martin Hepworth
No errrors at all in the logs at MailScanner startup and those files
exist in the reports directory?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hi,
Do you have any idea? Please help.
Thanks,
Sovandara
--
MailScanner mailing list
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
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
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
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
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
2014-12-23 08:49:22 UTC
Permalink
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
Post by t dara
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
Post by Martin Hepworth
Ok that requeue aint good
That debug run as the same user as 'run as' in the mailscanner.conf file?
Post by t dara
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
Post by Martin Hepworth
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
Post by t dara
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
Post by Martin Hepworth
No errrors at all in the logs at MailScanner startup and those files
exist in the reports directory?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hi,
Do you have any idea? Please help.
Thanks,
Sovandara
--
MailScanner mailing list
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
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
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
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
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
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
t dara
2014-12-24 17:07:25 UTC
Permalink
Hi,

Please see the log when I run check_MailScanner command on debug mode and I
"su" to postfix user.

Thanks,
Sovandara
Post by Martin Hepworth
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
Post by t dara
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
Post by Martin Hepworth
Ok that requeue aint good
That debug run as the same user as 'run as' in the mailscanner.conf file?
Post by t dara
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
Post by Martin Hepworth
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
Post by t dara
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
Post by Martin Hepworth
No errrors at all in the logs at MailScanner startup and those files
exist in the reports directory?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hi,
Do you have any idea? Please help.
Thanks,
Sovandara
--
MailScanner mailing list
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
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
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
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
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
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
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
Glenn Steen
2015-01-21 08:59:58 UTC
Permalink
Looks like a syntax error to me.

Cheers!
--
-- Glenn
Post by t dara
Hi,
Please see the log when I run check_MailScanner command on debug mode and
I "su" to postfix user.
Thanks,
Sovandara
Post by Martin Hepworth
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
Post by t dara
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
Post by Martin Hepworth
Ok that requeue aint good
That debug run as the same user as 'run as' in the mailscanner.conf file?
Post by t dara
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
Post by Martin Hepworth
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
Post by t dara
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
Post by Martin Hepworth
No errrors at all in the logs at MailScanner startup and those
files exist in the reports directory?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hi,
Do you have any idea? Please help.
Thanks,
Sovandara
--
MailScanner mailing list
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
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
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
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
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
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
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
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
Glenn Steen
2015-01-21 08:56:44 UTC
Permalink
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
Post by Martin Hepworth
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
Post by t dara
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
Post by Martin Hepworth
Ok that requeue aint good
That debug run as the same user as 'run as' in the mailscanner.conf file?
Post by t dara
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
Post by Martin Hepworth
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
Post by t dara
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
Post by Martin Hepworth
No errrors at all in the logs at MailScanner startup and those files
exist in the reports directory?
--
Martin Hepworth, CISSP
Oxford, UK
Post by t dara
Hi,
Do you have any idea? Please help.
Thanks,
Sovandara
--
MailScanner mailing list
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
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
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
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
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
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
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
Loading...