a bug again?
Hi, I have two problems with qmail... first it seems that it doesn't use aliases in user's home directories (e.g. /home/john/alias/.qmail-john:doe). The second is that qmail's pop3d server doesn't use aliases (in /var/qmail/alias/.qmail-*) when downloading mails... : user john.doe pass blurp it end's with error (but there is a /var/qmail/alias/.qmail-john:doe file!). Is that normal? I really need both of these things... Greetings, Marcin Jaskowiak
Re: a bug again?
On Tue, 7 Sep 1999, Marcin Jaskowiak wrote: I have two problems with qmail... first it seems that it doesn't use aliases in user's home directories (e.g. /home/john/alias/.qmail-john:doe). that's not in the user's homedir, that's a subdir "alias" that you invented. if you create ~john/.qmail-john:doe you will be able to de\irect messages to [EMAIL PROTECTED] with the file. the ~/alias/ directory is not an option, I donno why you tried it. The second is that qmail's pop3d server doesn't use aliases (in /var/qmail/alias/.qmail-*) when downloading mails... : why would it use an alias as a user? how would it authenticate it anyway? RTFM... this is basic Email stuff, not even Qmail specific. -- Ira Abramov | Internet Zahav | Linux Guru and T-Shirt collector Ixnay on the IcrosoftMay | please write to me only in English! [EMAIL PROTECTED] | it's hard to read Hebrew left to right
Re: a bug again?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have two problems with qmail... first it seems that it doesn't use aliases in user's home directories (e.g. /home/john/alias/.qmail-john:doe). 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. 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) The second is that qmail's pop3d server doesn't use aliases (in /var/qmail/alias/.qmail-*) when downloading mails... : user john.doe pass blurp it end's with error (but there is a /var/qmail/alias/.qmail-john:doe file!). And what do you think is john.doe's password? You should supply your own checkpassword if you want it to know aliases - or look for vchkpw(?) package (URL anyone?). Is that normal? I really need both of these things... First try to understand how it is supposed to work. And yes, everything works as documented in qmail, you're not too likely to find new bugs in basic setups. :-) [I used to be a novice too.] -BEGIN PGP SIGNATURE- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBN9UQgVMwP8g7qbw/EQKdiQCgnhWLbNagb745Dohku8bnp/dvH+cAoN4i hH4dHJk+ujm2EWG+mRxfgNZ+ =vDHH -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]
Re: a bug again?
On Tue, 7 Sep 1999, Petr Novotny wrote: 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. 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). And what do you think is john.doe's password? You should supply your own checkpassword if you want it to know aliases - or look for vchkpw(?) package (URL anyone?). yes, that is what i wanted to know ;) just wondering if there is other way than modyfying checkpassword code. thanks, Marcin Jaskowiak
Re: a bug again?
-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]