HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   Can't create New domains or emails (

supanatral 19th January 2012 04:16

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:

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:

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:

Jan 17 13:12:29 NT-MAIL01 pop3d: Connection, ip=[::ffff:]
Jan 17 13:12:29 NT-MAIL01 pop3d: chdir /var/vmail/ 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:

[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?

supanatral 19th January 2012 04:48

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 and the email was delivered to the appropriate folder.

My question is this: Why isn't ISPConfig or maildrop creating the directories automatically?

till 19th January 2012 11:01

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.

supanatral 19th January 2012 16:28

Thanks for your help, after googling how to look at the jobqueue, I found this command:

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.

till 19th January 2012 16:38

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.

supanatral 19th January 2012 16:47

I think your right. It's listed in crontab but it isn't running:

[root@NT-MAIL01 etc]# crontab -l
* * * * * /usr/local/ispconfig/server/ &> /dev/null
30 00 * * * /usr/local/ispconfig/server/ &> /dev/null
Where is the file that these cron jobs are listed?

till 19th January 2012 16:53

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.

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

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