Andreas,
Sorry, unable to use your fetch command :
bash-2.05# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Welcome to Binc IMAP v1.2.3 (c) Copyright 2002, 2003 Andreas Aardal
Hanssen at 2003-11-25 16:30:08 CET
a001 login [EMAIL PROTECTED] password
a001 OK LOGIN completed
1 FETCH 1:* (FLAGS ENVELOPE)
* NO The command "FETCH" is not supported.
Here is the content of my 2 configuration files :
/service/imap/run :
#!/bin/sh
# $Id: run.in,v 1.1.1.1 2003/08/18 18:06:05 andreaha Exp $
# daemontools supervise run-file for Binc IMAP Service.
exec 2>&1
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
exec /usr/local/bin/tcpserver -c 100 -u 0 -g 0 \
-l `sed 1q /var/qmail/control/me` -HDRP \
0 143 \
/var/qmail/bin/bincimap-up \
--logtype=multilog \
--conf=/var/qmail/control/bincimap.conf -- \
/export/home/vpopmail/bin/vchkpw \
/var/qmail/bin/bincimapd
/var/qmail/control/bincimap.conf :
Authentication {
allow plain auth in non ssl = "yes",
auth penalty = 4,
disable starttls = "no"
}
Security {
jail path = "/var/qmail/supervise/imap",
jail user = "nobody",
jail group = "nobody"
}
Log {
type = "multilog",
environment ip variable = "TCPREMOTEIP"
}
Mailbox {
depot = "IMAPdir",
type = "Maildir",
path = "Maildir",
auto create inbox = "no",
auto subscribe mailboxes = ".",
umask = "077"
}
Session {
idle timeout = 1860,
auth timeout = 60,
transfer timeout = 1200,
transfer buffer size = 1024
}
SSL {
pem file = "/var/qmail/control/bincimap.pem",
ca file = "",
cipher list = "!ADH:RC4+RSA:HIGH:MEDIUM:LOW:EXP:+SSLv2:+EXP",
verify peer = "no"
}
NB : When i configure my account under outlook to acess my user's emails, it
only shows me a folder nammed "."
Florent
-----Message d'origine-----
De : Andreas Aardal Hanssen [mailto:[EMAIL PROTECTED]
Envoye : mardi 25 novembre 2003 15:14
A : Binc IMAP General
Objet : Re: [binc] I restart from scratch...
Hi, Florent,
On Tue, 25 Nov 2003, Florent Gilain wrote:
>Hi all,
>I now have a full qmail installation : qmail + vpopmail...
>POP3 and SMTP is ok with my virtual domains and virtual users.
If you edit your run files for bincimap (imap/run and imaps/run) and
replace "/bin/checkpassword" with:
/export/home/vpopmail/bin/vchkpw
When users log in, they need to use their full email address as a
username.
>Could you please explain me what i must modify in bincimap.conf file and
run
>file please in order to do this ?
You don't have to modify anything there, it should work right out of the
box.
>What is the syntax to check using a telnet localhost 143 that a user has
>emails and to read it ?
Check the FAQ for how to check if Binc is set up correctly, but log in
with a virtual address instead. Then you can run this command after you
did the SELECT command:
1 FETCH 1:* (FLAGS ENVELOPE)
That will show all messages in the mailbox with flags.
>NB : I don't really understand the "INBOX" keyword that is talked
>everywhere...
On the file system using qmail, the main mailbox in each account is
typically called Maildir/. Other mail systems use /var/spool/mail/<user>,
and so in. But within the IMAP protocol, this mailbox is always referred
to as INBOX (or Inbox or inbox etc).
>NB 2 : My goal is to be able to create new mailboxes still using
>qmailadmin...
That works; I do it myself. :-)
Andy
--
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP | "It is better not to do something
http://www.bincimap.org/ | than to do it poorly."