PDA

View Full Version : Going back from dovecot to vm-pop3d



Sp-tech
11-09-2006, 02:19 AM
Is there anyway to go back to vm-pop3d?


Since I installed dovecot through DA build script emails have nothing but probelms.


Password authentication doesn't work.

The email accounts i reseted the password to .. i login and there is no emails.
even though I sent test emails.


Please advice.

patrik
11-09-2006, 02:36 AM
If dovecot doesn't report any mail although there is mail in the mailbox there could be a problem with permissions. (Mailbox have wrong permissions or a directory in the path to the mailbox have wrong permissions)

Sp-tech
11-09-2006, 07:35 AM
what are the paths to the mailboxs.
Ill check the permissions and report back.

patrik
11-09-2006, 07:36 AM
I guess they still are /var/mail. Note that I haven't run Dovecot on a DA machine but I use Dovecot on other machines and have seen this error.

toml
11-09-2006, 07:40 AM
Originally posted by Sp-tech
what are the paths to the mailboxs.
Ill check the permissions and report back.

System Users have their emails by default in:
/home/${domain_owner_name}/Maildir

Pop3 Users have their emails by default in:
/home/${domain_owner_name}/imap/${domain_name}/${pop3_username}/Maildir

These folders should all be owned by the ${domain_owner_name} and the group should be mail.

I assume that you also did the ./build todovecot
that updates your exim.conf. If not, you might want to execute:

cd /usr/local/directadmin/customapache
patch -p0 < exim.conf.dovecot.patch

patrik
11-09-2006, 07:41 AM
Originally posted by toml
System Users have their emails by default in:
/home/${domain_owner_name}/Maildir

Pop3 Users have their emails by default in:
/home/${domain_owner_name}/imap/${domain_name}/${pop3_username}/Maildir

These folders should all be owned by the ${domain_owner_name} and the group should be mail.
Thanks for the correction.
Is the path /home/${domain_owner_name}/Maildir an absolute path or is that a symlink?

toml
11-09-2006, 07:44 AM
Originally posted by patrik
Thanks for the correction.
Is the path /home/${domain_owner_name}/Maildir an absolute path or is that a symlink?
That is an absolute path, of course you still need to replace ${domain_owner_name} witht the system user name, but other than that, it is the absolute path.

patrik
11-09-2006, 07:47 AM
Originally posted by toml
That is an absolute path, of course you still need to replace ${domain_owner_name} witht the system user name, but other than that, it is the absolute path. Cool, yes I understand that ${domain_owner_name} needs to be replaced ;)
I haven't tried to move to dovecot on any of our DA machines yet and I think that will have to wait for some time. If something fails I will be in big trouble when 300 customers are calling at the same time ;)

Sp-tech
11-09-2006, 07:48 AM
drwxrwx--- 11 smfile mail 4096 Nov 9 02:47 .
drwxrwx--- 3 smfile mail 4096 Nov 9 02:42 ..
drwxrwx--- 2 smfile mail 4096 Nov 9 02:42 cur
-rw------- 1 smfile mail 144 Nov 9 02:42 dovecot.index
-rw------- 1 smfile mail 10272 Nov 9 02:42 dovecot.index.cache
-rw------- 1 smfile mail 124 Nov 9 02:43 dovecot.index.log
drwxrwx--- 5 smfile mail 4096 Nov 9 02:46 .Drafts
drwxrwx--- 5 smfile mail 4096 Nov 9 02:47 .INBOX.Drafts
drwxrwx--- 5 smfile mail 4096 Nov 9 02:47 .INBOX.Sent
drwxrwx--- 5 smfile mail 4096 Nov 9 02:46 .INBOX.spam
drwxrwx--- 5 smfile mail 4096 Nov 9 02:48 .INBOX.Trash
drwxrwx--- 2 smfile mail 4096 Nov 9 02:42 new
drwxrwx--- 5 smfile mail 4096 Nov 9 02:46 .Sent Items
-rw-rw---- 1 smfile mail 71 Nov 9 02:47 subscriptions
drwxrwx--- 2 smfile mail 4096 Nov 9 02:42 tmp


thats the content of
/home/smfile/imap/domainname.com/webmaster/Maildir


for the mailbox webmaster@domainname.com

Sp-tech
11-09-2006, 08:04 AM
I emailed Mark at sales \/ at \/ directadmin

with the root login information.

So hopefully they login and fix this mess as its really starting to cause big problems now.


with the mail not working and all.