|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
smtp-policy on size regarding...
anant
isac.gov.in
Date: Fri Nov 03 2006 - 03:52:22 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dear List:
I am attaching the perl script which I am using to control the size of
the message received. DATAFILE contains the e-mail id and maximum
allowed size. If e-mail id is not in DATAFILE, that e-mail id is
allowed a default mail size (2MB).
My main.cf has the following entry:
smtpd_end_of_data_restrictions =
check_policy_service inet:127.0.0.1:9997
127.0.0.1:9997_time_limit = 3600
It works perfectly when the recipient is only one. But, if there are
more than one recipient, it allows the mail to be delivered even if
the recipient is not suppose to receive that size mail.
Do you think, my code has problem? or it can not be implemented if
there are more than one recipient.
Waiting for suggestions.
Regards,
Anant.
- application/x-perl attachment: INmailsize.pl
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]