Re: doubts about re-compile

2001-01-30 Thread J.J.Gallardo

Jose AP Celestino escribi:

 Yeah, right Alex.

 make
 = stop qmail =
 cp qmail-pop3d /var/qmail/bin
 chown root:qmail /var/qmail/bin/qmail-pop3d
 = start qmail =

Done. All succesfully. Thanks to Jose and Alex Kramarov (also Peter van Dijk)




Re: doubts about re-compile

2001-01-29 Thread Jose AP Celestino

Is qmail-pop3d.c the only file affected by the patch?

If so why don't you cd the qmail source tree, apply the patch and then:

make

and copy the qmail-pop3d to /var/qmail/bin ?

Best regards.

On Mon, Jan 29, 2001 at 04:33:28PM +0100, J.J.Gallardo wrote:
 This is a doubt about the best way to compile again qmail:
 
 I have my system running qmail perfectly, but some days ago i discovered
 that qmail has not the patch that "Scott Moorhouse" re-wrote to solve
 the problem with the "Netscape's download indicator doesn't progress".
 The file involved is "qmail-pop3d.c". I have tried to compile the file
 (alone) with the patch apliayed, but may be the file has some
 dependencies with another files ( I cannot run  "cc or gcc" over the
 file) and so, we have to re-compile all the qmail distribution.
 

-- 
Jose AP Celestino  [EMAIL PROTECTED]  || SAPO / PT Multimedia
Administrao de Sistemas / Operaes || http://www.sapo.pt
--
Only wimps use tape backup: _real_ men just upload their important stuff 
on ftp, and let the rest of the world mirror it ;)
-- Linus Torvalds, about his failing hard drive on linux.cs.helsinki.fi



Re: Re: doubts about re-compile

2001-01-29 Thread Alex Kramarov








  
  


  
from my experience, the easiest way to effectively kill you 
server (for some time, until you solve it) is to do just what is 
proposed by Jose below, and to forget to set the right permissions 
and ownership for the copied file.

---Original 
Message---


From: Jose AP Celestino 
japc@gandalf
Date: Monday, January 
29, 2001 06:45:34 PM
To: J.J.Gallardo 
[EMAIL PROTECTED]
Cc: 
[EMAIL PROTECTED]
Subject: Re: doubts 
about re-compile
Is qmail-pop3d.c the only file affected by the 
patch?If so why don't you cd the qmail source tree, apply 
the patch and then:makeand copy the qmail-pop3d to 
/var/qmail/bin ?Best regards.On Mon, Jan 29, 2001 at 
04:33:28PM +0100, J.J.Gallardo wrote: This is a doubt about 
the best way to compile again qmail:  I have my 
system running qmail perfectly, but some days ago i 
discovered that qmail has not the patch that "Scott 
Moorhouse" re-wrote to solve the problem with the 
"Netscape's download indicator doesn't progress". The file 
involved is "qmail-pop3d.c". I have tried to compile the 
file (alone) with the patch apliayed, but may be the file 
has some dependencies with another files ( I cannot run "cc 
or gcc" over the file) and so, we have to re-compile all the 
qmail distribution. -- Jose AP Celestino 
[EMAIL PROTECTED] || SAPO / PT MultimediaAdministração de 
Sistemas / Operações || 
http://www.sapo.pt--Only 
wimps use tape backup: _real_ men just upload their important stuff 
on ftp, and let the rest of the world mirror it ;)-- Linus 
Torvalds, about his failing hard drive on 
linux.cs.helsinki.fi

  

  
  








	
	
	
	
	
	
	





__IncrediMail - Email has finally 
evolved - Click 
Here



Re: Re: doubts about re-compile

2001-01-29 Thread Jose AP Celestino

Yeah, right Alex.

make
= stop qmail =
cp qmail-pop3d /var/qmail/bin
chown root:qmail /var/qmail/bin/qmail-pop3d
= start qmail =

FIN.

On Mon, Jan 29, 2001 at 06:54:58PM +0200, Alex Kramarov wrote:
 from my experience, the easiest way to effectively kill you server (for some time, 
until you solve the problem) is to do just what is proposed by Jose below, and to 
forget to set the right permissions and ownership for the copied file.
 

-- 
Jose AP Celestino  [EMAIL PROTECTED]  || SAPO / PT Multimedia
Administrao de Sistemas / Operaes || http://www.sapo.pt
--
A mathematician is a device for turning coffee into theorems.
-- P. Erdos



Re: doubts about re-compile

2001-01-29 Thread Peter van Dijk

On Mon, Jan 29, 2001 at 04:33:28PM +0100, J.J.Gallardo wrote:
 This is a doubt about the best way to compile again qmail:
 
 I have my system running qmail perfectly, but some days ago i discovered
 that qmail has not the patch that "Scott Moorhouse" re-wrote to solve
 the problem with the "Netscape's download indicator doesn't progress".
 The file involved is "qmail-pop3d.c". I have tried to compile the file
 (alone) with the patch apliayed, but may be the file has some
 dependencies with another files ( I cannot run  "cc or gcc" over the
 file) and so, we have to re-compile all the qmail distribution.
 
 Can I compile "qmail" in another machine and later move and/or copy only
 /var/qmail/bin/*?
 That's my best option cause only stop the server a minute at the time of
 day i wish, but i would like to know others opinions about this.

You can just
- apply the patch
- 'make'
- copy qmail-pop3d to /var/qmail/bin (you might need to shutdown pop3
  for a second to do so)

qmail-pop3d is the only program affected by this patch.

Greetz, Peter.



Re: doubts about re-compile

2001-01-29 Thread J.J.Gallardo

Jose AP Celestino escribi:

 Is qmail-pop3d.c the only file affected by the patch?

I don't know. Is there a way to know it?

 If so why don't you cd the qmail source tree, apply the patch and then:
 make
 and copy the qmail-pop3d to /var/qmail/bin ?

I hope. Thanks




Re: Doubts

2000-12-04 Thread Markus Stumpf

On Mon, Dec 04, 2000 at 12:05:17PM -0200, Cleiton L. Siqueira wrote:
 I need to access this descriptor, but I don´t know how I can catch
 them.

This is a perl programming problem, not a qmail one.

Check out the section "checkpassword" at http://www.qmail.org/ 
there are examples of perl versions of checkpassword that can be
used as coding examples.

\Maex

-- 
SpaceNet AG   |   http://www.Space.Net/   | Stress is when you wake
Research  Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: Doubts

2000-12-04 Thread Cleiton L. Siqueira

Dear Markus,

I know that, but did you read all the e-mail?
I'd like to know how I can access the descriptors sent by the qmail-popup!
What are these descriptors in POP's USER-PASS style?
And the rest of my doubts are in the first email.

Regards Cleiton



Markus Stumpf gravada:

 On Mon, Dec 04, 2000 at 12:05:17PM -0200, Cleiton L. Siqueira wrote:
  I need to access this descriptor, but I don´t know how I can catch
  them.

 This is a perl programming problem, not a qmail one.

 Check out the section "checkpassword" at http://www.qmail.org/
 there are examples of perl versions of checkpassword that can be
 used as coding examples.

 \Maex

 --
 SpaceNet AG   |   http://www.Space.Net/   | Stress is when you wake
 Research  Development| mailto:[EMAIL PROTECTED] | up screaming and you
 Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
 D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.




Re: Doubts

2000-12-04 Thread Markus Stumpf

On Mon, Dec 04, 2000 at 01:32:16PM -0200, Cleiton L. Siqueira wrote:
 I know that, but did you read all the e-mail?
 I'd like to know how I can access the descriptors sent by the qmail-popup!
 What are these descriptors in POP's USER-PASS style?
 And the rest of my doubts are in the first email.

If you get a connection from inetd/tcpserver you have one FD to read
net input and one FD to write output to the net. These are connected
to 0 and 1 (usually stdin and stdout).
qmail-popup reads from "stdin" (i.e. net-in) a sequence of commands:
USER username
PASS password
or  APOP apop-token
as defined in rfc1939.

It then exec's  "checkpassword"  and provides two additional FDs:
2 and 3. It has to do so, to keep 0 and 1 "unchanged" for read/write to the
network.
FD2 ist identical to FD 1 (ie. write to the network).
On FD 3 it passes USER/PASS/APOP info to checkpassword in the form
   user\0passwd\0apop_token\0

\Maex

-- 
SpaceNet AG   |   http://www.Space.Net/   | Stress is when you wake
Research  Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: Doubts: qmail and IMAP

2000-04-08 Thread Claus Färber

Gilberto Rodrigues [EMAIL PROTECTED] schrieb/wrote:
 1. I'm following the BUILD doc and according to it, I should install the
 pop2d, pop3d and imapd daemons in a system directory of my choosing. Is
 it necessary to install the pop2d and pop3d daemons? What are they for?
 Must all of them be running even if I wanna have only IMAP protocol?

Of course not.

 2. According to the docs, I should update inetd.conf to invoke the
 daemons. I guess I could use tcpserver instead of editing it. Is it
 correct? Does IMAP daemon have to appear before qmail's dameons in init
 scripts?

No, it does not matter: qmail can run without imapd and vice-versa. They  
can even be on different machines (if the maildir is mounted in some way  
on both).

-- 
Claus Andre Faerber http://www.faerber.muc.de
PGP: ID=1024/527CADCD FP=12 20 49 F3 E1 04 9E 9E  25 56 69 A5 C6 A0 C9 DC



Re: Doubts: qmail and IMAP

2000-04-07 Thread Russell P. Sutherland

* Gilberto Rodrigues ([EMAIL PROTECTED]) [ 7 Apr 2000 08:49]:

 I want to use qmail, maildirs and IMAP to config a mail server. I
 installed qmail v1.03, daemontools and ucspi-tcp packages and everything
 is running ok. I downloaded UW-IMAP 4.7b, compiled it, applied David
 Harris patch and build it. Ok, now it's time to install IMAP, but I have
 some doubts (probably they're a little bit basic, but I would be very
 grateful if someone could help me). 

You may also wish to consider Mr. Sam's courier-imap, which works nicely with
Qmail and maildirs:

http://www.inter7.com/courierimap/

[Dave: you could/should perhaps add this URL to the LWQ page in the IMAP
server section]

-- 
Quist ConsultingEmail: [EMAIL PROTECTED]
219 Donlea DriveVoice: +1.416.696.7600
Toronto ON  M4G 2N1 Fax:   +1.416.978.6620
CANADA  WWW:   http://www.quist.on.ca



Re: Doubts: qmail and IMAP

2000-04-07 Thread Dave Sill

Gilberto Rodrigues [EMAIL PROTECTED] wrote:

1. I'm following the BUILD doc and according to it, I should install the
pop2d, pop3d and imapd daemons in a system directory of my choosing. Is
it necessary to install the pop2d and pop3d daemons?

No.

What are they for?

They're POP2 and POP3 server daemons.

Must all of them be running even if I wanna have only IMAP protocol?

No.

2. According to the docs, I should update inetd.conf to invoke the
daemons. I guess I could use tcpserver instead of editing it. Is it
correct?

I'm not sure. I know it runs out of inetd, though.

Does IMAP daemon have to appear before qmail's dameons in init
scripts?

No, it doesn't matter what order you start them.

-Dave