OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
SMTPD-POLICY reg

From: Anant S Athavale (anantisac.gov.in)
Date: Wed Nov 07 2007 - 07:59:42 CST


Dear List:

We are using SMTPD-POLICY for our outgoing mails. We are using this
to control message size allowed based on sender's e-mail id.

A user is allowed to send a mail of 10 MB within Intranet. But, he is
allowed to send only 5 MB mail to outside intranet. Assume a case
where the user has done a autoforward with an option to receive the
mail locally also. Auto forward points to any outside e-mail id like
gmail etc.

when that user receives a mail having size of about 10 MB. It gets
delivered in Intranet mailbox as 10 MB is allowed within intranet, but
gets rejected by Policyd on internet mail gateway as we have allowed
only 5 MB. When I log the rejection, I get recipient to be an outside
id like gmail to which the mail is autoforwarded. My requirement is,
I also want to log the intranet e-mail id to which it got delivered in
intranet (which I believe will be there as part of headers). How do I
achieve this requirement using SMTPD-POLICYD or any other method.

We are running Postfix 2.3.3

Regards,
Anant.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.