Sergi Pons Freixes writes:

Hi All,

I am trying to adapt a tutorial for setting a mail server in Arch
Linux [1] to Debian. I completed up to the step of PostfixAdmin, and I
perfectly can send e-mails from it and add users and domains to the
database. Looking at /home/vmail, I also checked that I can receive
e-mails. Before setting up Roundcube, I wanted to try accessing with
Thunderbird, but I am getting the message of Incorrect username or
password.

Looking at the logs, on mail.log I can see:
Jan  3 00:32:52 cub3 imapd: Connection, ip=[::ffff:80.35.195.218]
Jan  3 00:32:53 cub3 imapd: chdir Maildir: No such file or directory
Jan  3 00:32:53 cub3 imapd: [email protected]: No such file or directory

But:
# ls /home/vmail/
[email protected]
# ls /home/vmail/[email protected]/
cur  new  tmp
# ls /home/vmail/[email protected]/new/
1325457494.Vca00I4f096M587089.cub3  1325457546.Vca00I4f099M501611.cub3
 1325471089.Vca00I4f78fM130501.cub3

So the directories exist...

If you specified the given account's home directory, Courier expects the account's Maildir to exist at $HOME/Maildir.

understand from the documentation, a maildir is actually a  hierachy
of subfolders (./new, ./cur, ./tmp, etc), which is usually located at
/home/user/Maildir.

Correct.

                    In the setup I'm trying, this hierarchy hangs from
/home/vmail/user@domain/ . Actually, postfix creates this architecture
of folders when I set-up a mail user and send an e-mail to it.
According to the config files, Courier should look at these folders,

No, by default, given a specified account home directory, Courier will look at $HOME/Maildir. This can be changed by changing the MAILDIRPATH setting in the imapd configuration file.


Attachment: pgpOQOQPf9cwH.pgp
Description: PGP signature

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to