
26th January 2006, 04:49
|
|
Member
|
|
Join Date: Jan 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
mixing tutorials
Mixing up perfect debian setup and virtual users and domains with postfix I've installed a debian sarge as follows
Base System
Quota
DNS-Server
MySQL
Postfix/POP3/IMAP
Razor, Pyzor And DCC And Configure SpamAssassin
Courier-IMAP/Courier-POP3
Apache2
Proftpd
is this correct?
now maildir folders cannot automatically be created.
|

26th January 2006, 06:07
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
The Maildirs should be automatically created when the first email for the respective users arrive.
Any error messages in your mail log?
|

26th January 2006, 13:12
|
|
Member
|
|
Join Date: Jan 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
extracted from mail.log
Code:
Jan 26 09:04:08 web postfix/local[15690]: BD641284546: to=<fulano@web.mcye.misiones.gov.ar>, relay=local, delay=0, status=bounced (maildir delivery failed: create /home/fulano/Maildir/tmp/1138277048.P15690.web.mcye.misiones.gov.ar: Permission denied)
Jan 26 09:04:08 web postfix/local[15690]: warning: maildir access problem for UID/GID=1001/100: create /home/fulano/Maildir/tmp/1138277048.P15690.web.mcye.misiones.gov.ar: Permission denied
Jan 26 09:04:08 web postfix/local[15690]: warning: perhaps you need to create the maildirs in advance
using following command to create users
Code:
useradd userlogin -s /bin/false
then add user password
after user is created /home has no folder for that user, should it be created later on?
Last edited by daniel_rodriguez; 26th January 2006 at 13:24.
|

26th January 2006, 18:00
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
It's a problem with the permissions. Please post the output of What's the username of the user with the UID 100?
What's the groupname of the group with the GID 100?
|

26th January 2006, 18:35
|
|
Member
|
|
Join Date: Jan 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ls -la /home
Code:
total 16
drwxrwsr-x 4 root staff 4096 2006-01-18 11:43 .
drwxr-xr-x 22 root root 4096 2006-01-20 15:20 ..
drwxr-xr-x 3 admin admin 4096 2006-01-26 09:41 admin
drwxr-xr-x 2 ftp nogroup 4096 2006-01-18 11:43 ftp
identd is the username with the UID 100
users is the groupname with the GID 100
|

26th January 2006, 20:44
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Please try this:
Code:
chown identd:users /home
|

26th January 2006, 21:14
|
|
Member
|
|
Join Date: Jan 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
great Falko
Code:
chown identd:users /home
solve the problem
now, please tell me if I'm wrong, first mail sent to user must be sent from same server so folder structure could be created?
ask this because I was been sending mail from yahoo, hotmail and some local isp but none of them create maildir.
regards, and thanks once again
|

26th January 2006, 21:40
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by daniel_rodriguez
now, please tell me if I'm wrong, first mail sent to user must be sent from same server so folder structure could be created?
ask this because I was been sending mail from yahoo, hotmail and some local isp but none of them create maildir.
|
It doesn't matter from where you send them. If the emails from Yahoo and others didn't arrive, then you should check if the MX records for the recipient domains are pointing to your server.
When you send a mail from Yahoo to your server, do you see that something happens in your mail log?
|

26th January 2006, 22:29
|
|
Member
|
|
Join Date: Jan 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
even after 'chowned' /home maildir was not created, but when send mail from administrator account it did.
Well it doesn't matter anymore, mail system is working.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 01:21.
|
Recent comments
1 day 16 hours ago
2 days 1 hour ago
2 days 4 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 8 hours ago
2 days 9 hours ago
2 days 10 hours ago
3 days 2 hours ago
3 days 3 hours ago