Hi Julian,<div><br></div><div>Sorry, I was mistaken about the system-wide setting. I must have looked in the wrong place.</div><div>I&#39;ll try the new version and report my findings.</div><div><br></div><div>Thanks for taking the time to look into this.</div>

<div><br></div><div>Pedro<br clear="all"><br>
<br><br><div class="gmail_quote">On Thu, Sep 24, 2009 at 3:49 PM, Julian Field <span dir="ltr">&lt;<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Why did you think the &quot;Zip Attachments&quot; feature is a system-wide setting. The line above the setting clearly says:<br>
# This can also be the filename of a ruleset.<br>
<br>
I will take a look at the filenames problem, but no guarantees I can fix it easily.<div class="im"><br>
<br>
On 24/09/2009 12:46, Pedro Arinto wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi Alex,<br>
<br>
Unfortunately, since I work in Portugal, it is impossible to avoid using non-English characters in filenames. Even if I could somehow tell our users to avoid international characters, i cannot control everyone who sends us email.<br>


All platforms I&#39;ve tested (Mac, Windows &amp; Linux) see the same messed up filenames in the zip file. The difference is that in Windows, with most unzip packages (like 7-zip), there is an error when unzipping the file. In Mac, Linux &amp; Windows with Winzip, the unzip operation is successful, but the filenames are garbled. This wouldn&#39;t be a big problem if the file extension remained the same as the original file, but it also gets messed up. Since most of our users are non-technical, this is a big problem for them.<br>


<br>
Can the zip feature be enabled selectively with a ruleset ? This would partially solve our problems, but as far as I can tell it is a system-wide setting.<br>
<br>
Thanks,<br>
<br>
Pedro<br>
<br>
<br></div><div class="im">
On Mon, Sep 21, 2009 at 4:07 PM, Alex Neuman &lt;<a href="mailto:alex@rtpty.com" target="_blank">alex@rtpty.com</a> &lt;mailto:<a href="mailto:alex@rtpty.com" target="_blank">alex@rtpty.com</a>&gt;&gt; wrote:<br>
<br>
    I don&#39;t know how to fix it, but here&#39;s a couple of thoughts:<br>
<br>
    1. Can you avoid using filenames with non-english characters? It&#39;s<br>
    less likely users will have problems that way - specially when<br>
    going cross-platform.<br>
    2. Are you sure the filenames are messed up? Do all platforms<br>
    (linux, mac, unix) find the same, apparently corrupted filenames?<br>
    How about all unzip programs for Windows? Could be that the<br>
    unzipping program is not UTF aware or something like that.<br>
    3. (and this is a question for Jules &amp; the Gang) - what does<br>
    MailScanner use for ZIPping? is it some Archive::Zip module call?<br>
    Can it be changed (although it may impose a further performance<br>
    penalty) to an external &quot;zip&quot; program? Something like the internal<br>
    vs. external TNEF issue?<br>
<br>
<br>
<br>
    On Sep 21, 2009, at 9:49 AM, Pedro Arinto wrote:<br>
<br>
        the filenames get messed up in the resulting ZIP file. Windows<br>
        users are unable to uncompress this files<br>
<br>
<br>
    --     MailScanner mailing list<br>
    <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br></div>
    &lt;mailto:<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a>&gt;<div class="im"><br>
    <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
    Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
    Support MailScanner development - buy the book off the website!<br>
<br>
<br>
</div></blockquote>
<br>
Jules<br>
<br>
-- <br>
Julian Field MEng CITP CEng<br>
<a href="http://www.MailScanner.info" target="_blank">www.MailScanner.info</a><br>
Buy the MailScanner book at <a href="http://www.MailScanner.info/store" target="_blank">www.MailScanner.info/store</a><br>
<br>
Need help customising MailScanner?<br>
Contact me!<br>
Need help fixing or optimising your systems?<br>
Contact me!<br>
Need help getting you started solving new requirements from your boss?<br>
Contact me!<br>
<br>
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<br>
Follow me at <a href="http://twitter.com/JulesFM" target="_blank">twitter.com/JulesFM</a> and <a href="http://twitter.com/MailScanner" target="_blank">twitter.com/MailScanner</a><br><font color="#888888">
<br>
<br>
-- <br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.</font><div><div></div><div class="h5"><br>
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website! <br>
</div></div></blockquote></div><br></div>