#1  
Old 26th January 2006, 04:49
daniel_rodriguez daniel_rodriguez is offline
Member
 
Join Date: Jan 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 26th January 2006, 06:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

The Maildirs should be automatically created when the first email for the respective users arrive.

Any error messages in your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 26th January 2006, 13:12
daniel_rodriguez daniel_rodriguez is offline
Member
 
Join Date: Jan 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 26th January 2006, 18:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

It's a problem with the permissions. Please post the output of
Code:
ls -la /home
What's the username of the user with the UID 100?
What's the groupname of the group with the GID 100?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 26th January 2006, 18:35
daniel_rodriguez daniel_rodriguez is offline
Member
 
Join Date: Jan 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old 26th January 2006, 20:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please try this:
Code:
chown identd:users /home
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 26th January 2006, 21:14
daniel_rodriguez daniel_rodriguez is offline
Member
 
Join Date: Jan 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #8  
Old 26th January 2006, 21:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 26th January 2006, 22:29
daniel_rodriguez daniel_rodriguez is offline
Member
 
Join Date: Jan 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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.



Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.