Thanks, Alessandro -- looking through the documentation, I'm missing where it defines what valid sources are for enablefiltering -- I tried "courierd", "courierlocal" and "local", but no luck.
If it helps, here's the received header. Thanks for any insight! -Jeff Received: from localhost (localhost [127.0.0.1]) (uid 501) by <some-hostname-here> with local; Wed, 04 Sep 2013 21:04:15 -0400 id 0000000000370289.000000005227D88F.00005763 On Sep 3, 2013, at 2:40 PM, Alessandro Vesely <ves...@tana.it> wrote: > 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 ------------------------------------------------------------------------------ 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=58041391&iu=/4140/ostg.clktrk _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users