Date: Mon, 11 Nov 1996 00:40:07 +0100 (MET) From: Luigi Rizzo <luigi@iet.unipi.it> To: hackers@freebsd.org Cc: luigi@iet.unipi.it Subject: mail.local behaviour Message-ID: <Pine.BSF.3.91.961111002218.2400A-100000@prova.iet.unipi.it>
next in thread | raw e-mail | index | archive | help
[perhaps this is also an isp thing, but I do not like much crossposting; if someone thing it's worth it, I'll do] we are running a (mail) server with about 2500 users, and have a couple of problems with the local delivery agent, mail.local: #1 /var/mail has too many entries, this leads to some inefficiency and is also unconvenient when doing an ls in that directory. #2 mail.local does not appear to honor quotas: /var/mail/xxx grows happily beyond the user's hard limit, causing a number of problems to the victim. I have had a look at the sources of mail.local, it appears that #1 can be solved with a trivial change, e.g. by putting the mailbox in the user's home directory instead of a centralized spool (of course, mail readers should be modified accordingly, but that's not hard). For #2, maybe mail.local could call setuid() after making sure that the user really exists on the system. This change should be trivial as well. Any comment on these two changes, and, especially, are there undesired side effects that I don't see ? While #1 is probably just a local hack, I think problem #2 should really be fixed in the distribution. Thanks Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 http://www.iet.unipi.it/~luigi/ ====================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961111002218.2400A-100000>