|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Courier IMAP - ccount's mailbox directory is not owned by the correct uid or gid
so i poked around and found out that `DEFDOMAIN="@domain.se"` is messing things up, so i removed that from `/etc/courier/imapd` and i got to the point where `SMTP` work and i get this from the `IMAP`:
Code:
Jul 2 13:23:10 HOST authdaemond: Authenticated: sysusername=anton, sysuserid=<null>, sysgroupid=20001, homedir=/storage/vmail/anton, address=anton, fullname=Anton, maildir=<null>, quota=<null>, options=<null> Jul 2 13:23:10 HOST authdaemond: Authenticated: clearpasswd=MyPasswd, passwd=$3e$04$AC1c10x0A3etWCJFrla.Rl2sevNhq24yXYxrq8IN7mEeGI20. Jul 2 13:23:10 HOST imapd-ssl: anton: Account's mailbox directory is not owned by the correct uid or gid Code:
# ls -l /storage/vmail/ -rw-r--r-- 1 vmail vmail 22 Mar 13 01:06 .Xdefaults -rw-r--r-- 1 vmail vmail 773 Mar 13 01:06 .cshrc -rw-r--r-- 1 vmail vmail 398 Mar 13 01:06 .login -rw-r--r-- 1 vmail vmail 113 Mar 13 01:06 .mailrc -rw-r--r-- 1 vmail vmail 218 Mar 13 01:06 .profile drwx------ 2 vmail vmail 512 Jun 30 10:44 .ssh drwxr-xr-x 3 anton anton 512 Jun 30 10:44 anton Code:
MAILDIRPATH=/storage/vmail Code:
MAILDIRPATH=Maildir Code:
# cat /etc/passwd | grep anton anton:*:20001:20001:Anton:/storage/vmail/anton:/sbin/nologin |
|
|||
This post from the Gentoo forums seem to have a workaround as well as a solution: http://forums.gentoo.org/viewtopic-t...3-start-0.html
For some info about the Maildir mail box format see: https://en.wikipedia.org/wiki/Maildir
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
Now i can play around why that doesn't work while i can still manage my emails! So thank you! Note: Since my server is restricted to only authentication via SSL/TLS i had to include IMAP_MAILBOX_SANITY_CHECK=0 in the /etc/courier/imapd-ssl config as well because it didn't reflect over from /etc/courier/imapd for some reason.. But now it works! |
|
|||
For SASL it seems to be easier to use Postfix together with dovecot.
See http://www.postfix.org/SASL_README.html and http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL If the current setup is working I would not mess around with it anymore. You could try the Postfix - Dovecot combination on a second box and see whether that is easier to configure.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
I'll give this a spin for a while and see what happens, i'll probably end up doing my own software all together since tbh, SMTP and IMAP are old stuff and i hardly need 50% of what IMAP offers me, so i'll probably create something completely bare-bone/minimalistic :) |
Tags |
courier, imap, openbsd 5.3 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Connecting FreeBSD to Active Directory for Dovecot IMAP authentication | sparky | FreeBSD General | 0 | 25th May 2012 12:04 PM |
Maildir and courier imap confusion | pca | General software and network | 0 | 4th February 2010 01:02 PM |
Courier IMAP/POP3 can't auth to mysql db | revzalot | OpenBSD Packages and Ports | 5 | 6th September 2009 05:44 AM |
Courier IMAP Different MD5 version | jrs665 | OpenBSD Packages and Ports | 3 | 30th October 2008 12:34 PM |
FAM keeps crashing with courier-imap | krreagan | FreeBSD General | 0 | 14th May 2008 11:15 PM |