-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> > You seem confused what the .qmail files do. BTW - what is 
> > /home/john/alias? It is a subdirectory of john's home? That's not 
> > the right way. There's a system-wide user called alias, his home is
> > probably /var/qmail/alias, and .qmail-john:doe should come in THAT
> > directory.
> 
> i got that, but if you want for example to make the aliases automatically
> by a program you'll need the rights to write to /var/qmail/alias.

Exactly. That's for security's for. If you want new aliases with 
sendmail, you need to write /etc directory. Simply, noone should 
be able to change aliases other than a privileged used.

If you need automatic change, make a script that reads users' 
demands, analyzes them (resolves conflicts) and created aliases. 
Run this script from cron as root or alias, and be sure you haven't 
left in some security hole.

> > The "aliases" in home directories would only control the part after the
> > dash, like "john-sumething" is controlled by /home/john/.qmail-something
> > (notice no alias subdirectory)
> 
> if i put .qmail-john:doe in homedir of john with content 'john@somehost'
> it will not work (of course it works well when put in /var/qmail/alias).

It will. Just send e-mail to john-john.doe@somehost. That's the 
address your .qmail file controls. Got it?

> yes, that is what i wanted to know ;) just wondering if there is other way
> than modyfying checkpassword code.

Downloading a ready-made package :-) Have a look around 
www.qmail.org.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBN9UUS1MwP8g7qbw/EQJ20QCaA3Z6pS8nGqbHCP+meGVkvZ/b0JYAoKzv
6xiBvOtvLIyRlUPJMGmeK32u
=ru87
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]

Reply via email to