Re: How to ignore .qmail-* files for given users?

2000-10-25 Thread Cyril Bitterich

Hi John,

 John Chronakis wrote:
 
 Hello,
 
 I would like to prevent users with ftp access to change the
 delivery instructions for qmail.

I don't know what system you are running your server on. But assuming
you are using Linux and the ext2-fs have a look "chattr -i .qmail".

man chattr tells me:
 A file with the `i' attribute cannot be modified: it  canĀ­
 not  be deleted or renamed, no link can be created to this
 file and no data can be written  to  the  file.  Only  the
 superuser can set or clear this attribute.

Maybe there is something similar on you system as well.

 
 To be more specific, I want some users not to be able to receive mail at all
 (they all bellong to the same group) 

echo "#"  .qmail

 and others not be able to change
 delivery instruction by creating their own dot-qmail files via ftp
 (they all belong to another group).

 I suppose that this is controled by QMAILHOME/users/assign,
 but the man page is not very helpful.

IMHO /var/qmail/users/assign only works for mailadresses that are nor
equal to the username.

Hope I could help.

Ciao,

Cyril



Re: How to ignore .qmail-* files for given users?

2000-10-25 Thread Dave Sill

Cyril Bitterich [EMAIL PROTECTED] wrote:

IMHO /var/qmail/users/assign only works for mailadresses that are nor
equal to the username.

Whether or not qmail-users overrides users is a matter of fact, not a
matter of opinion. In fact, qmail-users (users/assign) *does* override 
normal delivery to system users. This is documented in
/var/qmail/doc/PIC*2local.

-Dave



Re: How to ignore .qmail-* files for given users?

2000-10-24 Thread Tyler J. Frederick

I don't know that this is the most efficient way, but you should be able
to prevent all access to any file that starts with .qmail via your ftp
daemon setup.

- T

-- 
Tyler J. Frederick
Systems Administrator
Sportsline.com, Inc.

On Tue, 24 Oct 2000, John Chronakis wrote:

 Hello,
 
 I would like to prevent users with ftp access to change the
 delivery instructions for qmail.
 
 To be more specific, I want some users not to be able to receive mail at all
 (they all bellong to the same group) and others not be able to change
 delivery instruction by creating their own dot-qmail files via ftp
 (they all belong to another group).
 
 I suppose that this is controled by QMAILHOME/users/assign,
 but the man page is not very helpful.
 
 Can anyone help?
 
 John
 
 




Re: How to ignore .qmail-* files for given users?

2000-10-24 Thread John Chronakis

You are right. wu.ftpd can restrict actions to files or directories
matching a pattern.

I am going to use it for now, but I would prefer to control all mail
relative
stuff from within qmail. I am going to experiment with qmail/users/assign
file and see what I can do.

Thanks

John


 I don't know that this is the most efficient way, but you should be able
 to prevent all access to any file that starts with .qmail via your ftp
 daemon setup.

 - T

 --
 Tyler J. Frederick
 Systems Administrator
 Sportsline.com, Inc.

 On Tue, 24 Oct 2000, John Chronakis wrote:

  Hello,
 
  I would like to prevent users with ftp access to change the
  delivery instructions for qmail.
 
  To be more specific, I want some users not to be able to receive mail at
all
  (they all bellong to the same group) and others not be able to change
  delivery instruction by creating their own dot-qmail files via ftp
  (they all belong to another group).
 
  I suppose that this is controled by QMAILHOME/users/assign,
  but the man page is not very helpful.
 
  Can anyone help?
 
  John
 
 






RE: How to ignore .qmail-* files for given users?

2000-10-23 Thread Austad, Jay

If you're using wu-ftpd or some derivative of, you should be able to do this
in the /etc/ftpaccess file.  Do a 'man ftpaccess' for the correct syntax.

Jay

-Original Message-
From: John Chronakis [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 23, 2000 9:55 PM
To: qmail-list
Subject: How to ignore .qmail-* files for given users?


Hello,

I would like to prevent users with ftp access to change the
delivery instructions for qmail.

To be more specific, I want some users not to be able to receive mail at all
(they all bellong to the same group) and others not be able to change
delivery instruction by creating their own dot-qmail files via ftp
(they all belong to another group).

I suppose that this is controled by QMAILHOME/users/assign,
but the man page is not very helpful.

Can anyone help?

John