Hello,
I am trying to create virtual mailboxes with Courier-IMAP and Postfix. Although
I can see the login is successful for the user still can't access its
mailbox(can't reach the specified directory). I think it is messed out
somewhere!
-- The mailbox base directory In postfix configuration,
virtual_mailbox_base=/var/spool/asterisk/imap-voicemail
virtual_alias_domains = SVM
-- The actual directories:$ cd imap-voicemail$ ls -ltrtotal 8drwxrwxrwx 2
vmail vmail 4096 Oct 23 19:43 aahmeddrwxrwxrwx 4 vmail vmail 4096 Oct 24 13:42
SVM$ cd SVM$ ls -ltrtotal 8drwxrwxrwx 3 vmail vmail 4096 Oct 25 06:29
7002drwxrwxrwx 3 vmail vmail 4096 Oct 25 07:03 7001$ cd 7001$ ls -ltrtotal
4drwxrwxrwx 5 vmail vmail 4096 Oct 25 07:03 Maildir$ cd Maildir/$ ls -ltrtotal
12drwxrwxrwx 2 vmail vmail 4096 Oct 25 07:03 tmpdrwxrwxrwx 2 vmail vmail 4096
Oct 25 07:03 new
drwxrwxrwx 2 vmail vmail 4096 Oct 25 07:03 cur
-- Tests
$ netcat SVM 143
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright
1998-2011 Double Precision, Inc. See COPYING for distribution information.
a login 7001 7001
a OK LOGIN Ok.
quit
$ netcat SVM 110
+OK Hello there.
user 7001
+OK Password required.
pass 7001
-ERR Maildir invalid (no 'cur' directory)
LogsOct 25 08:15:43 localhost pop3d: LOGIN, user=7001, ip=[::ffff:127.0.0.1],
port=[55076]Oct 25 08:15:43 localhost pop3d: scancur opendir("cur"): No such
file or directoryOct 25 08:15:43 localhost authdaemond: received auth request,
service=pop3, authtype=loginOct 25 08:15:43 localhost authdaemond: authuserdb:
trying this moduleOct 25 08:15:43 localhost authdaemond: userdb: opened
/etc/courier/userdb.datOct 25 08:15:43 localhost authdaemond: userdb: looking
up '7001'Oct 25 08:15:43 localhost authdaemond: userdb:
home=/var/spool/asterisk/imap-voicemail/SVM/7001, uid=5000, gid=5000,
shell=<unset>, mail=/var/spool/asterisk/imap-voicemail/SVM/7001, quota=<unset>,
gecos=<unset>, options=<unset>Oct 25 08:15:43 localhost authdaemond: found
systempw in userdbshadowOct 25 08:15:43 localhost authdaemond: authuserdb:
sysusername=<null>, sysuserid=5000, sysgroupid=5000,
homedir=/var/spool/asterisk/imap-voicemail/SVM/7001, address=7001,
fullname=<null>, maildir=/var/spool/asterisk/imap-voicemail/SVM/7001,
quota=<null>, options=<null>Oct 25 08:15:43 localhost authdaemond: authuserdb:
clearpasswd=<null>, passwd=$1$AB/NGX.0$OX6Nsr4IH/fXTxYG6G122.Oct 25 08:15:43
localhost authdaemond: password matches successfullyOct 25 08:15:43 localhost
authdaemond: Authenticated: sysusername=<null>, sysuserid=5000,
sysgroupid=5000, homedir=/var/spool/asterisk/imap-voicemail/SVM/7001,
address=7001, fullname=<null>,
maildir=/var/spool/asterisk/imap-voicemail/SVM/7001, quota=<null>,
options=<null>Oct 25 08:15:43 localhost authdaemond: Authenticated:
clearpasswd=7001, passwd=$1$AB/NGX.0$OX6Nsr4IH/fXTxYG6G122.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users