Can someone post a sample of a working inline.sig.html? I am getting an email with the attached jpg file but it only shows an image box of 186 x 23 with no image inside it. Am I missing something in my html file that puts it inline within the body?<br>
<br><u><b>MailScanner.conf</b></u><br>Attach Image To Signature = yes<br>Inline HTML Signature = %rules-dir%/inline-html-signature.rules<br>Signature Image Filename = %rules-dir%/signature-image-filename.rules<br>Signature Image <img> Filename = signature.jpg<br>
<br><u><b>cat inline-html-signature.rules</b></u><br><div style="margin-left: 40px;">From: <a href="mailto:me@mydomain.com">me@mydomain.com</a> %report-dir%/inline.oneteam.sig.html<br>
FromOrTo: default no<br>
</div>
<br><u><b>cat signature-image-filename.rules </b></u><br><div style="margin-left: 40px;">From: <a href="mailto:me@mydomain.com">me@mydomain.com</a> %report-dir%/OneTeam.jpg<br>FromOrTo: default no<br>
</div><br><u><b>cat inline.oneteam.sig.html</b></u><br><img width=186 height=23 src="signature.jpg"><br><br>Dave Jones<br><br>>Themba Ntleki wrote:<br>
>> Hi Guys,<br>
>><br>
>> Is is possible to have a graphic(.jpg) within the inline signature in<br>
>> MS or something similar, I have tried adding some html code in the<br>
>> inline.sig.html file, but mail is sent without the graphic.<br>
>> Any Ideas?<br>
>Yes, perfectly possible. Read your MailScanner.conf file and you will<br>
find these. They are most useful with rulesets, so that you switch it on<br>
and off for different people, and choose different images for different<br>
people. My default HTML signature for mail sent within my department<br>
contains an image of my real signature (well, nearly my signature, but<br>
no use for signing checks as me). If you don't know about rulesets, read<br>
/etc/MailScanner/rules/* and the docs on the website and on the wiki and<br>
in the book.<br>
<br>
># If you are using HTML signatures, you can embed an image in the signature.<br>
># For the filename(s) of the image, see the settings "Signature Image<br>
># Filename" and "Signature Image <img> Filename".<br>
># This can also be the filename of a ruleset.<br>
>Attach Image To Signature = no<br>
<br>
># Normally, you would only want to attach the image to messages with an<br>
># HTML part, as plain text messages clearly cannot display an image.<br>
># However, if you find some other use for this feature, you may want to<br>
># attach an image to a message which is just text.<br>
># This can also be the filename of a ruleset.<br>
>Attach Image To HTML Message Only = yes<br>
<br>
># When using an image in the signature, there are 2 filenames which need<br>
># to be set. The first is the location in this server's filesystem of the<br>
># image file itself. The second is the name of the image as it is stored in<br>
># the attachment. The HTML version of the signature will refer to this<br>
># second name in the HTML <img> tag.<br>
># Note: the filename extension will be used as the MIME subtype, so a GIF<br>
># image must end in ".gif" for example. (.jpg ==> "jpeg" as a special case)<br>
>Signature Image Filename = %report-dir%/sig.jpg<br>
>Signature Image <img> Filename = signature.jpg<br>
<br>>Jules<br clear="all"><br>-- <br>Dave Jones