[CentOS] Mail Restrictions with sendmail

Wed Aug 15 05:41:24 UTC 2007
Feizhou <feizhou at graffiti.net>

Indunil Jayasooriya wrote:
> Hi all,
> 
> I am running sendmail with MailScanner on CentOS. I want to enable some 
> restrictions.
> 
> Restrictions are given below.
> 
> All clients Currently can send Bcc from their workstations as usual. I 
> want to disable (block Bcc) that feature. Can I do it from the Sendmail 
> Server ?

No...or it will take some serious ruleset creation. Better install 
libmilter (sendmail-devel package) and use mimedefang.

> 
> All clients currently can send Cc form their workstations as usual. I 
> want to limit it. Let's say about 5 Cc s .

Same as above if not more difficult to achieve with sendmail rulesets.

> 
> All incoming mails are forwarded to another email address by using an 
> alias .
> 
> pls see below for ,
> 
> /etc/aliases
> 
> john:     john, mailbackup at example.com <mailto:mailbackup at example.com>
> userx:   userx,mailbackup at example.com <mailto:mailbackup at example.com>
> 
> The above for incoming mail.

Better use .forward rules.

> 
> Can I make a copy of ALL OUTGOING mail to one email address? let's say 
> mailoutgoing at example.com <mailto:mailoutgoing at example.com>

mimedefang.

> 
> And also enabling quota.
> 
> What is the best way to add quota?
> 

Filesystem quotas?

> 
> last feature is adding a Global Address  Book. Let me explain about it. 
> Let's say In MS exchange server, Whenever users are added, Those names 
> will be available In a Global Address book. Then, No need to add email 
> addresses to client's email programmes such as outlook express or MS 
> outlook. 
> 
> Can I enable such a feature ?

The MS GAB is basically a LDAP directory just as Active Directory is 
really LDAP + Kerberos + DNS + M$ extort^H^H^Hensions