Hello courier-users, I've been replacing qmail on a few mail servers with courier-mta and I've been caught up by the differing behavior between the two programs with regards to locking home directories with the sticky bit.
qmail-local always fails to deliver to a home directory with the sticky bit set (or permissions that it considers insecure). This gives one a convenient way to lock ones home directory and then mess with .qmail files or ezmlm mailing list or whatever you want to do. maildrop also refuses to deliver mail to a home directory with the sticky bit set. However, on both Debian and Ubuntu (also Arch Linux, using a package built from the AUR), even with courier-maildrop installed, it does not appear that maildrop is invoked by default to deliver local mail. Either that, or when maildrop is invoked in this manner, it *will* deliver mail to a user home directory with the sticky bit set. The courier online documentation suggests this should not be the case: http://www.courier-mta.org/local.html > Output module > > setuids to the user indicated in the host parameter. > If $HOME has the sticky bit set, defers the mail. there are 2 points I'm trying to make in pointing this out, I guess: 1) the documentation is confusing, especially since courier-mta appears to differ from qmail in it's default behavior 2) I would welcome suggestions on how to temporarily defer mail delivery for one particular user, for both local and remote mail deliveries. I think I can move the home directory and that might ultimately be the solution I choose; obviously I could also stop the courier-mta service, but I think I would prefer a solution that I could run as the given user, without requiring superuser privileges. (I would also prefer not to stop mail delivery for other addresses other than the particular account that's being modified) I wouldn't mind invoking maildrop, but I don't actually want to filter anything, I just want to check if $HOME is locked. Thanks, -Fred ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohomanageengine _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users