Sure that helps...iīll be sending my MailScanner.conf ASAP<br><br>In the meantime could you please direct me to some sort of tutorial about writing Custom Functions? And by the way, i would by your book but i donīt have an international credit card. I tried to look for it at some of the best bookstores here in Brazil but couldnīt find your book in any of these :(
<br><br>Thanks in advance Julian<br><br><div><span class="gmail_quote">On 10/3/07, <b class="gmail_sendername">Julian Field</b> &lt;<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">For the attachments, I&#39;m not sure why you aren&#39;t still receiving the<br>&quot;got the message but the attachment was too large&quot; message, I would have
<br>to take a look at your system setup to see that one. As to making it set<br>the attachment size limit depending on the subject, that could be done<br>with a very short Custom Function that looked at &quot;$message-&gt;{subject}&quot;
<br>to decide what value to return to the attachment limit configuration<br>setting.<br><br>Hope that helps a bit,<br>Jules.<br><br>Fabio Viero wrote:<br>&gt; Hi Julian<br>&gt;<br>&gt; Thanks for your reply. Iīll try to be more specific and i also did
<br>&gt; some testing on what i think is the correct approach for my problem.<br>&gt; Unfortunatelly i ran into some dificulties here.<br>&gt;<br>&gt; We have a system that sends a huge number of messages to a huge number
<br>&gt; of distinct recipients on the internet and we receive a lot of bounces<br>&gt; (mailbox overquota, recipient does not exist and the like). We would<br>&gt; like to drop these messages altogether. In some cases these warnings
<br>&gt; are attachments and we also would like to drop these attachments. See<br>&gt; that i have a distinct list for messages i want to delete and for<br>&gt; messages i want to drop the attachment. Differences between one and
<br>&gt; the other are done by the Subject field. In common they have the To:<br>&gt; field<br>&gt;<br>&gt; What i did already:<br>&gt; 1. Setup some MCP rules for the Subject. But i soon realized i<br>&gt; couldnīt do that because while i can tell MS to drop MCPīs i want to
<br>&gt; do that based on a specific To address. Should i do that by using a<br>&gt; second body statement in the rule?<br>&gt;<br>&gt; 2. For the attachments, i followed your direction and created a<br>&gt; ruleset that looks like the following:
<br>&gt; To:&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:user@domain.com.br">user@domain.com.br</a> &lt;mailto:<a href="mailto:user@domain.com.br">user@domain.com.br</a>&gt;&nbsp;&nbsp;&nbsp;&nbsp;1<br>&gt; FromOrTo:&nbsp;&nbsp;&nbsp;&nbsp; default&nbsp;&nbsp;&nbsp;&nbsp;-1<br>&gt;<br>&gt; No problem arose here, but i checked Mailwatch and the status of the
<br>&gt; message told that the attachment was too large, thatīs correct but i<br>&gt; didnīt receive any message on the user mailbox. It seemed like the<br>&gt; message was not delivered (although Mailwatch report told it was, i
<br>&gt; mean no spam, bad content or anything) and i have both the message and<br>&gt; the attach stored in the quarantine. Maybe here iīll have a hard<br>&gt; issue. How can i tell MS to remove an attachment based on its message
<br>&gt; Subject field? Is it possible at all?<br>&gt;<br>&gt; Thanks a lot Julian<br>&gt;<br>&gt;<br>&gt; On 10/3/07, *Julian Field* &lt;<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a><br>&gt; &lt;mailto:
<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -----BEGIN PGP SIGNED MESSAGE-----<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Hash: SHA1<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Set the maximum attachment size to 1 byte and it will strip all
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; attachments.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Fabio Viero wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Hi List<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Is there a way i can remove the attachment(s) from certain specific<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; messages but still the delivering the message itself?
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Thanks is advance<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Jules<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; - --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Julian Field MEng CITP<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.MailScanner.info">www.MailScanner.info
</a> &lt;<a href="http://www.MailScanner.info">http://www.MailScanner.info</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Buy the MailScanner book at <a href="http://www.MailScanner.info/store">www.MailScanner.info/store</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="http://www.MailScanner.info/store">
http://www.MailScanner.info/store</a>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Need help customising MailScanner?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Contact me!<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Need help fixing or optimising your systems?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Contact me!<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Need help getting you started solving new requirements from your boss?
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Contact me!<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -----BEGIN PGP SIGNATURE-----<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Version: PGP Desktop 9.6.3 (Build 3017)<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Comment: (pgp-secured)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Charset: ISO-8859-1<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; wj8DBQFHA1VcEfZZRxQVtlQRAosVAJ9LxgUEDE6uT8HxQ9Niqxx8xnfNlQCfRlRC<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; SAbwrvsoCxDGTiPuay89RRY=<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; =Vr9N<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -----END PGP SIGNATURE-----
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; This message has been scanned for viruses and<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; dangerous content by MailScanner, and is<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; believed to be clean.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; For all your IT requirements visit <a href="http://www.transtec.co.uk">
www.transtec.co.uk</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="http://www.transtec.co.uk">http://www.transtec.co.uk</a>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; MailScanner mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:mailscanner@lists.mailscanner.info">
mailscanner@lists.mailscanner.info</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Support MailScanner development - buy the book off the website!
<br>&gt;<br>&gt;<br><br>Jules<br><br>--<br>Julian Field MEng CITP<br><a href="http://www.MailScanner.info">www.MailScanner.info</a><br>Buy the MailScanner book at <a href="http://www.MailScanner.info/store">www.MailScanner.info/store
</a><br><br>MailScanner customisation, or any advanced system administration help?<br>Contact me at <a href="mailto:Jules@Jules.FM">Jules@Jules.FM</a><br><br>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
<br>For all your IT requirements visit <a href="http://www.transtec.co.uk">www.transtec.co.uk</a><br><br><br>--<br>This message has been scanned for viruses and<br>dangerous content by MailScanner, and is<br>believed to be clean.
<br>For all your IT requirements visit <a href="http://www.transtec.co.uk">www.transtec.co.uk</a><br><br>--<br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info
</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br><br>Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting
</a><br><br>Support MailScanner development - buy the book off the website!<br></blockquote></div><br>