On Tue 03/Sep/2013 17:58:33 +0200 Jeff Potter wrote: > > Does anyone know how to block a local user from being able to send > email through the command line, while otherwise allowing other > users to continue with local submission? (I.e. I'd like to block > all email from user id 1043, let's say).
There are flags like disableimap, disablewebmail, but not disablerelay. Relay is disabled by default unless the user authenticates. > I've looked through the docs and searched online, and I'm not quite > sure if localmailfilter is the way to go or not. Seems like this > should be pretty easy to do. No, localmailfilter is for delivering (receiving), not sending. You want a so-called global filter. Besides C, filters can be written using courier-pythonfilter and courierperlfilter. Filtering command-line submissions from the local server, however, is not common. See courierfilter(8), and enablefiltering in particular. > (And a related question: is there a way to rate limit the amount of > email that a user can send in a given time interval?) Yes, using a filter. Zdkimfilter provides a way to (permanently) block users who exceed the maximum in a given time interval. -- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users