Hi,
On Sat, May 19, 2012 at 7:18 PM, mohan s <[email protected]> wrote:
> email that is being sent out or coming in to be CC d to an admin email., so
> that we can check the content of each email. Plus we need to filter email
This is not ethically correct. Someone might be stupid enough
to share their bank account and password on the email. But he/she does
so trusting that the mail is secure. We morally do not have a right to
look at the contents of the mail without the knowledge and the consent
of the sender *and* the receiver. No one can stop you from doing it,
but it is a very very bad thing to do.
What you can do, however is, something like mail filter that
exim has. You can automatically discard messages with specific terms
in the header/body of the message. Again, it is not a fair thing to
do. But if you are working in a corporate and want something like Data
Loss Protection, then it is a different aspect and best to get some
support from an expert in the industry.
> with attachments having certain extention or ablove a certain size . How do
> we implement these features.? Any help is welcome
>
These are doable with most mail servers. In exim, IIRC, there
was an acl_smtp_mime config that you can setup based on the file name.
The other option is to do what Girish said - Based on the Content-Type
SMTP header can be used. But from what I understand, there is a format
called TNEF used my Microsoft which has caused trouble. So, handling
TNEF mime types is best left to proper TNEF decoders. Thanks
--
Thank you
Balachandran Sivakumar
Arise Awake and stop not till the goal is reached.
- Swami Vivekananda
Mail: [email protected]
Blog: http://benignbala.wordpress.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc