signing outgoing clean messages

Julian Field mailscanner at ecs.soton.ac.uk
Tue Oct 22 13:45:33 IST 2002


The code is in "sub SignUninfected" in Message.pm. You might want to try
adding some lines like
         MailScanner::Log::InfoLog("some text here");
into that function (and the SignCleanEntity function underneath it) to see
what is getting called and when.

Alternatively, if you can get let me log in to your system remotely, I can
take a look for you and find what's wrong.

I can't suggest much more than that as I can't reproduce it.

At 12:41 22/10/2002, you wrote:
>None at all. Message is received, scanned successfully and sent out. On my
>other domain (on another physical m/c), message arrives without signatures.
>The files do exist. I changes the file names to non-existent ones and
>Config.pm started spewing errors. I stopped it and set the right file name
>and it started up properly. No signatures still.
>
>If there is a way of creating some action log, I'd like to know. Should I
>change code status to get the action log? If a method of debugging this can
>be suggested, I'd do the same.
>
>Mohan.
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
>Behalf Of Julian Field
>Sent: 22 October 2002 16:45
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: signing outgoing clean messages
>
>
>I have just tried this myself and it works for me. I tried changing the
>filenames too, just in case that was the problem, and it still works.
>
>Does it put anything helpful in your maillog at all?
>
>At 11:56 22/10/2002, you wrote:
> >MailScanner V4.01-3. RH 7.3. Sendmail 8.12.6
> >
> >I'm unable to have outgoing mails signed.
> >
> >I did the following in MailScanner.conf:
> >Inline HTML Signature = /etc/MailScanner/reports/en/alf.disclaimer.html
> >Inline Text Signature = /etc/MailScanner/reports/en/alf.disclaimer.txt
> >Sign Clean Messages = /etc/MailScanner/rules/outgoing.sign.rules
> >
> >outgoing.sign.rules has:
> >    To:          alfinance.com           no
> >    From:        default                 yes
> >
> >I cannot give IP filter as we have dial in customers. The above rules
> >(matching domain name) ensures that incoming mail is not signed but
>outgoing
> >is. My mails went unsigned.
> >
> >To check this out, I changed "Sign Clean Messages = yes" from the ruleset.
> >My mails still went unsigned. This means the system is not able to access
> >the files? Is it a problem with file permissions? read access does exist
>644
> >for root.root for these files just like the other files.
> >
> >I'm fairly certain I've made the mistake but do not know where. HELP. Is
> >there a way of logging what rule sets are getting applied to mails so that
> >we can find out if the file made it thro' the rule set or not? Is some perl
> >module not installed properly?
>
>--
>Julian Field                Teaching Systems Manager
>jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
>Tel. 023 8059 2817          University of Southampton
>                              Southampton SO17 1BJ

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list