Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st June 2007, 10:05
4integration 4integration is offline
Member
 
Join Date: Dec 2006
Posts: 44
Thanks: 0
Thanked 2 Times in 1 Post
Default "Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 6.10 Edgy Eft)"

Hello,

I have tested the howto "Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 6.10 Edgy Eft)" @ http://www.howtoforge.com/virtual_po...er_ubuntu_edgy but on my Feisty Fawn.

Adding domains/users to the mail system is it only necessary to add them to the tables? Does it require changes to the file system as well, in the /home/vmail/?? I think so since I get this in the logs:

Quote:
Jun 1 10:17:51 vm-mail imapd: chdir mydomain.com/testuser/: No such file or directory
It's not covered in the howto...

Should I create anything manually?
What should I create?
What permissions (group/user) should the files/directories have?
__________________
Best Regards
4 Integration
Reply With Quote
Sponsored Links
  #2  
Old 2nd June 2007, 14:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Quote:
Originally Posted by 4integration
Adding domains/users to the mail system is it only necessary to add them to the tables?
Yes.

Quote:
Originally Posted by 4integration
Does it require changes to the file system as well, in the /home/vmail/??
No.

Please compare your setup again with the one from the tutorial. Maybe you've made a typo somewhere.
__________________
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 13th June 2007, 16:50
fchevitarese fchevitarese is offline
Junior Member
 
Join Date: Dec 2006
Location: Brazil
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fchevitarese
Cool Netstat -tap

Hello all ... i´m in the same tutorial... all things are getting work but now i have one problem!

After amavisd instalation, the tutorial ask me to type netstat -tap and it should be show this :

root@server1:/usr/local/sbin# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:10024 *:* LISTEN 16043/amavisd (mast
tcp 0 0 localhost.localdo:10025 *:* LISTEN 15794/master
tcp 0 0 localhost.localdo:mysql *:* LISTEN 4783/mysqld
tcp 0 0 *:smtp *:* LISTEN 15794/master
tcp6 0 0 *:imaps *:* LISTEN 13452/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 13517/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 13480/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 13412/couriertcpd
tcp6 0 0 *:www *:* LISTEN 4489/apache2
tcp6 0 0 *:ssh *:* LISTEN 3193/sshd


the thing that i have marked whit red is my problem... This sh.... is not showed when i type the command!

I have already done all the things again... but the problem persists!

Can anyone help me?
What i have to do?!

Thanks!!!

Reply With Quote
  #4  
Old 14th June 2007, 21:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Did you modify /etc/postfix/master.cf as shown in the tutorial? Did you restart Postfix?
__________________
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 22nd June 2007, 11:08
4integration 4integration is offline
Member
 
Join Date: Dec 2006
Posts: 44
Thanks: 0
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko
Please compare your setup again with the one from the tutorial. Maybe you've made a typo somewhere.
I have compared the installation with the tutorial but can not find anything strange.
What configuration handles the creation of the mailbox directory?

I created the directory /home/vmail/mydomain.com/testuser (owned by vmail user).

Then when I connect the mail client it creates the .Trash folder:
drwx------ 6 vmail vmail 4096 2007-06-22 11:15 .Trash
and the client (Thunderbird) says:
"The current command did not succeed: The mail server responded: Unable to open this mailbox"

Any idea?
__________________
Best Regards
4 Integration
Reply With Quote
  #6  
Old 22nd June 2007, 11:48
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Please post the output of:

ls -la /home/vmail/mydomain.com/testuser

and

ls -la /home/vmail/mydomain.com/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 22nd June 2007, 12:31
4integration 4integration is offline
Member
 
Join Date: Dec 2006
Posts: 44
Thanks: 0
Thanked 2 Times in 1 Post
Default

sh-3.2$ ls -al /home/vmail/mydomain.com/
total 12
drwxr-xr-x 3 vmail vmail 4096 2007-06-22 11:15 .
drwxr-xr-x 3 vmail vmail 4096 2007-06-22 11:14 ..
drwxr-xr-x 3 vmail vmail 4096 2007-06-22 11:15 testuser

sh-3.2$ ls -al /home/vmail/mydomain.com/testuser/
total 12
drwxr-xr-x 3 vmail vmail 4096 2007-06-22 11:15 .
drwxr-xr-x 3 vmail vmail 4096 2007-06-22 11:15 ..
drwx------ 6 vmail vmail 4096 2007-06-22 11:15 .Trash

Also worth to mention is that this installation is running in a VMWare Workstation with KUbuntu Feisty Fawn (updated) with internal IP 192.168.1.10 for evaulation. The "production" mail server runs on 192.168.1.2 and mail ports are forwarded from the firewall to 192.168.1.2.

The mail accounts for test are configured to use 192.168.1.10 and not mail.mydomain.com which the real accounts are using.
__________________
Best Regards
4 Integration
Reply With Quote
  #8  
Old 23rd June 2007, 20:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

The permissions look ok...
__________________
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 24th June 2007, 10:58
4integration 4integration is offline
Member
 
Join Date: Dec 2006
Posts: 44
Thanks: 0
Thanked 2 Times in 1 Post
Default

Shouldn't the file /etc/postfix/main.cf be one of the key files here?
When are Postfix notitfied to create the mailbox, when the domain/user are inserted into the DB postfix are not aware so I assume that it should be created at the first login try, right?

EDIT: Sorry it should of course be one of the Courier files such as /etc/courier/authmysqlrc
__________________
Best Regards
4 Integration

Last edited by 4integration; 24th June 2007 at 11:16.
Reply With Quote
  #10  
Old 24th June 2007, 19:23
4integration 4integration is offline
Member
 
Join Date: Dec 2006
Posts: 44
Thanks: 0
Thanked 2 Times in 1 Post
 
Default

Sorry, but I have to admit one thing. I have left out one step "3 Apply The Quota Patch To Postfix".
Falko: Do you think that this could cause my problem?

Which creates the mail dirs, Postfix or Courier?
__________________
Best Regards
4 Integration
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL Secondary MX acoghlan HOWTO-Related Questions 1 8th March 2008 05:02
Mailbox instead of Maildir (in Postfix - Mysql - Courier Ubuntu 6.10 Edgy Efty) Lukather Installation/Configuration 1 1st May 2007 20:44
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35
Upgrade question for "Virtual Users And Domains With Postfix, Courier And MySQL" emresumengen HOWTO-Related Questions 3 1st December 2006 15:33
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 20:11


All times are GMT +2. The time now is 16:14.


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