Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th October 2008, 07:52
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default About Virtual user and domains

Hi folks,


Debian Etch - domU (guest) on Xen box
Host OS -Debian Etch, Gnome deskop


I follow;
The Perfect Setup - Debian Etch (Debian 4.0)
http://www.howtoforge.com/perfect_setup_debian_etch


to setup this LAMP server. It is now working. Mails can be sent via telnet and received as well with mails delivered to /home/user/Maildir


On browser;

http://satimis.com/apache2-default/
Code:
It Works!

A minor problem was found;

# tail /var/log/mail.err
Code:
.....
Oct 13 02:57:42 xen4 dovecot: Auth process died too early - shutting down
Oct 13 02:57:42 xen4 dovecot: auth(default2): bind(/var/spoon/postix/private/auth) failed: No such file or d irectory
xen4:/home/satimis# clearcot: auth(default2): net_listen_unix(/var/spoon/postix/private/auth) failed: No suc h file or directory
Please advise where shall I check and how to fix it. TIA


I'm prepared to set up Virtual users and domains. I found following documents;

1)
Virtual Users and Domains with Postfix and MySQL
http://wiki.frugalware.org/Virtual_U...tfix_and_MySQL

2)
Postfix Virtual Domain Hosting Howto
http://www.postfix.com/VIRTUAL_README.html


Can I follow 1) above to proceed? Advice and suggesiotn are appreciated. TIA
Reply With Quote
Sponsored Links
  #2  
Old 13th October 2008, 08:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Please make sure that the path "/var/spoon/postix/private/" exists and that dovecot has permissions to write to that directory. Maybe you meaned postfix instead of postix?

Postfix virtual user howto:

http://www.howtoforge.com/virtual_us...ix_debian_etch
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 13th October 2008 at 08:12.
Reply With Quote
  #3  
Old 13th October 2008, 09:08
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
Please make sure that the path "/var/spoon/postix/private/" exists and that dovecot has permissions to write to that directory. Maybe you meaned postfix instead of postix?
Hi till,


The printout on tail /var/log/mail.err
Code:
bind(/var/spoon/postix/private/auth) failed:

I have no idea where it comes from


On /etc/default/saslauthd
Code:
....

OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"

# ls -ld /var/spool/postfix/var/run/saslauthd/
Code:
drwxr-xr-x 2 root sasl 4096 2008-10-13 06:47 /var/spool/postfix/var/run/saslauthd/

Quote:
Postfix virtual user howto:

http://www.howtoforge.com/virtual_us...ix_debian_etch
I'm now running Unix Mailbox. To change it to Virtual Domain class. Where shall I start? Do I need to remove some running files/packages? TIA


B.R.
satimis
Reply With Quote
  #4  
Old 13th October 2008, 09:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

You installed dovecot as pop3 and imap daemon and not courier as described in the perfect setup guide and the error comes from the dovecot configuration file.

Quote:
I'm now running Unix Mailbox.
The tutorial I posted above uses Maildir and not mbox storage.

The problem that I see at the moment is that you used the perfects etup guide to install your system which configures the server for linux system users as mail users and not virtual users. You will have to do the complete virtual user setup to reconfigure your system.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 13th October 2008, 15:11
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default

Quote:
Originally Posted by till View Post
You installed dovecot as pop3 and imap daemon and not courier as described in the perfect setup guide and the error comes from the dovecot configuration file.
Hi till,


Going through the notes taken down on installing this server I found the cause of the problem. I cloned the disk image of domU_1, xen1.satimis.com, as the new image for this server, domU-4, xen4.satimis.com. domU_1, xen1.satimis.com, is another mail server which installation is not finished yet. I follow;

Debian Mail Server Setup with Postfix + Dovecot + SASL + Squirrel Mail
http://www.debianadmin.com/debian-ma...rrel-mail.html

to build domU_1, xen1.satimis.com

That is the confusion originated.


Quote:
The tutorial I posted above uses Maildir and not mbox storage.

The problem that I see at the moment is that you used the perfects etup guide to install your system which configures the server for linux system users as mail users and not virtual users. You will have to do the complete virtual user setup to reconfigure your system.
It'll better for me to dump this server and make a fresh start. I'll start over again on a clean Debian Etch OS running on domU_9, xen9.satimis.com to build a Virtual Domain mail server. Thanks


B.R.
satimis
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 User & Domains With Postfix, Courier & MySQL (CentOS 5.1) hncadmin HOWTO-Related Questions 2 28th September 2008 04:50
Virtual Users And Domains With Postfix, Courier And MySQL (CentOS 5.1) - Unknown User artistan HOWTO-Related Questions 2 13th June 2008 03:51
Debian (or Ubuntu 7.xx) + Postifx+ Spam Gateway + Virtual Domains and User Verificati Joshy Suggest HOWTO 8 3rd May 2008 14:15
Virtual Users And Domains With Postfix, Courier... USER Web admin? Maquiavelo HOWTO-Related Questions 4 10th June 2006 21:12
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 04:42.


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