Blocking Attachment on User Basis

kunal verma kunal.gurukul at gmail.com
Fri May 6 13:48:08 IST 2011


Thanks for your help. I m able to block with configuration files and rule
sets.
add a line for each user to create rule.
Is is possible to create groups of users and implement the same i.e. for
each group of user create a different file and
place a line of rule for each group.

Kunal Verma



On Fri, May 6, 2011 at 5:39 AM, Alex Neuman <alex at vidadigital.com.pa> wrote:

> That's the only way. Read about rulesets.
>
>
> On Fri, May 6, 2011 at 1:05 AM, kunal verma <kunal.gurukul at gmail.com>wrote:
>
>> 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!
>>>
>>>
>>
>> --
>> 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!
>>
>>
>
>
> --
>
> --
>
> Alex Neuman van der Hans
> Reliant Technologies / Vida Digital
> http://vidadigital.com.pa/
>
> +507-6781-9505
> +507-832-6725
> +1-440-253-9789 (USA)
>
> Follow @AlexNeuman on Twitter
> http://facebook.com/vidadigital
>
>
>
> --
> 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/20110506/272f9dfe/attachment.html


More information about the MailScanner mailing list