Is qmail's log method inefficient?

1999-05-18 Thread Balazs Nagy
Hi, I read Qmail's documentation again and I realized that DJB didn't mention logging other than qmail-send. Is logging obsolete? I don't think so. But why other (smtpd, qmtpd, but most importantly pop3d) services lack the support of logging? IMHO the technology behind qmail logging is wrong.

Re: Is qmail's log method inefficient?

1999-05-19 Thread Tommi Virtanen
On Tue, May 18, 1999 at 04:29:07PM +0200, Balazs Nagy wrote: > > If you run under tcpserver it's no problem to log to stderr. Everthing > > you print to stderr will appear in tcpserver's logfile. In fact I'm > > implementing that right now for qmail-smptd and qmail-pop3d. > Yeah, but you *should*

Re: Is qmail's log method inefficient?

1999-05-19 Thread Anand Buddhdev
On Wed, May 19, 1999 at 06:27:45PM +0300, Tommi Virtanen wrote: > What about djb's errorsto? If you made the pop3d etc > log to stderr, running them under tcpserver is trivial. > Couldn't they be made to work under inetd with errorsto? > > Basically it's just >

Re: Is qmail's log method inefficient?

1999-05-20 Thread Jos Backus
On Thu, May 20, 1999 at 07:53:48AM +0300, Anand Buddhdev wrote: > errorsto is supposed to write to a file. splogger is not a file. I don't > think the above will work. fifo's are your friend. ... errorsto /my/fifo ... fifo /my/fifo | splogger -- Jos Backus _/ _/_/_/

Re: Is qmail's log method inefficient?

1999-05-22 Thread Balazs Nagy
On Thu, 20 May 1999, Jos Backus wrote: > fifo's are your friend. > > ... errorsto /my/fifo ... > > fifo /my/fifo | splogger I didn't try it out on other platforms (UnixWare 7.1 will be done), but on Linux errorsto didn't work after fifo generated the named pipe. Apparently because of waiting

Re: Is qmail's log method inefficient?

1999-05-23 Thread Jos Backus
On Sun, May 23, 1999 at 04:45:26PM +0200, Balazs Nagy wrote: > Oh, I'm sorry. It doesn't work if I stopped fifo and wanted to use errorsto > again ;) errorsto will block when there's no reader on the other side of the fifo (if that's what you mean ;) -- Jos Backus _/ _

Re: Is qmail's log method inefficient?

1999-05-24 Thread Balazs Nagy
On Sun, 23 May 1999, Jos Backus wrote: > On Sat, May 22, 1999 at 08:53:42PM +0200, Balazs Nagy wrote: > > I didn't try it out on other platforms (UnixWare 7.1 will be done), but > > on Linux errorsto didn't work after fifo generated the named pipe. > > Apparently because of waiting for the fifo

Re: Is qmail's log method inefficient?

1999-05-24 Thread Jos Backus
On Sat, May 22, 1999 at 08:53:42PM +0200, Balazs Nagy wrote: > I didn't try it out on other platforms (UnixWare 7.1 will be done), but on > Linux errorsto didn't work after fifo generated the named pipe. Apparently > because of waiting for the fifo process to poll out the log info. jos:/tmp% una

Re: Is qmail's log method inefficient?

1999-05-18 Thread Andre Oppermann
Balazs Nagy wrote: > > Hi, > > I read Qmail's documentation again and I realized that DJB didn't mention > logging other than qmail-send. Is logging obsolete? I don't think so. But > why other (smtpd, qmtpd, but most importantly pop3d) services lack the > support of logging? > > IMHO the tech

Re: Is qmail's log method inefficient?

1999-05-18 Thread Russell Nelson
Balazs Nagy writes: > IMHO the technology behind qmail logging is wrong. These inetd-controlled > services cannot use stderr for logging (as tcpserver), and none of DJB's > software use syslog. Therefore no logging is applied to these softwares. That's why you don't use inetd. Inetd is stupi

Re: Is qmail's log method inefficient?

1999-05-18 Thread Balazs Nagy
On Tue, 18 May 1999, Andre Oppermann wrote: > Balazs Nagy wrote: > > > > I see two solutions. The first one is not likely to be realized: use > > syslog. The another one is much better. My idea is the same as in > > qmail-start: tcpserver should open a file descriptor for piping through a > >

Re: Is qmail's log method inefficient?

1999-05-18 Thread Balazs Nagy
On Tue, 18 May 1999, Andre Oppermann wrote: > Feel free to roll your own patch which send's all it's stuff to syslog. Well, I think if I hack syslog support into qmail, it won't be qmail anymore as DJB said before. > Anyway, who cares about inetd? Anyone who don't want to install ucspi-tcp. Y

Re: Is qmail's log method inefficient?

1999-05-18 Thread Andre Oppermann
Balazs Nagy wrote: > > On Tue, 18 May 1999, Andre Oppermann wrote: > > > Balazs Nagy wrote: > > > > > > I see two solutions. The first one is not likely to be realized: use > > > syslog. The another one is much better. My idea is the same as in > > > qmail-start: tcpserver should open a file

Re: Is qmail's log method inefficient?

1999-05-18 Thread Fred Lindberg
On Tue, 18 May 1999 17:35:09 +0200 (CEST), Balazs Nagy wrote: >Anyone who don't want to install ucspi-tcp. You cannot say 'qmail-smtpd is >not inetd conform' because it's not true. This is a bigger issue than >patching qmail - you cannot sell a qmail-solution without move a step back >and check

Re: Is qmail's log method inefficient?

1999-05-18 Thread Balazs Nagy
On Tue, 18 May 1999, Fred Lindberg wrote: > On Tue, 18 May 1999 17:35:09 +0200 (CEST), Balazs Nagy wrote: > > >Anyone who don't want to install ucspi-tcp. You cannot say 'qmail-smtpd is > >not inetd conform' because it's not true. This is a bigger issue than > >patching qmail - you cannot sell

Re: Is qmail's log method inefficient?

1999-05-18 Thread Vince Vielhaber
On 18-May-99 Balazs Nagy wrote: > On Tue, 18 May 1999, Fred Lindberg wrote: > >> On Tue, 18 May 1999 17:35:09 +0200 (CEST), Balazs Nagy wrote: >> >> >Anyone who don't want to install ucspi-tcp. You cannot say 'qmail-smtpd is >> >not inetd conform' because it's not true. This is a bigger issue

Re: Is qmail's log method inefficient?

1999-05-18 Thread Balazs Nagy
On Tue, 18 May 1999, Vince Vielhaber wrote: > Actually it extends into a support issue as well. There are regular issues > that come up with inetd and tcpwrappers and a few other things and switching > to tcpserver solves all of them and in a more robust fashion. So in this > case it really i

Re: Is qmail's log method inefficient?

1999-05-18 Thread Vince Vielhaber
On 18-May-99 Balazs Nagy wrote: > On Tue, 18 May 1999, Vince Vielhaber wrote: > >> Actually it extends into a support issue as well. There are regular issues >> that come up with inetd and tcpwrappers and a few other things and switching >> to tcpserver solves all of them and in a more robust

Re: Is qmail's log method inefficient?

1999-05-18 Thread Balazs Nagy
On Tue, 18 May 1999, Vince Vielhaber wrote: > Not in this one: ftp://koobera.math.uic.edu/www/qmail/faq.html Well, I don't check that faq requlary. I use the /var/qmail/doc/FAQ. > Support was dropped for inetd configurations a few months ago. Excusez moi, but you meant 'support was dropped *

Re: Is qmail's log method inefficient?

1999-05-18 Thread Vince Vielhaber
On 18-May-99 Balazs Nagy wrote: > On Tue, 18 May 1999, Vince Vielhaber wrote: > >> Not in this one: ftp://koobera.math.uic.edu/www/qmail/faq.html > > Well, I don't check that faq requlary. I use the /var/qmail/doc/FAQ. > >> Support was dropped for inetd configurations a few months ago. > >

Re: Is qmail's log method inefficient?

1999-05-18 Thread Magnus Bodin
On Tue, 18 May 1999, Vince Vielhaber wrote: > On 18-May-99 Balazs Nagy wrote: > > On Tue, 18 May 1999, Vince Vielhaber wrote: > > > >> Not in this one: ftp://koobera.math.uic.edu/www/qmail/faq.html > > > > Well, I don't check that faq requlary. I use the /var/qmail/doc/FAQ. > > > >> Support w

Re: Is qmail's log method inefficient?

1999-05-19 Thread Vince Vielhaber
On Wed, 19 May 1999, Magnus Bodin wrote: > On Tue, 18 May 1999, Vince Vielhaber wrote: > > On 18-May-99 Balazs Nagy wrote: > > > On Tue, 18 May 1999, Vince Vielhaber wrote: > > > > > >> Not in this one: ftp://koobera.math.uic.edu/www/qmail/faq.html > > > > > > Well, I don't check that faq requ

Re: Is qmail's log method inefficient?

1999-05-19 Thread Balazs Nagy
On Wed, 19 May 1999, Vince Vielhaber wrote: > I'll repeat myself only once more. Go back and check the mail archives. I checked the archives last night and just now. Dan didn't mention anything about stopping the support of inetd. Iam sorry, but I don't belive in others, anything they say. --

Re: Is qmail's log method inefficient?

1999-05-19 Thread Philip Hands
Andre Oppermann <[EMAIL PROTECTED]> writes: > Feel free to roll your own patch which send's all it's stuff to syslog. No need if you use tcpd in inetd: In /etc/inetd.conf have something like this: smtpstream tcp nowait.200 qmaild /usr/sbin/tcpd smtp and then in /etc/hosts.allow,