Results 1 to 3 of 3
Hellow!
I have followed very good HOWTO for perfect installation of debian. HERE
I have managed to get it work, have managed to install and configure BIND 9 (already working, ...
- 09-28-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
Postfix/pop3 problem on Debian 4.0 (Etch)
Hellow!
I have followed very good HOWTO for perfect installation of debian. HERE
I have managed to get it work, have managed to install and configure BIND 9 (already working, hosting domain lokalni.net) and installed Postfix with POP3.
It works, but I had some problems with Postfix thou. I had to manualy create Maildir/ and other folders (tmp,new,chr) in users home directory and manualy chown them. And I have to do it for every new user. Any idea why? Isn't this supossed to be done automaticly when I add new user? If not in what programming language can I write a script for automaticly doing this?
Thank you very much for every information I get.
Tsu
- 09-28-2007 #2Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
Found smth ...
I have found some kind of solution. In case anyone would have similar troubles.
When I add user for postfix his directory in /home folder isn't made. I just added user folder and then used this command:
maildirmake /home/username/Maildir
and the whole structure has been made.
That's for now, but still searching that first problem. It may be a fix that I add unix user first and then use it for postfix?
Any ideas?
Cheers,
Tsu
EDIT: you still have to manualy chown folder Maildir/ and subfolders... just so you know.
- 09-30-2007 #3Just Joined!
- Join Date
- Nov 2004
- Posts
- 48
The problem you are having may be because a postfix user is not a system user. Therefore, if you create a postfix user for user@domain.com, it is not creating a system user "user" that you can log in the commad line.
If you are creating system users (using "useradd"), and you would like to have the "MailDir" directory in each users home directory, then you can add the MailDir directory to /etc/skel. Be sure to set the permissions of the MailDir directory in /etc/skel to what you want the permissions to be in each users home directory.
When Debian creates a new system user's home direcoty is uses /etc/skel as the skeleton for their home directory. So anything in /etc/skel will be copied to each new users home directory.


Reply With Quote
