I have ISPConfig installed since 1 year now and all were working well. I used maildir in ispconfig and the mails were successfully delivered to $HOME/Maildir. Recently, i got a strange problem with my mail reception, all my mails for my users are being sent to /var/mail/USER. I have checked my config file: After the installation of ispconfig, i have tick, Maildir in management -> server -> settings -> Email -> maildir /etc/postfix/main.cf home_mailbox = Maildir/ mailbox_command = Please some helps because my users can no longer receive their mails....
In fact, i have indentified the problem. My server has the domaine hostname.mydomain.com and i have a virtual domain as vitualdomain.com When I send an email to [email protected]rtualdomain.com, the mail does not go to the virtual domain instead it goes to [email protected]. That's why instead to send the mail to the maildir of the user it sends it to /var/mail... any help will be much appreciated. Thanks
I have already checked the box for Maildir part in Management -> server -> settings -> Email. But the problem persists. I am using the version 2.1.2 Thanks
Here is an extract of my log file file: Sep 14 06:45:16 hostname postfix/smtpd[15284]: 69841133F0: client=unknown[202.123.24.165] Sep 14 06:45:17 hostname postfix/cleanup[30573]: 69841133F0: message-id=<[email protected]> Sep 14 06:45:17 hostname postfix/qmgr[7890]: 69841133F0: from=<[email protected]>, size=12709, nrcpt=2 (queue active) Sep 14 06:45:29 hostname postfix/local[13711]: 69841133F0: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=14, status=sent (delivered to command: /usr/bin/procmail -f-) Sep 14 06:45:29 hostname postfix/qmgr[7890]: 69841133F0: removed And now i just started to receive a quota exceed mesg: Sep 14 07:18:46 trinity imaplogin: Failed to create cache file: maildir_lock (c2_matilda) Sep 14 07:18:46 trinity imaplogin: Error: Disk quota exceeded Sep 14 07:19:47 trinity imaplogin: Failed to create cache file: maildir_lock (c2_matilda) Sep 14 07:19:47 trinity imaplogin: Error: Disk quota exceeded Sep 14 07:20:47 trinity imaplogin: Failed to create cache file: maildir_lock (c2_matilda) Sep 14 07:20:47 trinity imaplogin: Error: Disk quota exceeded Please some helps...
Ok, then it is clear. Set the disk quota in ISPConfig for the user c2_matilda and / or the website to a higher level and your email will work.
Usually what i do is that, i give a disk allocation to /, which is (www.paradis.com) and all the users do not have any limitation. In this case, I have given a disk space 1.2 Go for a set of 12 users. For each user, in the WebSpace MB, i give -1 (ie no limit) and for / Space MB is 1280. So each time i cannot increase the limit as you said each time a client exceed its quota. I can increase it to see if the problem persist or not. NB: Before the system ISP functions, then i got an exceed of quota for this client and then the mail no longer go to Maildir but to /var/mail/$USER please.... thanks till
Please set the quota to a higher value as I posted above and check if the mail arrives again in the maildir.
yes Till, I have just done what you asked. I have put the quota from 1200 to 3000 MB. Now, all the mails are entering in the Maildir account. Its working ..... So what i need to do really when getting these problems again thanks till
Till, I am having the same problem with several of my virtuals. I have looked in ISP Config and i have the space MB and the Traffic MB set to -1 but I cannot find a place to set the mail quota for the users. I have to do this for several virtuals. Can you please let me know where I am going wrong.
ISPConfig 2 does not use virtual mail users, it uses Linux system users and the web quota for linux system users is the same then the mail quota, so there is no separate field.
So can you please tell me how to fix the issue? I have all of my sites set to -1 and most of my clients are getting the emails. but there are still lots that are going into /var/mail/ instead of /home/Maildir
If it is set to -1 then there is no quota set, except you had set it manually. You can check user and group quota with: repquota -avug
once i run repquota -avug | grep web67 this is what it returns. If I am reading it right. web67 or web67_admin have files on the server but no quota set is that correct? If so do I need to set a quota for each site and user? web67_admin -- 157380 0 0 12999 0 0 web67 -- 157384 0 0 13000 0 0
Why shall you have to set quota?? Everything is fine, no quota is set exactly as you specified it in ispconfig. If you want to set quota, you have to do this of course...
The problem is I am getting some mail in the Maildir and other mail in the /var/mail for the same user accounts. As I read in the other posts it says to set the quota higher. I might have misunderstood. The problem is I have around 100 virtuals they all get email in the Maildir as they should and the users can check it, but I am also getting alot of messages in the /var/mail/username that the clients cannot check and I have to go and delete manually.