Henry, Oupssss...i forgot to tell you that when i run the binc imap service after having modifyed the log files destination, i didn't try any connection to port 143 ;-))
that's why it was empty.. now, if i try a telnet on port 143, here is what is written to log file : bash-2.05# cd /var/log bash-2.05# ls authlog qmail svscan sysidconfig.log syslog bash-2.05# cd qmail bash-2.05# ls bincimap bincimap-ssl pop3d qmail-send smtpd bash-2.05# cd bincimap bash-2.05# ls current lock state bash-2.05# tail -f current @400000003fa95bce3ac5b144 9456 0 [EMAIL PROTECTED]:] Client connected to Binc IMAP from 127.0.0.1 @400000003fa95c1c31d7162c 9456 1 [EMAIL PROTECTED]:] Authentication failed for <[EMAIL PROTECTED]>, wrong userid or password =================================================================== Here is what i tryed on telnet 143 port : # qmailctl stat /service/qmail-send: up (pid 9311) 15199 seconds /service/qmail-send/log: up (pid 9307) 15199 seconds /service/qmail-smtpd: up (pid 9308) 15199 seconds /service/qmail-smtpd/log: up (pid 9314) 15199 seconds /service/qmail-pop3d: up (pid 9322) 15199 seconds /service/qmail-pop3d/log: up (pid 9315) 15199 seconds /service/imap: up (pid 9318) 15199 seconds /service/imap/log: up (pid 9313) 15199 seconds /service/imaps: up (pid 9324) 15199 seconds /service/imaps/log: up (pid 9312) 15199 seconds messages in queue: 0 messages in queue but not yet preprocessed: 0 # 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-05 21:21:24 CET a001 login [EMAIL PROTECTED] fgilain a001 NO LOGIN failed: Login failed. Either your user name or your password was wrong. Please try again, and if the problem persists, please contact your system administrator. thanks for your help Florent -----Message d'origine----- De : Henry Baragar [mailto:[EMAIL PROTECTED] Envoy� : mercredi 5 novembre 2003 18:27 � : Binc IMAP Objet : RE: [binc] Moving Binc imap server logs ? Back onto the list... This is not good: either /var/service/imap{,s}/log is down (test with "svstat" on the directory) or these are not the log directories in the log/run file. At a minimum, binc logs every connection and disconnection. Regards, Henry ------- Forwarded message ------- From: Florent Gilain <[EMAIL PROTECTED]> To: Henry Baragar <[EMAIL PROTECTED]> Subject: RE: [binc] Moving Binc imap server logs ? Date: Wed, 5 Nov 2003 17:57:11 +0100 > Henry, > > binc is up and running, current log file is empty > > Florent > > -----Message d'origine----- > De : Henry Baragar [mailto:[EMAIL PROTECTED] > Envoy� : mercredi 5 novembre 2003 17:54 > � : Florent Gilain > Objet : Re: [binc] Moving Binc imap server logs ? > > > Florent, > > Your access rights look fine. > > BTW: is binc up and running right now? If so, how come the "current" log > files are empty? > > Regards, > Henry > > On Wed, 5 Nov 2003 17:04:02 +0100, Florent Gilain > <[EMAIL PROTECTED]> wrote: > >> Andreas, >> >> What about accesss rights to theses folders/files ? >> >> here is what i have : >> >> bash-2.05# pwd >> /var/log/qmail >> bash-2.05# ls -rtl >> total 10 >> drwxr-xr-x 2 qmaill other 512 nov 5 15:58 smtpd >> drwxr-xr-x 2 qmaill other 512 nov 5 15:58 pop3d >> drwxr-xr-x 2 root other 512 nov 5 16:56 bincimap-ssl >> drwxr-xr-x 2 root other 512 nov 5 16:56 bincimap >> drwxr-xr-x 2 qmaill nofiles 512 nov 5 17:04 qmail-send >> >> bash-2.05# pwd >> /var/log/qmail/bincimap >> bash-2.05# ls -rtl >> total 0 >> -rw-r--r-- 1 root root 0 nov 5 16:56 state >> -rw------- 1 root root 0 nov 5 16:56 lock >> -rw-r--r-- 1 root root 0 nov 5 16:56 current >> >> bash-2.05# pwd >> /var/log/qmail/bincimap-ssl >> bash-2.05# ls -rtl >> total 0 >> -rwxr-xr-x 1 root other 0 nov 5 16:56 state >> -rwxr-xr-x 1 root other 0 nov 5 16:56 lock >> -rw-r--r-- 1 root other 0 nov 5 16:56 current >> >> Florent >> >> -----Message d'origine----- >> De : Andreas Aardal Hanssen [mailto:[EMAIL PROTECTED] >> Envoye : mercredi 5 novembre 2003 16:34 >> A : Binc IMAP General >> Cc : [EMAIL PROTECTED] >> Objet : Re: [binc] Moving Binc imap server logs ? >> >> >> On Wed, 5 Nov 2003, Florent Gilain wrote: >>> My Goal is to get /var/log/qmail/bincimap and >>> /var/log/qmail/bincimap-ssl >> >> You need to edit these files: >> /etc/opt/bincimap/service/imap/log/run >> /etc/opt/bincimap/service/imaps/log/run >> >> there you will find the paths to the log directories. Change these, then >> restart the log processes with >> >> svc -du /var/service/imap{,s}/log >> >>> + Can you please explain me the goal of each file of this directory >>> please. >>> What are theses files beginning by @ ? >> >> "current" is the current log file. @xxxxx is an archive. The file name >> is >> a timestamp in tai64 format. The program "tai64nlocal" converts this >> format to a human readable format. >> >> All other files are control files used by multilog. >> >> 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." >> >> > > > > -- > Henry Baragar > Principal, Technical Architecture > 416-453-5626 > Instantiated Software Inc. > http://www.instantiated.ca > -- Henry Baragar Principal, Technical Architecture 416-453-5626 Instantiated Software Inc. http://www.instantiated.ca
