Ok last one how can I allow all types of attachments to be send only on my domain?<br><br><div><span class="gmail_quote">2007/8/28, Julian Field <<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a>
>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>infolistas listas wrote:<br>> Thanks julian worked perfectly, just following this rules managements
<br>> is there a way to block these attachments for these specific users<br>> from sending mail to another domain that isnt mine, and allow them to<br>> attach when sending mail to own domain?<br>> EX:<br>>
<br>> john may send mail to mydomain but he may not send to yahoo<br>From: <a href="mailto:john@mydomain.com">john@mydomain.com</a> And To: <a href="http://mydomain.com">mydomain.com</a> -1<br>From: <a href="mailto:john@mydomain.com">
john@mydomain.com</a> 0<br><br>><br>> maria may send mail to mydomain and to yahoo<br>><br>> Is it possible?<br>><br>><br>> 2007/8/27, 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>>>:<br>><br>> Just use a ruleset with the Maximum Attachment Size setting in<br>> MailScanner.conf
.<br>><br>> Put this in MailScanner.conf:<br>> Maximum Attachment Size = %rules-dir%/max.attach.size.rules<br>><br>> and in /etc/MailScanner/rules/max.attach.size.rules put this:<br>> from:
<a href="mailto:john@yourdomain.com">john@yourdomain.com</a> <mailto:<a href="mailto:john@yourdomain.com">john@yourdomain.com</a>> -1<br>> from: <a href="mailto:bob@yourdomain.com">bob@yourdomain.com</a> <mailto:
<a href="mailto:bob@yourdomain.com">bob@yourdomain.com</a>> -1<br>> from: <a href="mailto:joseph@yourdomain.com">joseph@yourdomain.com</a> <mailto:<a href="mailto:joseph@yourdomain.com">joseph@yourdomain.com</a>
> -1<br>> from: <a href="mailto:paul@yourdomain.com">paul@yourdomain.com</a> <mailto:<a href="mailto:paul@yourdomain.com">paul@yourdomain.com</a>> 0<br>> from: <a href="mailto:patrick@yourdomain.com">
patrick@yourdomain.com</a> <mailto:<a href="mailto:patrick@yourdomain.com">patrick@yourdomain.com</a>> 0<br>> from: <a href="mailto:maria@yourdomain.com">maria@yourdomain.com</a> <mailto:<a href="mailto:maria@yourdomain.com">
maria@yourdomain.com</a>> 0<br>> fromorto: default -1<br>><br>> Note the last line sets the default to -1 which is "no limit" for this<br>> setting.<br>><br>> Then "service MailScanner reload" or (if that command doesn't work)
<br>> "/etc/init.d/MailScanner reload".<br>><br>> MailScanner rulesets are documented at length in the wiki and in<br>> the Book.<br>><br>><br>> infolistas listas wrote:<br>> > Hi all is it possible to block some users from attaching files in
<br>> > mailscanner?<br>> > EX: john, bob and joseph are allow to send attachments but paul,<br>> > patrick and maria are not allowed.<br>> > Thanks<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>> MailScanner customisation, or any advanced system administration help?
<br>> Contact me at <a href="mailto:Jules@Jules.FM">Jules@Jules.FM</a> <mailto:<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>> <<a href="http://www.transtec.co.uk">http://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>> <<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>> <<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>