PDA

View Full Version : maildir not used


provell
16th June 2008, 21:28
Hi Everyone,

I have been studying the ispconfig/postfix setup lately, and in general postfix.

Of the 2 ispconfig servers I have running, the mailserver part is giving me some trouble on one server.:(
100% cpu usage(clamv), mailboxes that are full(when their not, so I just give the users an extra 100mb extra space).

Anyway, after studying the difference between the two I found out
that I did not setup the maildir option in "management -> settings -> mail".
Thus the mail comes in /var/spool/mail/userxmailfile.
After having a discussion in this thread:
http://http://www.howtoforge.com/forums/showthread.php?t=24084
I would like to use the maildir option, also it's better handling of mail as far as I know.
ISPconfig wasn't setup that way for no reason.;)

As I have been doing some testing.....
When I set the "maildir" option in ISPconfig no mail get's deliverd to the excisting users.
It does get diliverd nicely in the /example.com/user/userx/maildir, but when I try to receive the mail on my local computer I don't get anything.
The mail just stay's in the "new" directory.

My questions are:
1. Should I leave it that way, I should have configured that earlyer?
2. Should I reboot a deamon, or the whole server, and would it work than?
3. If after a reboot it works(maildir) what happens to the mail in /var/spool/mail/userxmailfile?

I don't want to be experimenting to much with this server so I thougt best to ask the professionals.

Thaks in advance for your anwser.:)

Rgds Edo

till
17th June 2008, 13:30
Please reconfigure clamav to run as clamd:

http://www.howtoforge.com/forums/showthread.php?t=16204

provell
17th June 2008, 18:43
Hi Till,

I found that thread already and was planning on doing that to get rid of the 100% cpu usage.

Do you have any solution, concerning the maildir questions I asked?
If I turn on the option, no one is getting any mail, but the mail stays in maildir directory of the user.

Rgds Edo

till
17th June 2008, 19:22
Please reconfigure your system exactly as described in the perfect setup guide for your linux distributiona and enable the maildir checkbox.

provell
17th June 2008, 21:54
Hi, thanks for the response again.

I was already looking at the perfect setup I used of debian sarge.
On page 4 at the bottom I think I forgot to do the following:
apt-get install courier-imap courier-imap-ssl courier-pop courier-pop-ssl

So postfix and ISPconfig default to mbox mail format....
I gues it couldn't hurt to apt-get these packages and then use the maildir options?
Am I right?

Anyway thank for the help so far, got a lot of understanding now:):)

Rgds Edo

falko
18th June 2008, 19:35
I gues it couldn't hurt to apt-get these packages and then use the maildir options?

That's right.

provell
26th June 2008, 15:09
Wow, I'm glad I looked again if there was an update on the(this) post I did.
Those 2 words "That's right", you posted just saved me from sleepless nights, testing and researching and posible angry customers.

Let me reply with two words -> THANK YOU!! :D:D:D:D

Rgds Edo