[CentOS] Mail Restrictions with sendmail

Indunil Jayasooriya indunil75 at gmail.com
Mon Sep 3 07:39:00 UTC 2007


Hi,

I got Centos 5 server up and running. sendmail and MailScanner are running .


pls see below for installed sendmail pkgs.

[root at mailgw ~]# rpm -qa |grep sendmail
sendmail-cf-8.13.8-2.el5
sendmail-8.13.8-2.el5
sendmail-devel-8.13.8-2.el5


I installed below MailScanner-4.62.9-3.rpm.tar.gz

 MailScanner-4.62.9-3.rpm.tar.gz

Then, I installed mimedefang by using yum.

yum install mimedefang

Now, I can find some files @ /etc/mail

below are files.

mimedefang-filter
sa-mimedefang.cf
sa-mimedefang.cf.example

I first want to block Bcc and limit Cc to about 5 users. I googled a lot.
But, I am still not be able to achieve this task.

will I have to edit /etc/mail/mimedefang-filter to block Bcc and to limit Cc
.

Have you done it?

your comments .





On 8/17/07, Indunil Jayasooriya <indunil75 at gmail.com> wrote:
>
>
>
>
> > >
> > > I want to limit mail sizes for both incoming and outgoing mails.
> > >
> > > Let's say
> > >
> > > userx at example.com <mailto:userx at example.com> can send mails up to 5MB,
> > > but can receive up to 2MB
> > >
> > > usery at example.com <mailto:usery at example.com> can send and receive
> > mails
> > > up to 5MB.
> >
> > Is this 2/5MB after encoding or before encoding of attachments? Encoding
> >
> > will increase data size about 25%.
>
>
> before  ENCODING.
>
>
>
> > > pls let me know?
> >
> > mimedefang? You have per user settings and so setting a system wide
> > setting in sendmail configuration will not help and sendmail does not
> > differentiate between outgoing and incoming limits so you are left with
> > a milter solution and so maybe mimedefang is your best bet.
>
>
>
> OK , THANKS .
>
>
> I know another centos list subscriber, Les, will swear by mimedefang.
> >
> >
>
>
> --
> Thank you
> Indunil Jayasooriya
>



-- 
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20070903/abe2526f/attachment.htm


More information about the CentOS mailing list