I just set up a simple Postfix and Courier-Imap email server using authpam as the authentication library.
Then I proceed to create the Maildir in the user home directory.
After that, I successfully login using thunderbird from another PC via IMAP protocol.
Now, the problem is after I sent a test email to myself, the email appear in my Sent Folder. Ok this is correct. However, I could not receive the test email using thunderbird. I went back to the email server, did a "mail" and I receive the test email that I sent a while ago. After that it was saved to /home/subaruwrx/mbox.
Any idea where did I do wrong?
Heres my main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
myhostname = localhost.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.debian, localhost.localdomain, localhost.localdomain, localhost
mynetworks = 127.0.0.0/8 192.168.100.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox = Maildir/
As for courier-imap, I just did a apt-get install courier-imap and make sure authpam is in authdaemonrc. Did not edit anything.