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

Reply via email to