Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th January 2012, 03:16
supanatral supanatral is offline
Member
 
Join Date: Mar 2010
Posts: 38
Thanks: 1
Thanked 4 Times in 4 Posts
Default Can't create New domains or emails

I posted this on another section of the website however I just noticed (after much google searching) that there is a section for ISPConfig on this site. Please forgive my double post however it's important that I get this resolved.

-

I just finished the initial setup of ISPConfig while following this guide:
http://www.howtoforge.com/perfect-se...ispconfig-3-p6

I'm having problems with creating a new email domain and sending email. When I sent a telnet email to the new server, I get the following error in the maillog:
Quote:
temporary failure. Command output: /usr/bin/maildrop: Unable to open mailbox.
When I try to setup outlook for the new account, I see this error:
Quote:
Jan 17 13:12:29 NT-MAIL01 pop3d: Connection, ip=[::ffff:172.23.23.151]
Jan 17 13:12:29 NT-MAIL01 pop3d: chdir /var/vmail/example.com/tuser: No such file or directory
When looking in the /var/vmail/ directory, I see that no folders have been created for the domain or user:
Quote:
[root@NT-MAIL01 vmail]# ll
total 4
drwxr-xr-x 2 root root 4096 Jan 16 17:04 mailfilters
How can I get this to work?
Reply With Quote
Sponsored Links
  #2  
Old 19th January 2012, 03:48
supanatral supanatral is offline
Member
 
Join Date: Mar 2010
Posts: 38
Thanks: 1
Thanked 4 Times in 4 Posts
Default

I just discovered something that may help us figure out the issue...

I logged into the vmail user ("su vmail") then created the domain directory and ran the command "maildirmake user1". After that, I was able to send an email to user1@domain.com and the email was delivered to the appropriate folder.

My question is this: Why isn't ISPConfig or maildrop creating the directories automatically?
Reply With Quote
  #3  
Old 19th January 2012, 10:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,043
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

ISPConfig is creating these directories if its installed properly. As the directories were not created on your server, there must be a installation problem.

Check the ispconfig monitor if there are any pending jobs in the jobqueue and if there are any errors in the system log in the monitor.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 19th January 2012, 15:28
supanatral supanatral is offline
Member
 
Join Date: Mar 2010
Posts: 38
Thanks: 1
Thanked 4 Times in 4 Posts
Default

Thanks for your help, after googling how to look at the jobqueue, I found this command:
Quote:
/usr/local/ispconfig/server/server.sh
When I run it, it creates all of the directories and everything starts working. I don't know what this command is suppose to do or whether I should add it to the cron job so it can get run automatically.
Reply With Quote
  #5  
Old 19th January 2012, 15:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,043
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

This command is already configured to run as cronjonb once a minute. Yoiu can check that with the command:

crontab -l

as it does not seem to run on your system, there must be a error in your cron daemon or cron is not installed at all.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 19th January 2012, 15:47
supanatral supanatral is offline
Member
 
Join Date: Mar 2010
Posts: 38
Thanks: 1
Thanked 4 Times in 4 Posts
Default

I think your right. It's listed in crontab but it isn't running:
Quote:
[root@NT-MAIL01 etc]# crontab -l
* * * * * /usr/local/ispconfig/server/server.sh &> /dev/null
30 00 * * * /usr/local/ispconfig/server/cron_daily.sh &> /dev/null
Where is the file that these cron jobs are listed?
Reply With Quote
  #7  
Old 19th January 2012, 15:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,043
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
 
Default

You can edit the crontab with:

crontab -e

The crontab you posted is fine,so there is no need to edit it. Instead you y´should vheck if you have the cron daemon of the linux distribution installed and started and if not install and start it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
no such file or directory, unable to open mailbox

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
How do I create email accounts & clients automatically patchshorts General 1 10th March 2010 08:51
Looking for a Little Advice to Adding New Domains to PostFix? maverick Installation/Configuration 2 14th January 2010 14:47
Do you know a program that will allow me to fetch emails decided on UIDL? voltron81 Server Operation 0 9th December 2009 12:07
Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch) White HOWTO-Related Questions 6 27th April 2008 12:43
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40


All times are GMT +2. The time now is 12:48.


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