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> <<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a>> 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'm not sure why you aren't still receiving the<br>"got the message but the attachment was too large" 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 "$message->{subject}"
<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>> Hi Julian<br>><br>> Thanks for your reply. Iīll try to be more specific and i also did
<br>> some testing on what i think is the correct approach for my problem.<br>> Unfortunatelly i ran into some dificulties here.<br>><br>> We have a system that sends a huge number of messages to a huge number
<br>> of distinct recipients on the internet and we receive a lot of bounces<br>> (mailbox overquota, recipient does not exist and the like). We would<br>> like to drop these messages altogether. In some cases these warnings
<br>> are attachments and we also would like to drop these attachments. See<br>> that i have a distinct list for messages i want to delete and for<br>> messages i want to drop the attachment. Differences between one and
<br>> the other are done by the Subject field. In common they have the To:<br>> field<br>><br>> What i did already:<br>> 1. Setup some MCP rules for the Subject. But i soon realized i<br>> couldnīt do that because while i can tell MS to drop MCPīs i want to
<br>> do that based on a specific To address. Should i do that by using a<br>> second body statement in the rule?<br>><br>> 2. For the attachments, i followed your direction and created a<br>> ruleset that looks like the following:
<br>> To: <a href="mailto:user@domain.com.br">user@domain.com.br</a> <mailto:<a href="mailto:user@domain.com.br">user@domain.com.br</a>> 1<br>> FromOrTo: default -1<br>><br>> No problem arose here, but i checked Mailwatch and the status of the
<br>> message told that the attachment was too large, thatīs correct but i<br>> didnīt receive any message on the user mailbox. It seemed like the<br>> message was not delivered (although Mailwatch report told it was, i
<br>> mean no spam, bad content or anything) and i have both the message and<br>> the attach stored in the quarantine. Maybe here iīll have a hard<br>> issue. How can i tell MS to remove an attachment based on its message
<br>> Subject field? Is it possible at all?<br>><br>> Thanks a lot Julian<br>><br>><br>> On 10/3/07, *Julian Field* <<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a><br>> <mailto:
<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a>>> wrote:<br>><br>> -----BEGIN PGP SIGNED MESSAGE-----<br>> Hash: SHA1<br>><br>> Set the maximum attachment size to 1 byte and it will strip all
<br>> attachments.<br>><br>> Fabio Viero wrote:<br>> > Hi List<br>> ><br>> > Is there a way i can remove the attachment(s) from certain specific<br>> > messages but still the delivering the message itself?
<br>> ><br>> > Thanks is advance<br>> ><br>><br>> Jules<br>><br>> - --<br>> Julian Field MEng CITP<br>> <a href="http://www.MailScanner.info">www.MailScanner.info
</a> <<a href="http://www.MailScanner.info">http://www.MailScanner.info</a>><br>> Buy the MailScanner book at <a href="http://www.MailScanner.info/store">www.MailScanner.info/store</a><br>> <<a href="http://www.MailScanner.info/store">
http://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>><br>><br>> -----BEGIN PGP SIGNATURE-----<br>> Version: PGP Desktop 9.6.3 (Build 3017)<br>
> Comment: (pgp-secured)<br>> Charset: ISO-8859-1<br>><br>> wj8DBQFHA1VcEfZZRxQVtlQRAosVAJ9LxgUEDE6uT8HxQ9Niqxx8xnfNlQCfRlRC<br>> SAbwrvsoCxDGTiPuay89RRY=<br>> =Vr9N<br>> -----END PGP SIGNATURE-----
<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>> <<a href="http://www.transtec.co.uk">http://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>> <mailto:<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>><br>><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>