Blocking Attachment on User Basis

kunal verma kunal.gurukul at gmail.com
Fri May 6 07:05:33 IST 2011


can we put the user lists in a file so that i have to update file each time
i add/remove  a user??/

On Thu, May 5, 2011 at 2:57 AM, Martin Hepworth <maxsec at gmail.com> wrote:

> read up using rulesets in the wiki and examples/doc directories. It's quite
> easy.
>
> --
> Martin Hepworth
> Oxford, UK
>
>
>
> On 5 May 2011 10:41, kunal verma <kunal.gurukul at gmail.com> wrote:
>
>> MailScanner is on the same host as the mailserver. I m using
>> sendmail8.13.8 as MTA. I send the mails destined to *outside domain*using UUCP to to
>> *mail gateway *. the mail gateway then relays the mails destined to  *outside
>> domain*.
>> Please give me an example configuration to block attachments on user basis
>> for outside domains.
>>
>> Kunal Verma
>>
>>
>> On Thu, May 5, 2011 at 2:17 AM, Martin Hepworth <maxsec at gmail.com> wrote:
>>
>>> ruleset on MaxAttachmentSize should do it
>>>
>>>
>>> http://www.mailscanner.info/MailScanner.conf.index.html#Maximum%20Attachment%20Size
>>>
>>>  is MailScanner isn't on the same host as the mailserver or a separate
>>> gateway machine and if on gateway I presume it scans email on the way out as
>>> well as on the way in?
>>>
>>> --
>>> Martin Hepworth
>>> Oxford, UK
>>>
>>>
>>> On 5 May 2011 07:16, kunal verma <kunal.gurukul at gmail.com> wrote:
>>>
>>>> Dear Sir,
>>>>
>>>> I want to configure MailScanner  to block attachment on *User basis*.
>>>> All users may be able to send attachment in their mail for *local
>>>> domain*.
>>>> Only a list of few Users may be allowed send attachment to *local
>>>> domain* as well as *outside domain,*
>>>> rest all users are blocked from sending attachment to *outside domain*.
>>>>
>>>> How this can be achieved? Please let me know if it is possible.
>>>>
>>>>
>>>> Kunal Verma
>>>>
>>>>
>>>> --
>>>> MailScanner mailing list
>>>> mailscanner at lists.mailscanner.info
>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>>
>>>> Before posting, read http://wiki.mailscanner.info/posting
>>>>
>>>> Support MailScanner development - buy the book off the website!
>>>>
>>>>
>>>
>>> --
>>> MailScanner mailing list
>>> mailscanner at lists.mailscanner.info
>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>
>>> Before posting, read http://wiki.mailscanner.info/posting
>>>
>>> Support MailScanner development - buy the book off the website!
>>>
>>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20110505/bccb31a6/attachment.html


More information about the MailScanner mailing list