workflow in postfix?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

workflow in postfix?

Anant Athavale
Dear List,

Existing setup:

main.cf has mail_size_limit of 30 MB.

we are using smtpd_policy feature and controlling the allowed mail  
size for mails.  That is, if somebody requests to send higher size  
mail, say about 10 MB, we write his email id and allowed size in a  
file, and based on this, he is able to send mail to the recipient a  
higher size mail.  Here we have manual intervention.  By default,  
policy takes care that, no one is allowed to send mail beyond 2 MB.

what is required?

Now, we want to automate it, using some kind of work flow. If somebody  
sends a mail, higher than 2 Mb, postfix can detect it.  Can it  
redirect to some administrator for approval?  If say, approved, by  
mail itself, then it can proceed with delivery to recipient?

Any other ideas are also welcome...

Regards,
Anant.


------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------

Reply | Threaded
Open this post in threaded view
|

Re: workflow in postfix?

Wietse Venema
[hidden email]:
> Now, we want to automate it, using some kind of work flow. If somebody  
> sends a mail, higher than 2 Mb, postfix can detect it.  Can it  
> redirect to some administrator for approval?  If say, approved, by  
> mail itself, then it can proceed with delivery to recipient?

This is what the policy protocol interface was developed for.
I provide the mechanism, you provide the site-specific policy.

        Wietse