signing outgoing clean messages

S Mohan smohan at VSNL.COM
Wed Oct 23 07:35:16 IST 2002


I did this in SignCleanEntity function after the first two lines as

MailScanner::Log::InfoLog("Signing Clean Entity");

This appears in maillog. Where does it read the files in? If I put in
something there, I'll know if it is able the signature files or not.

I can give you access but it has to be root as files are owned by root. I'd
prefer to change the password, give you access and change it back once you
are finished. This is a production server and hence I'm wary. Can we try it
on Friday evening IST which would be mid day GMT/ English time? If I say 1pm
GMT, it would be 630pm IST which is fine as customers would have left for
the day and following days are holidays.

How do we communicate when you are trying this stuff. Yahoo messenger or any
other IMS? Please let me know and I'll see what we can put to gether.

Regards
Mohan
-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Julian Field
Sent: 22 October 2002 18:16
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: signing outgoing clean messages


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