Is there are reason 6.4's sendmail/procmail creates the user mail files mode 600? I have a number of programs that expects it to be 640 group-id mail. I am pretty sure earlier 6.x's did it the old way.
On Sat, 05 Aug 2000, Randy Suess wrote:
Is there are reason 6.4's sendmail/procmail creates the user mail files mode 600? I have a number of programs that expects it to be 640 group-id mail. I am pretty sure earlier 6.x's did it the old way.
Randy, I have 6.3. All the files in /var/spool/mail are mode 0600. I prefer not to have 0640 and I have no problems with the setup. dproc
Is there are reason 6.4's sendmail/procmail creates the user mail files mode 600? I have a number of programs that expects it to be 640 group-id mail. I am pretty sure earlier 6.x's did it the old way.
Randy, I have 6.3. All the files in /var/spool/mail are mode 0600. I prefer not to have 0640 and I have no problems with the setup.
Man web-based mailers, generaly perl or php3, need to be either suid root or, as it used to be, sgid mail. Neomail works fine with redhat/mandrake, as the mail files are 640. It used to work with suse, but not with the current version.
On Sat, 05 Aug 2000, Randy Suess wrote:
Man web-based mailers, generaly perl or php3, need to be either suid root or, as it used to be, sgid mail. Neomail works fine with redhat/mandrake, as the mail files are 640. It used to work with suse, but not with the current version.
Which version of SuSE Linux did you upgrade from? All I know is that my 6.3 gives 0600 by default, as did my 5.3. I use sendmail, procmail and fetchmail. I never admin'd a web-based mailer - sorry I am out of my depth. dproc
Randy Suess wrote:
Is there are reason 6.4's sendmail/procmail creates the user mail files mode 600? I have a number of programs that expects it to be 640 group-id mail. I am pretty sure earlier 6.x's did it the old way.
Randy, I have 6.3. All the files in /var/spool/mail are mode 0600. I prefer not to have 0640 and I have no problems with the setup.
Man web-based mailers, generaly perl or php3, need to be either suid root or, as it used to be, sgid mail.
Fyi: Most of the web based email systems do not access the mailbox directly but with POP3 or IMAP4. No need to have different access rights than 600 for that reason. Question: are there web based email systems, that access the mailbox directly?
Neomail works fine with redhat/mandrake, as the mail files are 640. It used to work with suse, but not with the current version.
Bye Emmerich
On Sat, 5 Aug 2000, Randy Suess wrote:
Is there are reason 6.4's sendmail/procmail creates the user mail files mode 600? I have a number of programs that expects it to be 640 group-id mail. I am pretty sure earlier 6.x's did it the old way. No. I'm running SuSE 6.1 and all mail folders are mode 600 by default.
Why should anybody in your group be allowed to read your e-mail by DEFAULT? Cheers, Thomas |--------------------------------------------------------------------------| | Thomas Forbriger email: Thomas.Forbriger@geophys.uni-stuttgart.de | | Universitaet Stuttgart - Institut fuer Geophysik | | Richard-Wagner-Str. 44 D-70184 Stuttgart Germany | | Tel ++49 (711) 121-3593 or 3422 or 3424 or 3590 | Fax ++49 (711) 2361218 | | http://www.geophys.uni-stuttgart.de/thof | | "... there's nothing more bizarre than reality..." (M. Kindermann) |
Is there are reason 6.4's sendmail/procmail creates the user mail files mode 600? I have a number of programs that expects it to be 640 group-id mail. I am pretty sure earlier 6.x's did it the old way. No. I'm running SuSE 6.1 and all mail folders are mode 600 by default.
Why should anybody in your group be allowed to read your e-mail by DEFAULT?
Typically the mail files are owned by user:mail, ie: -rw-rw---- 1 listuser mail 170846 Aug 6 06:30 listuser In this case that's ok (for a user to get mail, well, we'd have bigger worries).
Cheers, Thomas
-Kurt
participants (5)
-
dproc@dol.net
-
emm@eggler.ch
-
Kurt Seifried
-
Randy Suess
-
Thomas Forbriger