On 26/04/2010 13:39, Zachary Burns wrote:
I have a company controller that loves to micro-manage people and
unfortunately loves to do it with software instead of dealing with the
people problem...but anyway I'm getting off on a rant....

You are aware that this list is archived publicly, I hope :-)

http://www.google.com/search?q=%22I+have+a+company+controller+that+loves+to+micro-manage+people%22

Is there a way to have postfix queue outgoing mail until he reviews it and
if it's valid release the email and send it as normal.  I can write a web
interface to have him allow/deny messages in the queue, but wanted to even
know if I'm barking up the wrong tree.

I don't think there's any way you can do this with the MTA alone, at least not directly. If I was undertaking a project like this, I'd work on the same principle as virus and spam scanning - that is, divert all mail submitted on the standard port to an external application, and then allow that application to re-inject it on a different port where it is then handled as normal. It wouldn't be too complicated to write the necessary external app yourself, if you're a reasonably competent programmer in any language you've got available on your system (since you want a web-based interface, I'd be inclined to do it all in PHP, but that's just personal preference). One possible way of doing it with off-the-shelf software would be to use something like Maia Mailguard - configure it to quarantine *everything*, and then use the built-in web-based management system to release the messages that are approved.

As others have said, though, it is an incredibly dumb idea for any situation other than places where you might be dealing with genuinely top secret material.

Mark

Reply via email to