> It's a judgement call of whether or not you should give someone the shotgun 
> that can be aimed at one's foot.

Well... I guess I'm not convinced that a "shotgun" actually exists here.
I'm not aware of any other Unix MTA which enforces a rule of similar
strictness, and yet these other mailers don't seem to have been the
source of any significant security exploits which could be ascribed
to this.  Is there something unique about Maildrop (perhaps its
excellent flexibility) which makes it more vulnerable to an exploit
than a simpler local-delivery agent?

I guess I'd propose doing one or more of several things with respect
to this situation:

[1] Provide some way for the side adminstrator to select the "strict"
    (current) or "permissive" (other-Unix-MTA-like) behavior.  Leave
    a "strict" default, by all means, but have a command-line option or
    a trusted configuration file or something which could be used to
    allow Maildrop to run successfully in the sorts of bog-standard
    Unix account configurations that most other local-delivery agents
    will tolerate.

    It's certainly possible to make this sort of override by modifying
    the source code, of course, but a "gentler" way of specifying a
    site policy would be nice to have.

[2] Relax the restriction when using maildrop in the special embedded
    modes, as it won't be able to write to the mailbox anyhow.

[3] Make sure that the documentation and error messages fully describe
    Maildrop's requirements and objections.  I remember, now, spending
    quite a bit of frustrating time figuring out that Maildrop was
    actually unhappy about world-read or group-read permissions on
    the home directory, when it was saying world-write!

Even today, as far as I can tell, the online documentation for
Maildrop at http://www.courier-mta.org/ does not accurately
reflect Maildrop's actual behavior.  It states:

   maildrop also terminates with EX_TEMPFAIL if the user's home directory has 
   world write permissions.

Doesn't say anything about group permissions, or read or
access permissions on the home directory.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to