Not Allowing Multiple HTML Signatures
Markus Nilsson
markus at markusoft.se
Thu Sep 8 11:38:58 IST 2011
1) Nope, you can not prevent multiple signatures in text mails
2) Yes, it's the normal alt-tag behaviour, the text will be visible if the image can't be shown
http://www.w3schools.com/tags/att_img_alt.asp
I mainly use the function to prevent attaching several images to the mail, so I don't see the ALT-text unless the image has been removed by someone!
/Markus
----- Ursprungligt meddelande -----
Från: "homyang cha" <homyang4u at gmail.com>
Till: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Skickat: torsdag, 8 sep 2011 10:44:45
Ämne: Re: Not Allowing Multiple HTML Signatures
Dear Markus, thanks very much for the help. It worked like a charm. Your patch and the command. I would like to bother you and other experts with some more questions if I may.
1. Will the effect be felt if I use plain text messaging?
2. What ever I put in the "alt" tag it gets appears in the signature part. Is there a way to avoid this?
Thanks once again.
/Homyang
On Wed, Sep 7, 2011 at 1:15 PM, Markus Nilsson < markus at markusoft.se > wrote:
To apply the patch, run the command
patch -p1 -i Message.pm.patch MailScanner/Message.pm
On the file Message.pm, this file can be located in different locations depending on your distribution
/usr/share/MailScanner/
/var/lib/MailScanner
/Markus
Från: "homyang cha" < homyang4u at gmail.com >
Till: "MailScanner discussion" < mailscanner at lists.mailscanner.info >
Skickat: onsdag, 7 sep 2011 7:19:39
Ämne: Re: Not Allowing Multiple HTML Signatures
Dear Jules
I already tried the way it was mentioned in the comment in MailScanner.conf file. I also tried again after your feedback again with no success. Could there be a bug as mentioned by Mr. Markus. This is my inline.sig.html file content:
**********************************************************
<img alt="MailScanner Signature MyCompany"/>
<br/>--
<br/>This message has been scanned for viruses and
<br/>dangerous content by
<a href=" http://www.mailscanner.info/ "><b>MailScanner</b></a>, and is
<br/>believed to be clean.
***************************************************************
MyCompany above in html is the %org-name% value.
Dear Markus.
How can I apply that patch you mentioned above in my MailScanner configuration.
Thanks again for your valuable help and supported.
On Tue, Sep 6, 2011 at 7:42 PM, Markus Nilsson < markus at markusoft.se > wrote:
<blockquote>
I actually beleive there is a bug preventing this from working,
I submitted a patch for this some time ago, which works fine for me!
http://permalink.gmane.org/gmane.mail.virus.mailscanner/76454
/Markus
----- Ursprungligt meddelande -----
> Från: "Julian Field" < MailScanner at ecs.soton.ac.uk >
> Till: "MailScanner discussion" < mailscanner at lists.mailscanner.info >
> Skickat: tisdag, 6 sep 2011 14:49:44
> Ämne: Re: Not Allowing Multiple HTML Signatures
> Please read the comments given to you in the MailScanner.conf file.
> Immediately above the "Allow Multiple HTML Signatures" setting is
> this
> text, which explains what you need to put in "inline.sig.html" for
> this
> feature to work:
> # If the "alt" tag appears, and contains the word "MailScanner" and
> the
> # word "Signature" and the %org-name% you specified at the top of
> this file,
> # then the message is considered to already be signed. If this option
> is
> # also set to "no", then it will not be signed again.
> On 06/09/2011 13:04, homyang cha wrote:
> > Hello Experts
> > I have been trying to avoid multiple html signatures from being
> > attached to replied and forwarded mails with no success. Can anyone
> > who has done this before or have any idea on this help me. My
> > Configuration are as follows:
> >
> > 1. MailScanner.conf
> > Allow Multiple HTML Signatures = no
> >
> > 2. inline.sig.html
> >
> > <br>--
> > <br> <img src="" alt="MailScanner Signature CompanyName"/>
> > <br>This message has been scanned for viruses and
> > <br>dangerous content by
> > <a href=" http://www.mailscanner.info/ "><b>MailScanner</b></a>, and
> > is
> > <br>believed to be clean.
> >
> > 3. I am using CentOS 5.6 , MailScanner-4.84.3 with postfix-2.3
> >
> > Thank you in advance.
> >
> > --
> > homyang (aka puran)
> >
> >
> >
> > Jules
> >
> > --
> > Julian Field MEng CITP CEng
> > www.MailScanner.info
> >
> > Buy the MailScanner book at www.MailScanner.info/store
> > Need help customising MailScanner? Contact me!
> >
> > PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> > Follow me at twitter.com/JulesFM
> >
> > 'It's okay to live without all the answers' - Charlie Eppes, 2011
> > 'All programs have a desire to be useful' - Tron, 1982
> --
> 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!
> --
> CronLab scanned this message. We don't think it was spam. If it was,
> please report by copying this link into your browser:
> https://swe02.antispam.cronlab.com/mail/index.php?id=10C494D7805F.A42AD-&learn=spam&host=46.22.116.99
--
This message has been scanned for viruses and dangerous content by CronLab
( www.cronlab.com ), 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!
--
homyang (aka puran)
MailScanner CronLabAntiSpamAppliance Signature CronLab scanned this message. We don't think it was spam. Was it? Report here!
--
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!
</blockquote>
--
homyang (aka puran)
--
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!
--
This message has been scanned for viruses and dangerous content by CronLab
(www.cronlab.com), and is believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20110908/87ae05fd/attachment.html
More information about the MailScanner
mailing list