Re: Is there a better way to log qmail smtp pop3

2001-08-08 Thread Jörgen Persson

On Mon, Aug 06, 2001 at 11:31:29PM +, board master wrote:



Please don't use HTML formatted mail

The archives will tell you more about pop3d than the tcpserver log. The
following article[1], by Bernstein himself, might interest you.

Jörgen
[1] http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/08/msg008
96.html



Re: Manually manipulating serialmail queues

2001-07-19 Thread Jörgen Persson

On Thu, Jul 19, 2001 at 05:22:17PM +0200, Paulo Jan wrote:
[snip]
   So, with that in mind, what are the features that you mention above?
 :-) (I'm afraid that they will turn out to be write a shell script to
 grep the mails in the queue and touch those who come from $BIG_BOSS,
 but oh well...)


That's the way to go! /bin/sh is your friend :)

Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Mon, Jul 02, 2001 at 10:39:43AM -0700, Will Yardley wrote:
 Jörgen Persson wrote:
  
  On Mon, Jul 02, 2001 at 01:25:20AM -0700, Will Yardley wrote:
   i've heard from a couple people that the qmail-send process is
   supposed to take up all the avail cpu when nothing else is using it;
   is that right?
  
  Hardly -- what does the log say?
  
  Jörgen
 well the logs aren't really spitting out any errors; they look like this
 (and a lot of procmail backtraces from various peoples' mail delivery).
 we do have a lot of people using procmail to filter their mail (probably
 about 20 or so out of 40 users) and a bunch of people using spambouncer
 (a bunch of procmail scripts) but the machine itself doesn't have that
 many users, and the load did the same thing when less people were using
 procmail and almost noone was using spambouncer.


Procmail may cause it but I doubt it since your problem concerns 
outgoing mail.

Check your queue -- what does ''/var/qmail/queue/lock'' look like?

Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 01:36:51AM -0700, Will Yardley wrote:
 zugzug# ll
 total 16
 drwxr-x---2 qmailq   qmail4096 Mar 30  2000 ./
 drwxr-x---   11 qmailq   qmail4096 Mar 30  2000 ../
 -rw---1 qmails   qmail   0 Mar 30  2000 sendmutex
 -rw-r--r--1 qmailr   qmail1024 Jul  2 20:05 tcpto
 -rw--w--w-1 qmails   qmail   1 Jul  3 01:20 trigger


Bingo...

trigger ought to be a pipe ''make check'' will fix it -- hopefully. ;)

Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 02:02:31AM -0700, Will Yardley wrote:
 sweet thanks for pointing this out. sorry to be so obtuse, but can
 you explain how it should be?


The server I'm currently on looks like this:

total 12
drwxr-x---2 qmailq   qmail4096 Jul  1  2000 .
drwxr-x---   11 qmailq   qmail4096 Jul  1  2000 ..
-rw---1 qmails   qmail   0 Jul  1  2000 sendmutex
-rw-r--r--1 qmailr   qmail1024 Jun 28 08:13 tcpto
prw--w--w-1 qmails   qmail   0 Jul  3 10:52 trigger


 make check didn't fix it (although it did notice that there was a
 problem).
 
 i also tried:
 make trigger
 
 zugzug# make trigger
 cc   trigger.o   -o trigger
 /usr/lib/crt1.o: In function `_start':
 /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
 trigger.o: In function `trigger_set':
 trigger.o(.text+0x25): undefined reference to `open_read'
 collect2: ld returned 1 exit status
 make: *** [trigger] Error 1



I get the same error myself if I try ''make trigger'' but ''make'' with
the original source works fine under libc 2.2.3 and gcc 2.95.4. Try to 
recompile the entire source.


 so perhaps there's an error with either the source (as i mentioned it's
 from the debian source package for 1.03) or with the library mentioned
 (crt1.0).  the machine is debian / potato (2.2) GNU / Linux


I've been running the binary qmail package to Debian Potato successfully 
on several servers. Though I prefer to compile it myself :)


An alternative solution is:
1) shut down qmail
2) mv trigger /tmp
3) mknod trigger p
4) chown qmails.qmail trigger
5) chmod 644 trigger
6) start qmail

I moved trigger to tmp as a backup if something goes wrong but I'm quite
certain it'll work though.

The CPU problem might remain if the queue inodes are wrong...


A third solution is queue-fix[1] which is mentioned on the ''qmail
home page''[2]. It is supposed to fix the entire queue structure but I
haven't tested that utility myself.


Jörgen
[1] http://www.netmeridian.com/e-huss/queue-fix.tar.gz
[2] http://www.qmail.org/



Re: Extremely slow after move/IP change

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 11:34:58AM +0200, Petter Sundlöf wrote:
  It's DNS problems. The resolver listed in /etc/resolv.conf is
  probably unable to resolve the reverse for your 192.168. IPs.
 
  Greetz, Peter

 But shouldn't I be able to use it within the local network? If not,
 that's just insane.

 How do I go around qmail trying to resolve 192.168's? I do have
 192.168.1.15 in /etc/hosts, with a name...


Are you using tcpserver?? Does it ask for reverse lookups? Shut it off
with -H.

Jörgen



Re: Aliases with -

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 11:50:36AM +0200, Peter Klingeberg wrote:
 
 Is there any special capital like : for dots
 to use - in aliasnames ? (.qmail-user-name-name)
 


Use ''-'' for aliases with ''-'', ie:

if .qmail-user-name-name is located under ~alias it recieves mail 
for user-name-name@domain but if it's located under ~user it will
recieve mail for user-user-name-name@domain.

Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 03:22:43AM -0700, Will Yardley wrote:
 i installed the .deb binary packages (very nervously) and i think that
 has fixed the problem *knocks wood* 
 
 thanks to everyone who responded.  one other little question.  is there
 anywhere else i should check permissions of besides /var/qmail/ ?  i had
 to change the uids and gids of some system users to get the package to
 install, and so i used 'find' to change the permissions to the correct
 user(s) in /var/qmail.  there isn't anywhere else i need to change,
 right?


I don't think so but keep an eye on the queue.
 
 
 has anyone had good luck with these binary packages?
 http://innominate.org/~pape/Debian/ (listed on the main qmail page)?
 aside from installing dot-forward and fastforward which I don't need
 since the system already uses .qmail files and qmail style aliases it
 seemed to work pretty well.


I haven't tried them -- I use Debian's package when I don't compile it
myself :)

Jörgen



Re: Extremely slow after move/IP change

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 06:59:00PM +0700, adi wrote:
 On Tue, Jul 03, 2001 at 11:46:12AM +0200, Jörgen Persson wrote:
   How do I go around qmail trying to resolve 192.168's? I do have
   192.168.1.15 in /etc/hosts, with a name...
 
  Are you using tcpserver?? Does it ask for reverse lookups? Shut it
  off with -H.

 Umm.. this is rather inacurate. qmail doesn't use /etc/hosts, fix your
 dns instead. Or, use tcpserver with '-l0'.

 Regards,

 P.Y. Adi Prasaja



The two options are different but both might be usefull:
  -H to not look up remote host
  -l to not look up local host

Jörgen
--
Don't mix up the senders when you want to call posts inaccurate.
I never mentioned /etc/hosts.



Re: qmail-send cpu and imapd / Maildir

2001-07-02 Thread Jörgen Persson

On Mon, Jul 02, 2001 at 01:25:20AM -0700, Will Yardley wrote:
 i've heard from a couple people that the qmail-send process is
 supposed to take up all the avail cpu when nothing else is using it;
 is that right?

Hardly -- what does the log say?

Jörgen



Re: Qmail Security

2001-06-26 Thread Jörgen Persson

On Tue, Jun 26, 2001 at 09:12:21AM +0700, Suyanta Satria wrote:
 which one is better tcpserver or tcpwrapper ?
 is there anything else is better ?


You can not compare them easily since tcpserver is an internet daemon 
with TCP access control features while Venema's ''TCP Wrapper'' depends 
on an internet daemon.

tcpserver is prefered with qmail.

Jörgen



Re: mailq

2001-06-23 Thread Jörgen Persson

On Fri, Jun 22, 2001 at 10:21:56AM -0400, Russell Nelson wrote:
 Jörgen Persson writes:
   I prefer to make it reach the queuelifetime by touching the relevant
   queue/info file. It will then be bounced after one more delivery
   attempt.
 
 That works, but it would be better if Dan had implemented a destroy
 mail option.  That is, if the queue/info file is too old, the email 
 would be deleted instead of bounced.  It's not too late to implement
 it as a patch now with all the attendant problems.


Sorry for the delay but I've been busy with a Swedish pagan festival
(celebrating midsummer).

The ''destroy mail'' option is a neat idea but I fail to see a valid
need for such a feature. Though I might overlook something crucial since
sleep isn't a vital part of the midsummer activities. I'm quite certain
someone will enlighten me if I'm too wrong...

Jörgen



Re: Why conf-split prime?

2001-06-23 Thread Jörgen Persson

On Fri, Jun 22, 2001 at 12:01:05PM +, Jost Krieger wrote:
 On Thu, Jun 21, 2001 at 02:25:52PM -0400, Russell Nelson wrote:
speed.  However, why should this number be prime, why not have 12 or 16
directories?
  
  Because it's a hash.  If your hash isn't prime, you fill your hash
  buckets unevenly.
 
 I think we are spreading urban legends here.
 
 AFAIK, the primality is for double hashing in conflict resolution.
 Nothing of that kind is going on here.


The only way to minimize collisions is to test the function empirically.

In general the hash function ''f(x)=x mod m'' seems to work well if m
is a prime number and not close to a power of 2. Knuth discussed this
in ''The Art of Computer Programming'' Vol.3: Sorting and Searching
(Addison-Wesley) -- happy reading.

Jörgen



Re: Why conf-split prime?

2001-06-23 Thread Jörgen Persson

On Fri, Jun 22, 2001 at 04:04:27PM -0400, Dave Sill wrote:
 Dave Sill [EMAIL PROTECTED] wrote:
 
 If the input numbers are not fairly random, then a modulo hash is not
 a choice.
 
 Not a *good* choice.
 
 Unix file system inode numbers are not truly random.  Therefore, it's
 wise to choose a prime conf-split.
 
 BTW, I modified my modhash program to read numbers from stdin, fed it
 lists of real, live inode numbers, and guess what? It still makes no
 difference whether you use a prime hash or not.


You'll need local data to write the optimal hash function. The prime
doesn't guarantee anything but it's usually a good compromise for the
general case (see my earlier reply to Krieger).

Jörgen



Re: GHOSTS AND ASSHOLES

2001-06-22 Thread Jörgen Persson

On Fri, Jun 22, 2001 at 06:26:03AM +, [EMAIL PROTECTED] wrote:
 This is in response to your email about the “loss of 
 email ghost.”

[rant]

Why make a public discussion out of this?? A private mail to Socha is
probably more efficient and definitely more polite.

I can understand Socha though. You shouldn't operate a mail service
unless you know a couple of basic things like your operating system and
your shell.

I can't help someone that doesn't know his/her own service -- are they
using inetd, xinetd, tcpserver with daemontools under SysV or BSD? 

Either get the knowledge or buy it. This is the reason why most of my
mail to this list is references to Bernsteins FAQ -- to help people to
find the knowledge. You are truly vulnerable without it.

Jörgen



Re: mailq

2001-06-22 Thread Jörgen Persson

On Fri, Jun 22, 2001 at 03:48:10PM +0800, KIM wrote:
 how can i delete the mail queue in qmail? pls help i really need it.

There are several tools mentioned on ''the qmail home page''[1] but
I prefer to make it reach the queuelifetime by touching the relevant
queue/info file. It will then be bounced after one more delivery
attempt.

Jörgen
[1] http://www.qmail.org/



Re: Error tcp.server

2001-06-21 Thread Jörgen Persson

On Thu, Jun 21, 2001 at 01:00:33PM +0700, eddy wrote:
 Hi, guys . I have a problem ! Suddenly my tcp server stop working. It says
 fatal error cannot bind: address already used

Something else is most probably using the port. You can check if the 
port is used with ''netstat -l''.

Jörgen



Re: mail copies !

2001-06-21 Thread Jörgen Persson

On Thu, Jun 21, 2001 at 12:06:26PM +0530, Qmail wrote:
 hi friends,
 i m new to qmail or any mail server.
 i want to forward mails from one account to multiple accountshow do i do
 it

With .qmail or with a mailing list manager like ezmlm[1].


 what are .qmail files

They are files with delivery instructions.


 secondly i want to know about ~alias and .qmail files where can i get
 detailed help on this.

Take a look in the FAQ[2] and come back to the list with additional 
questions.


Jörgen
[1] http://cr.yp.to/ezmlm.html
[2] http://cr.yp.to/qmail/faq/incominguser.html#mailing-list



Re: tcpserver: fatal: unable to bind: address already used ???

2001-06-21 Thread Jörgen Persson

On Thu, Jun 21, 2001 at 09:44:02PM -0700, A A wrote:
 I found the following line in my /etc/inetd.conf file
 in the section Pop and imap mail services et al
 
 pop-3   stream  tcp nowait  root/usr/sbin/tcpd
 ipop3d
 
 The advice seems to suggest that I should comment out
 this line. I am currently running qmail-pop3d. Is
 commenting out this line the correct way to go? I am
 quite a newbie and don't want to do something stupid
 or comment out something I shouldn't be.


Yes comment out that line, i.e. put a ''#'' in the beginning of the
line and reload inetd. How to reload inetd depends on it's installation
but try ''/etc/init.d/inetd reload''.

Jörgen



Re: [Q] Supervise

2001-06-20 Thread Jörgen Persson

On Wed, Jun 20, 2001 at 09:13:19AM +0900, YOON, Joo-Yung wrote:
 Hi,
 
 I just installed qmail, daemontools, ucspi-tcp.
 Many strange things were cleared with help of qmail lists.
 Now ps shows following things.
[snip]
 $ ps ax |grep supervise
   315 ?S  0:00 supervise qmail-send
   316 ?S  0:00 supervise log
   317 ?S  0:01 supervise qmail-smtpd
   318 ?S  0:00 supervise log
  4888 ?S  0:00 supervise qmail-smtpd
 
 I would like to ask if they show the right installations.
 There should be one supervise qmail-smptd, and supervise log 
 respectively, I think.


There mustn't be more than one supervise for each process. This explains
your mail about CPU usage.

Jörgen



Re: tcpserver: fatal: unable to bind: address already used ???

2001-06-20 Thread Jörgen Persson

On Tue, Jun 19, 2001 at 09:15:50PM -0700, A A wrote:
[snip]
 The line 23359 root  20   0   324  324   264 R   
0  5.1  0.0  65:51 supervise seems to suggest
 something called supervise is taking up most of the
 cpu (5.1%)?


There's most probably two (or more) processes of the same supervise. You
can verify this with ''ps axw | grep supervise''.

Jörgen



Re: Qmail Relaying

2001-06-20 Thread Jörgen Persson

On Wed, Jun 20, 2001 at 12:24:11PM +0700, Eko Yulianto wrote:
 Dear Netter,
 
 I use FreeBSD 4.3
 Qmail 1.03
 Checkpassword
 and tcpserver.
 
 How to make my SMTP cannot access form outside.
 Right now, I use tcpserver 
 
 202.171.1.0,allow,RELAYCLIENT=

A typo???^ 

 
 and I try to relay my SMTP from outside and work.
 How to block it, so only my user can use this SMTP...


It ought to be a '':'' after the adress, i.e.:

  202.171.1.0:allow,RELAYCLIENT=

There's more information about this in Bernsteins FAQ[1].

Jörgen
[1] http://cr.yp.to/qmail/faq/servers.html#authorized-relay



Re: Virtual domain How-to

2001-06-19 Thread Jörgen Persson

On Tue, Jun 19, 2001 at 02:24:47PM +0800, Alex Tsang wrote:
 Do any one have some documents talking about creating virtual domain?


It's described in Bernsteins FAQ[1]

Jörgen
[1] http://cr.yp.to/qmail/faq/incominghost.html#virtual



Re: administrative copy of qmail mails

2001-06-19 Thread Jörgen Persson

On Tue, Jun 19, 2001 at 03:42:55PM +0800, Raymond Hui wrote:
[snip]
   I need to configure the qmail server which can automatically keep a copy
 of in and out mail of some specified address in some domains.
[snip]
   For incoming email, i think it can easily handled by .qmail files.
 However, for outgoing mail. How can i do so...??
[snip]


It's described in Bernsteins FAQ[1].

Jörgen
[1] http://cr.yp.to/qmail/faq/admin.html#copies



Re: automatic forwarding of msgs in folder

2001-06-19 Thread Jörgen Persson

On Tue, Jun 19, 2001 at 11:31:42AM +0200, Massimo Quintini wrote:
 My mail user ([EMAIL PROTECTED]) partecipate in many mailing list...
 
 I want automatically redirect  the msgs in right folder and no in INBOX
 folder (for example the msgs of qmail mailing list MUST go in qmail
 folder, the msgs of sqwebmail in sqwebmail folder..and so on...)
 
 How can I do ??? (Can I use condredirect program with 822mess
 package...but how???)


Either use procmail[1] (or something similar) or use aliases since you
are on qmail (that is the way I do it myself).

For example:
$ echo ./Maildir-qmail/  ~/.qmail-qmail
and change your adress on the qmail list to [EMAIL PROTECTED]

Jörgen
[1] http://www.procmail.org



Re: automatic forwarding of msgs in folder

2001-06-19 Thread Jörgen Persson

On Tue, Jun 19, 2001 at 11:55:35AM +0200, Jörgen Persson wrote:
 For example:
 $ echo ./Maildir-qmail/  ~/.qmail-qmail
 and change your adress on the qmail list to [EMAIL PROTECTED]

Sorry I forgot...
$ maildirmake ~/Maildir-qmail/

Jörgen



Re: Strange SMTPd behaviour

2001-06-19 Thread Jörgen Persson

On Tue, Jun 19, 2001 at 01:53:32PM +0200, Sebastien Monassa wrote:
 I could not find this problem in the FAQ or in
 the mailing list:
 
 SMTPD behaves differently from the inside network
 and from the internet.


You've got some kind of SMTP proxy between the MTA and the internet
(most probably a firewall).

You'r able to disable that ''feature'' with most firewalls. 

Jörgen



Re: Strange SMTPd behaviour

2001-06-19 Thread Jörgen Persson

On Tue, Jun 19, 2001 at 02:39:49PM +0200, Sebastien Monassa wrote:
 Thanks a lot to you all. Disabling the command
 fixed it. I didn't know about that proxying
 feature of the firewall.
 
 I have to check wether it's worth or not leaving
 it enabled. I read in the smtp paper of DJB that
 some smtpd may not send mail to a host refusing
 the VRFY command. Though, I would rather leave
 the firewall do the proxy.
 Any advice ?


I usually don't like such features since there's been problems with them
but on the other hand -- don't fix it if it's not broken.

Jörgen



Re: [Q] CPU usage -- Too busy

2001-06-19 Thread Jörgen Persson

On Wed, Jun 20, 2001 at 12:45:34PM +0900, YOON, Joo-Yung wrote:
 Yes, my 'current' says 
   @40003b301aa6292e9c34 tcpserver: fatal: unable to bind: address 
   already used
   (I got this from /var/log/qmail/smtpd/current.)
 
 I do not understand why it makes this warning because there are no other
 mailers, and there is only one svscan.


There mustn't be more than one supervise for each service. According
to an earlier mail from you there's two processes of ''supervise
qmail-smtpd''. That explains the CPU usage and the log.

Jörgen



Re: Discarding mailer_daemon mail....

2001-06-18 Thread Jörgen Persson

On Mon, Jun 18, 2001 at 03:15:10AM -0500, Greg Moeller wrote:
 Is there any way to discard any Email the mailer daemon generates?
 Each day, the queue on our server builds up between 7000-1 Email
 in the queue that the mailer daemon's trying to return. (All spam, of
 course, the return address being bogus in some way)

Consider the use of rblsmtpd[1] to block incoming spam.


 Or maybe some way to limit the 4 day delivery time to maybe 18-24
 hours. 

Set /var/qmail/control/queuelifetime to control the number of seconds a
message can stay in the queue (default 604800, i.e. a week).

Jörgen
[1] http:/cr.yp.to/ucspi-tcp/rblsmtpd.html



Re: help : qmail-popup3d

2001-06-15 Thread Jörgen Persson

On Fri, Jun 15, 2001 at 01:29:05AM +0100, Carlos Baptista wrote:
 i have a very small problem.. qmail-popup3d stops the connection  
 after 1 minute.   


What does the log say?? The POP mechanism doesn't log too much but you
might find something usefull.

By the way...  it's not often I've seen clients connected to the pop
server for more than 1 minute -- they fetch the mail and disconnect.

Jörgen



Re: help : qmail-popup3d

2001-06-15 Thread Jörgen Persson

On Fri, Jun 15, 2001 at 12:11:24PM +0100, Carlos Baptista wrote:
 well, the logs doesn't say anything useful.
 this problem starts when i came back from my hollidays. i have a
 few dozens mb of mail... it doens't matter the number of messages
 or the size. i tried to retrevieve the mail from my home (cable) or
 in the office (lan) and the result is the same: after 1 minute it's
 disconnect. 
 this are two configurations for starting qmail-popup3d at i have used:

 inetd.conf
 pop3  stream  tcp nowait  root/var/qmail/bin/qmail-popup qmail-popup 
quadriga.pt /bin/checkpasswordnt /var/qmail/bin/qmail-pop3d Mail
 
 tcpserver
 tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup quadriga.pt \
/bin/checkpasswordnt /var/qmail/bin/qmail-pop3d Mail 21 | \
/var/qmail/bin/splogger pop3d 


Concerning tcpserver:
*) checkpasswordnt -- typo??
*) a pipe to splogger?? Have you tried daemontools?? A guess as good as
any is that splogger keeps tcpserver alive until a timeout.

Jörgen





Re: Relay IP address ranges - NEWBIE

2001-06-15 Thread Jörgen Persson

On Fri, Jun 15, 2001 at 12:43:24PM -0500, Stephen Froehlich wrote:
 Config:
 RedHat 7.1
 qmail - 1.0.3
 daemontools-0.70
 dot-forward-0.71
 ucspi-tcp-0.88
 
 I'm having a helluva time figuring out how to allow my local hosts to relay
 mail through the server.  I put the proper line in hosts.allow (per the
 FAQ), however, I'm not familiar enough with xinetd to do the other edit in
 5.4.
 
 In other words, I'm lost - help?


You mentioned both xinetd and ucspi-tcp, which one are you using?? Try:
$ ps axw | tcpserver

If you get an output post it, if not check the xinetd FAQ.

Jörgen



Re: Relay IP address ranges - NEWBIE

2001-06-15 Thread Jörgen Persson

On Fri, Jun 15, 2001 at 03:24:05PM -0500, Technology Strategic Planning, Inc. wrote:
 OK, so both xinetd and tcpserver are running.  I get the feeling that I
 should pull xinetd out of the startup scripts.  How will this effect apache
 and other services (most epically bind)?
 
 I assume the two don't coexist well?  (A logical push-me-pull-you?)


They can coexist but not bind to the same port.

 
 I have two instances of tcp server, both called with the command:
 /usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb -u 502 -g 501 0
 smtp /var/qmail/bin/qmail-smptd


Two identical instances of tcpserver?? one them changing PID all the
time?? There's most probably a problem with your start scripts and
something (svscan?) tries to start it twice.

If you want to control relay check /etc/tcp.smtp and the documentation
for tcprules[1].
 
 
 xinetd is also running (one process).


It's fine unless it doesn't try to bind to the same ports as tcpserver.

Jörgen
[1] http://cr.yp.to/ucspi-tcp/tcprules.html



Re: Long connect times

2001-06-14 Thread Jörgen Persson

On Thu, Jun 14, 2001 at 05:39:06PM +1000, Jon Booth wrote:
 Hi all,
 I am using QMail with xinetd. It takes ages for a PC internally (allowed
 to relay) to connect to the server. Outside servers can connect instantly. 
 Where should I look to diagnose this problem


I'm not familiar with xinetd but it might be configured to do reversed
DNS lookups for incoming connections. It will most probably delay the
connection if it can't do that properly.

By the way, tcpserver[1] is the prefered internet daemon for qmail.


Jörgen

[1] http://cr.yp.to/ucspi-tcp.html



Re: Long connect times

2001-06-14 Thread Jörgen Persson

On Thu, Jun 14, 2001 at 06:15:17PM +1000, Jon Booth wrote:
 That would make sense. How can I stop it from doing reverse lookups? Its
 not practical from me to set up reverse DNS for these internal IPs.


I've got no clue how to do that with xinetd but it's use with qmail is
mentioned in their FAQ[1].

Jörgen
[1] http://www.xinetd.org/faq.html



 
 Thanks
 Jon
 
 On Thu, 14 Jun 2001, [iso-8859-1] Jörgen Persson wrote:
 
  On Thu, Jun 14, 2001 at 05:39:06PM +1000, Jon Booth wrote:
   Hi all,
   I am using QMail with xinetd. It takes ages for a PC internally (allowed
   to relay) to connect to the server. Outside servers can connect instantly. 
   Where should I look to diagnose this problem
  
  
  I'm not familiar with xinetd but it might be configured to do reversed
  DNS lookups for incoming connections. It will most probably delay the
  connection if it can't do that properly.
  
  By the way, tcpserver[1] is the prefered internet daemon for qmail.
  
  
  Jörgen
  
  [1] http://cr.yp.to/ucspi-tcp.html
  
 



Re: bad gid being passed?

2001-06-13 Thread Jörgen Persson

On Tue, Jun 12, 2001 at 12:56:02PM -0700, Amanda wrote:
 I'm seeing a rather bizarre problem with qmail, or perhaps the
 interaction between qmail and Mailman.
[2nip]
 Any ideas on how to fix this problem would be greatly appreciated.


Don't install your mailing list manager unless you know for certain that
the mail transfer agent is working properly.

By the way, ezmlm[1] is the prefered mailing list manager with qmail.

Jörgen
[1] http://cr.yp.to/ezmlm.html



Re: process status list - I'm clueless

2001-06-13 Thread Jörgen Persson

On Tue, Jun 12, 2001 at 12:07:46PM -0700, Drew Hawn wrote:
 Here's the output of ps -ax | grep qmail:
 
   607 ?S  0:00 supervise qmail-send
   609 ?S  0:00 supervise qmail-smtpd
   613 ?S  0:00 qmail-send
   614 ?S  0:00 /usr/local/bin/multilog t s250
 /var/log/qmail/qma
   615 ?S  0:00 /usr/local/bin/multilog t s250
 /var/log/qmail/qma
   619 ?S  0:00 qmail-lspawn |dot-forward .forward?|preline
 /usr/bin/
   620 ?S  0:00 qmail-rspawn
   621 ?S  0:00 qmail-clean
 
 +
 
 Don't the first two lines tell me that supervise is trying to start
 qmail-send and qmail-smtp?


No, they are telling you that qmail-send and qmail-smtpd are supervised.


 Line 3 says qmail-send is running, but I have nothing that tells me that
 qmail-smtp is running. 


Well... qmail-smtpd is only running when there's an incoming mail
through SMTP.


 I am unable to send messages out. This was working previously and now
 it's not.


What does the log say?


 Why do I have two log lines?  


Because you are logging something. I can't tell what from that output 
(try ps -axw).


 
 The qmail How-To says, You should see several tasks running, at the very
 least qmail-send, and some supervise processes, but doesn't give any detail
 on exactly what should show up.  


The output you sent seems fine.

Jörgen



Re: qmail-remote (cry wolf?)

2001-06-08 Thread Jörgen Persson

On Thu, Jun 07, 2001 at 10:43:27PM +0300, Mike Jackson wrote:
  What are the probabilities of the Sendmail server being the one causing
 the problems? What if the mail admin of mg.hk5.outblaze.com has used
 some sort of patch that is causing qmail-remote's to hang?

Which means it might be exploitable as a DoS... 

There's been similar problems with mail.com (hosted by outblaze) as
well. I still haven't been able to manually connect to any of their
servers. It seems as they are under heavy load according to an apology
at their home page.

Jörgen



Re: Qmail-remote stopped up?

2001-06-07 Thread Jörgen Persson

Sorry for the delay (family occasion).


On Wed, Jun 06, 2001 at 10:46:11AM -0400, Troy Settle wrote:
 RAM is also fine.  Out of 256MB, I generally have 20-30mb free

Aaah...not the amount but the quality. Have you _tested_ the RAM?


 Anything else worth looking at?

I assume you managed to read the stucked messages in the queue since you
didn't mention it...

I've seen weird problems with firewalls using a ''SMTP proxy'' instead
of filtering the packets. Maybe you or the recipients are using one of
those?? You can easily check it by connecting manually.

Jörgen



Re: qmail-remote hangs

2001-06-07 Thread Jörgen Persson

On Thu, Jun 07, 2001 at 09:38:50AM -0400, Yevgeniy Miretskiy wrote:
 Hello,
 
 I encountered very veird problem with qmail-remote hanging
 indefinitelly (for over 2 weeks).  Here are the details:
 
 qmail-remote stays in ESTABLESHED state forever.
 strace show that qmail-remote hangs doing: 'read(3,'


There is an ongoing thread on the subject... You might be able to help
each other.


 Most of hanged qmail remote are trying to deliver to outblaze.com
 (or to domains using outblaze.com mail servers, s.a. mail.com)


I tried to connect to mail.com manually but didn't succeed...

Jörgen



qmail-remote (cry wolf?)

2001-06-07 Thread Jörgen Persson

Sorry, but I'm not all comfortable with this...

There's been 4 similar reports of qmail-remote not behaving properly to
this list during the last month. 

http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg00558.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg01332.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00283.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00426.html

We still haven't been able to help any of them...

This doesn't look like a coincidence to me since two of the reports
concerned the same recipient server (outblaze.com). Unfortunately it
seems related to network programming, which I know very little about.

Any other thoughts about this?

Jörgen



Re: How to make a qmail hub relay ?

2001-06-06 Thread Jörgen Persson

On Wed, Jun 06, 2001 at 01:25:36PM +0200, NICOLAS Jean-Michel (@ HoME) wrote:
 I search in archive's list but I didn't find how to make a qmail hub 
 relay. Anybody can elp me how to make a hub.
 I want my qmail server to receive mail for a lot domain (know domain 
 :) ) and to redirect to different mail server (foreign mail server).

The archives might not explain it but the FAQ[1] does.

Jörgen
[1] http://cr.yp.to/qmail/faq.html



Re: pop server

2001-06-06 Thread Jörgen Persson

On Wed, Jun 06, 2001 at 10:43:55AM -0300, GARGIULO Eduardo INGDESI wrote:
 is there any pop server for qmail better than qpopper 4.0?

A pop3d daemon comes with qmail. The FAQ[1] describes how to install it.

Jörgen

[1] http://cr.yp.to/qmail/faq.html



Re: Multiple Location

2001-06-06 Thread Jörgen Persson

On Wed, Jun 06, 2001 at 09:19:24PM +0800, Lye On Siong Johnny wrote:
 Hi,
 
 I can't really think of a good subject, so i just name it that way.
 
 I have the follow scenario. Assuming my office is separate into 10 
 different locations,
 with about 50 staff in each location. Is that anyway whereby I can 
 configure a mail server or
 something equivalent at each location such that the machine will know which 
 are the local user, and
 send it to the local machine, and if not, they will send it out. This is to 
 reduce the amount of out-going traffic


Yes it is possible and the FAQ[1] describes how to do it.

Jörgen

[1] http://cr.yp.to/qmail/faq.html



Re: SSL

2001-06-05 Thread Jörgen Persson

On Wed, Jun 06, 2001 at 01:05:14PM +1000, SeanW wrote:
 Can qmail handle passing pop password via SSL ?

Yes...look for a patch at http://www.qmail.org/

Jörgen



Re: Qmail-remote stopped up?

2001-06-05 Thread Jörgen Persson

On Tue, Jun 05, 2001 at 09:15:30PM -0400, Troy Settle wrote:
 For the last several months, I've been having some severe problems with
 qmail-remote.  I've rebuilt from fresh sources and updated my system
 (FreeBSD 4.2-STABLE) several times.  Nothing seems to help.  You can see
 what I'm seeing at http://home.psknet.com/troy/qmail-remote.txt.


I've never seen anything like it...

What does the logs say?
Have you checked your hardware??

Jörgen



Re: qmail-pop3d

2001-05-31 Thread Jörgen Persson

On Thu, May 31, 2001 at 06:19:22AM -, Deen wrote:
 Hi.
 
 I am new in qmail. Can anyone help me ?
 
 Problem: I could not access my email dir using Outlook Express (OE) 
 via pop3 port. (110)
 
 I have installed and configured qmail smtpd successfully. I (or 
 anyone else) can send and received e-mail locally and remotely. No 
 problemo. I run qmail under tcpserver.
 
 I also tried to run its /var/qmail/bin/qmail-pop3d using xinetd. 
 Below is my configuration:-

tcpserver is a replacement for inetd, xinetd  CO. Which means you
shouldn't run both tcpserver and xinetd. Choose one of them and things
will probably work much better -- I recommend tcpserver.

Jörgen



Re: qmail-pop3d - thanks

2001-05-31 Thread Jörgen Persson

On Thu, May 31, 2001 at 08:11:19AM -, Deen wrote:
 Hi Arjen van Drie, J=F6rgen_Perss
 
 Thanks to both of you. I have used the tcpserver instead. However, I 
 am still not satisfied. (no offence to both of you).
 
 Last time, when I was using sendmail, I used aliases as forwarding, 
 so that I do not have to create home dir for each pop users.

Forwarding mail has nothing to do with pop3d nor with tcpserver. Anyway, 
there are many ways to forward mail under qmail. Take a look at
fastforward[1], it might be what you are looking for.

Jörgen

[1] http://cr.yp.to/fastforward.html



Re: list got quite

2001-05-26 Thread Jörgen Persson

On Fri, May 25, 2001 at 02:41:05PM -0500, Bruno Wolff III wrote:
 On Fri, May 25, 2001 at 08:01:05AM +0200,
   Jörgen Persson [EMAIL PROTECTED] wrote:
  On Thu, May 24, 2001 at 04:48:44PM -0700, Graham H. wrote:
   Wasn't just you.  It seemed qmail was down.
  
  It was an electrical upgrade according to http://cr.yp.to/
 
 If you get the messages of changes to the crypto web site, you get to
 see an update when DJB adds the event description to his web page.
 You won't get this until his machine is back up, but in this case I
 knew not to expect any list messages for about a day.

Well... Sill gave you a hint and by the way -- DJB's web server was down
for less than an hour :)

Jörgen



Re: list got quite

2001-05-24 Thread Jörgen Persson

On Thu, May 24, 2001 at 04:48:44PM -0700, Graham H. wrote:
 Wasn't just you.  It seemed qmail was down.

It was an electrical upgrade according to http://cr.yp.to/

Jörgen



Re: slow server (qmail + imap + tcpserver)

2001-05-23 Thread Jörgen Persson

On Wed, May 23, 2001 at 01:33:18PM +0200, MERCHE TOMAS wrote:
   we have an imap server with qmail and tcpserver. We've been looking for 
 an answer for months, but we cannot find where is the problem. The 
 tcpserver concurrency is 500. We're only 60 users. Sometimes, when there 
 are about 40 users connected to the server it becomes so slow that 
 nobody can access to their folders. When the number of connections goes 
 down then every thing goes ok again. I don't know if the problem is with 
 qmail, tcpserver or imap, but i think that it's with imap. If any of you 
 can give me an idea..

It's most probably the imap server -- try asking them...
By the way, which imap server is it??

Jörgen



Re: [Fwd: Re: slow server (qmail + imap + tcpserver)]

2001-05-23 Thread Jörgen Persson

On Wed, May 23, 2001 at 04:04:06PM +0200, MERCHE TOMAS wrote:
 
 
 
 On Wed, May 23, 2001 at 01:33:18PM +0200, MERCHE TOMAS wrote:
  we have an imap server with qmail and tcpserver. We've been looking for
   an answer for months, but we cannot find where is the problem. The
   tcpserver concurrency is 500. We're only 60 users. Sometimes, when there
   are about 40 users connected to the server it becomes so slow that
   nobody can access to their folders. When the number of connections goes
   down then every thing goes ok again. I don't know if the problem is with
   qmail, tcpserver or imap, but i think that it's with imap. If any of you
   can give me an idea..
 
 It's most probably the imap server -- try asking them...
 By the way, which imap server is it??
 
 Jörgen
 
 
 
 IMAP4rev1 2000.283rh


No idea... look in the changelog for the latest version (2000c Final) or
ask their mailing list[1].

Jörgen

[1] http://www.washington.edu/imap/imap-list.html



tai64nlocal make error under GNU libc6 2.2.2

2001-04-23 Thread Jörgen Persson

List,
I don't know how well know this is but I couldn't find anything about it
in the archives.

tai64nlocal.c doesn't compile under GNU libc6 2.2.2 due to 

  #include sys/time.h

It's included since tai64nlocal wants localtime but there's some libc
changes (bug or feature?) since 2.2.1 which explains the error.


Replacing the preprocessor with

  #include time.h
  
seems to do the trick :)

Jörgen



Re: ISP

2001-03-28 Thread Jörgen Persson

On Tue, Mar 27, 2001 at 11:23:26PM +0200, NICOLAS Jean-Michel (@ HoME) wrote:
[snip]
 I'm looking for information about BSMTP (hosting mail domain and
 deliver mail to dialup server).

 Where can I find information (example/configuration) ?

serialmail by Bernstein might do the trick...

Jörgen



Re: Rewriting domain name on outbound messages

2001-03-28 Thread Jörgen Persson

On Wed, Mar 28, 2001 at 12:59:24PM -0500, [EMAIL PROTECTED] wrote:
[snip]
 Right now, if I have server1.internal_lan.com,
 server2.internal_lan.com, and server3.internal_lan.com (all
 still running sendmail at this point), and I tell them to
 use my qmail server as their relay, messages go out as
 [EMAIL PROTECTED], [EMAIL PROTECTED],
 [EMAIL PROTECTED]. I need them to be
 [EMAIL PROTECTED], otherwise our clients will not be able to
 respond (and in some cases may even reject the message as spam).
[snip]

That kind of data is added by qmail-inject which is not activated by
relay. Tell the internal servers to do the masquerade.

Jrgen



Re: no mailbox here(#5.1.1)

2001-03-21 Thread Jörgen Persson

On Wed, Mar 21, 2001 at 11:19:09AM -0200, Massimo Quintini wrote:
 
 My QMAIL sends notification "Sorry, no mailbox here by that name.
 (#5.1.1)"  to the sender for any unknown user in my domain.
 
 I WANT THESE MESSAGES IN A MAILBOX (e.g. postmaster)...HOW ???
[snip]

let me rephrase you
 I want these messages in a mailbox (e.g. postmaster)...how ???

Aaah... much better

  # echo postmaster  ~alias/.qmail-default

Jrgen



Re: delete msg in queue

2001-03-21 Thread Jörgen Persson

On Wed, Mar 21, 2001 at 11:22:37AM -0200, Massimo Quintini wrote:
 With the cmd  qmail-qstat (or qmail-qread) I see the msg in the queue.
 .
 How  can I delete msg in queue (because the recipient is incorrect!!!)
 ???
[snip]

You can find the following hint at www.qmail.org:

  touch -d '1 week ago' on its queue/info file

Jörgen



Re: no mailbox here(#5.1.1)

2001-03-21 Thread Jörgen Persson

On Wed, Mar 21, 2001 at 05:21:57PM +0530, Shirish Bhagwat wrote:
 Hi, what if my .qmail-default already contains following line
 =-=-=
 | fastforward -d /etc/aliases.cdb
 =-=-=
 
 Can I still add it there?

depends on the needs -- don't fix it if it's not broken.
Jörgen



 
 - shirish
 
 Jörgen Persson wrote:
 
  On Wed, Mar 21, 2001 at 11:19:09AM -0200, Massimo Quintini wrote:
  
   My QMAIL sends notification "Sorry, no mailbox here by that name.
   (#5.1.1)"  to the sender for any unknown user in my domain.
  
   I WANT THESE MESSAGES IN A MAILBOX (e.g. postmaster)...HOW ???
  [snip]
 
  let me rephrase you
   I want these messages in a mailbox (e.g. postmaster)...how ???
 
  Aaah... much better
 
# echo postmaster  ~alias/.qmail-default
 
  Jörgen
 



Re: no mailbox here(#5.1.1) - don't works!

2001-03-21 Thread Jörgen Persson

On Wed, Mar 21, 2001 at 01:10:31PM -0200, Massimo Quintini wrote:
 Don't works!!!
 
 1) in ~alias/.qmail-default I had 1 line with |fastforward 
 2) I have added a line with [EMAIL PROTECTED]
 3) I have sent a msg from hotmail to mydomain
 
 ... but it dont works 


How do you know?? What does the logs say (tm)?? 
Jörgen



 
 I must re-start qmail 
 
 thanks. Massimo
 
 
 Shirish Bhagwat wrote:
 
  Hi, what if my .qmail-default already contains following line
  =-=-=
  | fastforward -d /etc/aliases.cdb
  =-=-=
 
  Can I still add it there?
 
  - shirish
 
  Jörgen Persson wrote:
 
   On Wed, Mar 21, 2001 at 11:19:09AM -0200, Massimo Quintini wrote:
   
My QMAIL sends notification "Sorry, no mailbox here by that name.
(#5.1.1)"  to the sender for any unknown user in my domain.
   
I WANT THESE MESSAGES IN A MAILBOX (e.g. postmaster)...HOW ???
   [snip]
  
   let me rephrase you
I want these messages in a mailbox (e.g. postmaster)...how ???
  
   Aaah... much better
  
 # echo postmaster  ~alias/.qmail-default
  
   Jörgen
 
 --
 ==
 MASSIMO QUINTINI - Osservatorio Astronomico Collurania Teramo (O.A.C.T.) =
 Via Mentore Maggini s.n.c. - 64100 TERAMO (Italy)=
 Tel:39-0861.210490  Fax:39-0861.210492  http://www.te.astro.it   =
 ==
 
 
 



Re: multiple checkpassword routines

2001-03-20 Thread Jörgen Persson

On Mon, Mar 19, 2001 at 04:08:41PM -0500, Peter Green wrote:
 I have some domains in vpopmail and some in vmailmgr, both of which need to
 do POP. Before I go requesting another IP address, is there a checkpassword
 dropin that actually executes an arbitrary number of other checkpassword
 dropins and, finding one that works, executes the rest of the command line?
 
 Does that make sense? Thanks for the help,

Shouldn't a simple shell script as a wrapper do the trick?? Starting
tcpserver something like:

tcpserver 0 pop3 qmail-popup myhost.invalid \
mycheckpasswd qmail-pop3d Maildir

Jörgen



Re: newbie: migrating from sendmail to qmail

2001-03-20 Thread Jörgen Persson

On Tue, Mar 20, 2001 at 10:52:24AM +0100, - = k o l i s k o = - wrote:
 Hi all!
 
 I red that qmail is better than sendmail.=20
 
 This is the reason why migrate to qmail.
 Problem is, that i am using sendmail on my server where is more then =
 1500 active users
 and I would like easy migrate to qmail .. without any problem. So I am =
 looking=20
 for best introduction (documentation) how to migrate from sendmail to =
 qmail.
 
 Please could you help me?
[snip]

Take a look at Bernstein's FAQ at http://cr.yp.to/qmail/faq.html

Jörgen



Re: multiple checkpassword routines

2001-03-20 Thread Jörgen Persson

On Tue, Mar 20, 2001 at 06:26:35AM -0500, Peter Green wrote:
[snip]
 Sure, but the mycheckpasswd part is hanging me up. Specifically, writing to
 the numbered FDs is hanging me up, and I didn't have a lot of time to figure
 this out, so I was hoping something already existed.
 
 If anyone could whip up the important bits (the IO redirection and the
 execution string), I could easily figure out the rest. And I'd be extremely
 grateful. :-)
 
 Thanks,

Sorry for the delay but I'm at work... Well, here's some help with the 
file descriptors, I tested the following successfully under bash-2.03.

# checkpassword echo $? 3 /tmp/dummypwd
0
# od -c /tmp/dummypwd
000   d   u   m   m   y  \0   d   u   m   m   y   d   u   m   m   y
020  \0   9   8   5   0   9   3   2   3   9 004

Check out http://cr.yp.to/checkpwd/interface.html

G'luck
Jörgen



Re: multiple checkpassword routines

2001-03-20 Thread Jörgen Persson

On Tue, Mar 20, 2001 at 03:27:07PM +0100, Jörgen Persson wrote:
[snip]
 # checkpassword echo $? 3 /tmp/dummypwd
 0
[snip]

I realized $? is misleading since it's the previous error code. Change
it to ''pwd'' or whatever:

# checkpassword pwd 3 /tmp/dummypwd 
/home/dummy
# echo $?
0
# checkpassword pwd 3 /tmp/badpwd
# echo $?
1

Jörgen



Re: multiple checkpassword routines

2001-03-20 Thread Jörgen Persson

On Tue, Mar 20, 2001 at 12:36:13PM -0500, Peter Green wrote:
[snip]
   #!/bin/bash2
 
   # check vmailmgr first; save the environment
   # /tmp/scr just executes /usr/bin/id
   ENVIRON = $(/usr/bin/checkvpw /tmp/scr Maildir/)
   rc=$?
   if [ $rc -ne 0 ]; then
   # failed; try vpopmail
   ENVIRON = $(/usr/local/vpopmail/bin/vchkpw /tmp/scr Maildir/)
   rc=$?
   if [ $rc -ne 0 ]; then
   # failed all
   echo "-ERR Authorization failed"
   exit $rc
   else
   export $ENVIRON
   exec qmail-pop3d "$@"
   fi
   else
   export $ENVIRON
   exec qmail-pop3d "$MAILDIR"
   fi
 
 It mostly works, since all child processes inherit FD 3 properly. However,
 if the first method fails, it cannot try the second method, since FD 3 has
 already hit EOF; how can I rewind this from bash? Also, if it succeeds, the
 exec line simply does not work; the error is always ``-ERR this user has no
 $HOME/Maildir''. I have double-checked the environment with
 ``env/tmp/debug'' after the export call, and home get set properly.
[snip]

You can rewind by saving FD3 to an ordinary file. Try this example:

#! /bin/sh
exec 03
cat/tmp/pwd

exec 3/tmp/pwd
checkpassword qmail-pop3d Maildir

exec 3/tmp/pwd
checkpassword qmail-pop3d Maildir

I don't know if you mind the file /tmp/pwd or if it is possible to get
rid of it at all but pop is insecure anyway -- don't forget to create a
unique file instead (and to remove it after the session).

I had the same problem with $HOME/Maildir when I started qmail-pop3d by
itself...

This example isn't all good since qmail-pop3d terminates directly :)

Jrgen



Re: system-aliases not found

2001-03-17 Thread Jörgen Persson

On Sat, Mar 17, 2001 at 02:18:43AM -0800, Eric Pretorious wrote:
[snip]
 It doesn't seem to matter what I put in alias/.qmail-root - The messages 
 just come back with the error:
   [EMAIL PROTECTED]:
   Sorry, no mailbox herre by that name. (#5.1.1)

Finally -- the error message was for root and not for eric...

There's probably nothing wrong with eric's mailbox but qmail cannot find
a way to deliver mail to root (which happens to be an alias to eric).

Do you have a /var/qmail/users/assign and does it say anything about
root?? Do you need qmail-users (I use it primarily for NFS)??

Check file permissions.

Have you tried if other aliases (eg ~.alias/.qmail-postmaster) work??

Jörgen



Re: system-aliases not found

2001-03-16 Thread Jörgen Persson

On Fri, Mar 16, 2001 at 01:05:33AM -0800, Eric Pretorious wrote:
[snip]
 I don't understand. The Mailbox file in /home/eric receives messages for the 
 user 'eric'. The system-alias file /var/qmail/alias/.qmail-root contains 
 'eric'. Mail messages bound for [EMAIL PROTECTED] should go directly to 
 [EMAIL PROTECTED] - Shouldn't they?
[snip]


True

You gave us a snippet from the log earlier:
/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"

Was that for root or eric??

Jörgen



Re: pop3

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 01:55:08PM +0200, richard morris wrote:
 Hi all,
 
 our server lost power, after it came up, it accepts smtp, but when
 checking mail, it connects but then the server terminates the
 connection (it's as if the pop service isn't running)? the logs don't
 show anything either.

 Thanks, Richard.

Is qmail-pop3d running?? What internet daemon (tcpserver, inetd or
xinted are the most common ones) are you using and is it running? How do
you start the service?? What happens if you try to start it by hand?

Jörgen



Re: Repeated Identical Messages

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 03:09:24PM -, Steve Crowder wrote:
 Hi All
 
 I have a situation where emails sent to accounts on our qmail 1.03 server
 randomly get regenerated so that multiple copies of the same identical email
 are resent several times. The number repeated can range from a few to
 several hundred and there seems to be no set pattern as to the time cycle
 between each mail. The original mails have been sent from a variety of
 different servers and platforms - MS and Unix.
[snip]

Missing 250 after successfull DATA during the SMTP conservation??

It's not mail-1.traffic.co.uk is it?? It doesn't look like a qmail
server... It's hard for us to take a look at the server unless we know
which one it is :)

Jörgen



Re: Repeated Identical Messages

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 10:30:07AM -0500, dan kelley wrote:
 
 i'm having the exact same problem:
 
 mailhost.otec.com
[snip]

well... mailhost.otec.com and mx2.otec.com doesn't look like qmail
servers -- are they behind some service??

qmail implements help for SMTP but it's unimplemented on your server.

Jörgen



Re: username logging

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 11:20:02AM -0500, Kurth Bemis wrote:
 last week i think that there was a discussion about how to get tcpserver to 
 log usernames from pop3d.  I can't find the message anywhere.  does anyone 
 have the information on how to log the usernames with pop3d?

On Thu, 01 Mar 2001 Shinya was good enough to inform me about this post
by Bernstein himself:

http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/08/msg00896.html

Jörgen



Re: system-aliases not found

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 11:12:47PM -0800, Eric Pretorious wrote:
 I've created the system-aliases (/var/qmail/alias/):
 
 -re-r--r-- 1 root root .qmail-root
 -re-r--r-- 1 root root .qmail-postmaster
 -re-r--r-- 1 root root .qmail-MAILER-DAEMON
 
 Each has the same contenets: the username 'eric' but qmail doesn't forward 
 the messages to the $HOME/Mailbox in /home/eric.
 
 /var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"
 
 Any thoughts?
 
 Eric P.
 Los Gatos, CA


Well... isn't that obvious -- qmail doesn't see any mailbox :) How did
you tell qmail to deliver the mail? What does the ''qmail-lspawn''
process look like??

Jörgen



Re: listing subscribed users

2001-03-14 Thread Jörgen Persson

On Wed, Mar 14, 2001 at 02:04:59PM -0300, Giuliano Vilardo wrote:
[snip]
 I have a list called BIGLIST inside its directory I have lots of other
 directories that contains these subscribers users, what Im ask you
 guys if there is a way to list all these users all at once.
[snip]

What program is managing the list?? A guess as good as any is ''ezmlm''
and then the solution ought to look something like this:

# ezmlm-list ~alias/BIGLIST

By the way, you'll get better answers if you direct your questions to
relevant mailing lists.

Jrgen



Re: another port as 25

2001-03-14 Thread Jörgen Persson

On Wed, Mar 14, 2001 at 06:24:27PM +0100, Gustav-Martin Olsen wrote:
 Hello,
 
 how can i say qmail, for the normally SMTP(Port 25) use an different
 Port (e.g. 800)?

qmail doesn't listen to port 25 but depends on an external program like
inetd, xinetd or tcpserver. We must know which one you are using before
we can help you.

Jörgen



Re: another port as 25

2001-03-14 Thread Jörgen Persson

On Wed, Mar 14, 2001 at 09:22:23PM +0100, Gustav-Martin Olsen wrote:
 Hello,
 
 thanks anybody for the help. I use the daemontools and tcpserver,
 my run script looks like this:
 exec /usr/local/bin/softlimit -m 1000 /usr/local/bin/tcpserver -Q -H -R
 -v \
 -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21
 
 I've read the manual page, but i'm not sure, what entry i must change (the
 smtp in 800 ?)
 
 Can anybody write an example?
[snip]


change the word ''smtp'' into 800, that is:

exec /usr/local/bin/softlimit -m 1000 \
/usr/local/bin/tcpserver -Q -H -R -v -u $QMAILDUID -g $NOFILESGID 0 800 \
/var/qmail/bin/qmail-smtpd 21

Jrgen



Re: Edit error messages

2001-03-14 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 07:11:05AM +0100, Mike  A. Sauvain wrote:
 hello all, it haves some possibilitis to change the error messages?
 
 would be great because my users ditn really understand gibberish
 informations ;=)

You have to do some ''search  replace'' in the source code.

Jörgen



Re: How to convert old mail data ?

2001-03-14 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 01:50:18PM +0700, ONE wrote:
 Hi, all
 
 How to convert old mail data of sendmail in mbx format to format
 Maildir of qmail?

 thank you 
 Mr.ONE

You'll find several usefull scripts at http://www.qmail.org

Jörgen



Re: Qmail Errors in Log Files

2001-03-14 Thread Jörgen Persson

On Wed, Mar 14, 2001 at 10:56:04PM -0800, Randy Jordan wrote:
 my qmail logs have thousands of these errors   
 
 "40003ab04bb822ed854c tcpserver: fatal: unable to bind: address
 already used"

 I see hundreds of people with this same error and the same answers
 seem to always pop up"make sure something else is not using the
 port, or make sure sendmail is not running" i do not have sendmail
 running, when i telnet to localhost 25 i see this

 "Trying 127.0.0.1... Connected to localhost.localdomain. Escape
 character is '^]'. 220 mail.mydomain.com ESMTP"

 There has got to be a way to fix this there is just to many people
 with the same problem.

 Thanks Randy Jordan

How do you start tcpserver?? There are most probably several tcpservers
trying to run on port 25.

Jörgen



Re: How to prevent smtp from accepting blank From: field

2001-03-14 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 02:08:47AM +0530, Manvendra Bhangui wrote:
[snip]
 Any suggestions on preventing blank mail from: being given during smtp
 dialogue?


You don't want to do that, to quote rfc821

quote
 One way to prevent loops in error reporting is to specify a null
 reverse-path in the MAIL command of a notification message. When such
 a message is relayed it is permissible to leave the reverse-path null.
 A MAIL command with a null reverse-path appears as follows:
 
 MAIL FROM:
/quote


I know nothing of no sex dwarfs, my users knows how to hunt them down :)

Jörgen



Re: logrotate

2001-03-13 Thread Jörgen Persson

On Tue, Mar 13, 2001 at 11:51:14PM -, Neil Grant wrote:
 I use debian and I have always had mailx installed due to logrotate
 depending on it. So with new security holes in mailx I was wondering
 what it did and whether qmail-inject or something could do it instead
 (maybe with a wrapper)?


You'll need a wrapper since mailx is a MUA and qmail-inject is part of a 
MTA.

The most easy way is to apply the Debian security fixes by adding the 
following line to /etc/apt/source.list

  deb http://security.debian.org stable/updates main contrib non-free


Let us keep the qmail list noise as low as possible. Please send a mail
directly to me if you need more help.

Jörgen



Re: no shell for qmail user (qmails, qmaill,...)

2001-03-07 Thread Jörgen Persson

On Wed, Mar 07, 2001 at 09:47:14AM +0100, Peter van Dijk wrote:
 On Wed, Mar 07, 2001 at 09:41:29AM -0200, MassimoQuintini wrote:
  For security reason, can I disable shell in /etc/passwd for qmail
  users (qmails, qmaill, ...ect,) setting the shell to /bin/false  ?

yes

 
 /bin/false is a very silly idea. /nonexistent is much better.

interesting -- why??

Jrgen



logging alternatives to qmail-pop3d and checkpassword

2001-03-01 Thread Jörgen Persson

Can someone help me to find logging alternatives to qmail-pop3d and
checkpassword?

Jrgen



Re: Alias

2001-02-07 Thread Jörgen Persson

On Wed, Feb 07, 2001 at 11:00:08PM +1100, Dennis wrote:
 Stupid question but I'll ask it anyway...
 
 I have an email account setup as "[EMAIL PROTECTED]"
 
 If I want to alias "[EMAIL PROTECTED]" to "[EMAIL PROTECTED]" do I just
 add a .qmail-john to the users ~homedir ?
 
 Dennis
 

  echo [EMAIL PROTECTED]  ~alias/.qmail-john

Jrgen



Re: How to delelte the mail in the queue?

2001-02-04 Thread Jörgen Persson

On Thu, Feb 04, 1999 at 04:33:52PM +0800, lyndon wrote:
 all,
 
 I have a problem. I find there are some mail in the queue.
 I want to delete them, How to do it?

There are utilities for this but I prefer to change the time for the
relevant file under /var/qmail/queue/info/ with 

$ touch -d '1 week ago' 

Jrgen
--
btw -- speaking of time, welcome to the new millennium :)



Re: qmail on Mac OSX?

2000-11-17 Thread Jörgen Persson

Sorry for the delay but I had to do some digging to find the
file.

Enjoy

On Thu, Nov 09, 2000 at 08:08:02AM +0100, Jörgen Persson wrote:
 On Wed, Nov 08, 2000 at 02:31:04PM -0800, Matt Harrington wrote:
[snip]
  I hear that some people had success with OSX-Server, but I don't see why
  OSX (non-server) would be any different with respect to a program like
  qmail.
 
 I've managed to compile qmail under MacOSX-server and from what I
 remember I had some similar problems. I don't know it all by
 heart since it was about 18 months ago :) but I think I still
 have some notes about it. I'll mail it to the list later on
 today.

-- 
Jörgen Persson


A short howto install Qmail-1.03 under Mac OS X (G.M 1.1).

You still have to read and follow the README
except for obivous changes.

 1) Go to the source

 2) After reading INSTALL.ids, add the users and the groups
through the graphical application "Network Manager".

 3) Edit the file conf-ld, change
   cc -s
into
   cc

 4) Run "make setup check"

 5) ./load qmail-pop3d will cause some errors.

 6) Type the command manually and add strerr_sys.o and error_str.o
to the end, ie
   ./load qmail-pop3d commands.o case.a timeoutread.o \
   timeoutwrite.o maildir.o prioq.o now.o env.a strerr.a sig.a \
   open.a getln.a stralloc.a alloc.a substdio.a error.a str.a \
   fs.a  `cat socket.lib` strerr_sys.o error_str.o

 7) Run "make setup check" again

 8) Done

 9) Put the startup scripts in /etc/rc.common or /etc/startup

10) You can strip the binaries afterwards
   strip /var/qmail/bin/*



Re: qmail on Mac OSX?

2000-11-08 Thread Jörgen Persson

On Wed, Nov 08, 2000 at 02:31:04PM -0800, Matt Harrington wrote:
 Has anyone successfully installed qmail on Mac OSX public beta?  i get
 this far:
 
 auto-str.c: In function `main':
 auto-str.c:15: warning: return type of `main' is not `int'
 ./load auto-str substdio.a error.a str.a 
 /usr/bin/ld: can't use -s with input files containg indirect symbols
 (output file must contain at least global symbols, for maximum stripping
 use -x)
 make: *** [auto-str] Error 1
 
 I can't say that I know what an indirect symbol is.  Any ideas? 
 
 I hear that some people had success with OSX-Server, but I don't see why
 OSX (non-server) would be any different with respect to a program like
 qmail.

I've managed to compile qmail under MacOSX-server and from what I
remember I had some similar problems. I don't know it all by
heart since it was about 18 months ago :) but I think I still
have some notes about it. I'll mail it to the list later on
today.

-- 
Jörgen Persson



Re: qmail-list fork? (was: [sic] people are definately starting to harvest emailadresses on th is list...)

2000-11-02 Thread Jörgen Persson

I hardly read the list nowdays due to the noise. I agree - there's
a need for a fork.

--
Jörgen



On Tue, Oct 31, 2000 at 07:37:13AM +0100, Magnus Bodin wrote:
 On Sun, Oct 29, 2000 at 02:08:14AM +0200, Felix von Leitner wrote:
  PS: If anyone is interested in a mailing list about technical qmail
  issues, please tell me.  I am considering starting a qmail mailing list
  where Outlook users can subscribe in the first place and were emails
  from people who can't quote are rejected.  Then we could stop wasting
  time with whining lusers who couldn't even install qmail themselves if
  their life depended on it and discuss some issues.
 
 
 There is definitively a need for a mailinglist fork to qmail-users and
 qmail-developers.
 
 
 /magnus
 
 --
 http://x42.com/
 
  



Re: SIGHUP to qmail

2000-06-03 Thread Jörgen Persson

On Sun, Jun 04, 2000 at 08:05:42AM +0300, Judy Simon wrote:
 Hi again,
 
 thanks very much to all who responded to my previous question, but it 
 raised another. When you all said to send a SIGHUP to qmail. i tried 
 to look up the command in my linux boox and couldn't find it. what 
 does the command line look like? i didn't find any man pages either...
[snip]

SIGHUP is the hangup signal and it's an option to kill :)

$kill -s HUP [PID]  % PID is probably the process id for 
% qmail-send, but I'm not certain since I 
% haven't read your previous question.

-- 
Jörgen Persson



Re: I can't resolve problem with ISP and PPP

2000-05-29 Thread Jörgen Persson

On Mon, May 29, 2000 at 01:13:09PM +0200, Sinisa Malesevic wrote:
 I cant resolve my problem then I must  try to describe my configuration.
 
 We have a LAN with 9 workstation (all windows 95/98/NT) and  on one PC
 is DNS with Windows NT 4.0 . Our ISP is eunet.yu (mail servers are
 relay.eunet.yu (SMTP) and solair.eunet.yu (POP)) and we connect with
 dial up. Our local domen is named infor.co.yu.

[snip]

 # /usr/local/bin/mailsirsmtp /var/qmail/alias/pppdir alias-ppp-
 solair.eunet.yu MyIP 
  ^^^

maildirsmtp wants your ISP's SMTP - that is:
# /usr/local/bin/mailsirsmtp /var/qmail/alias/pppdir alias-ppp- relay.eunet.yu MyIP

[snip]
 How I automate process for sending and receive messages
[snip]

PPP usually gives you that ability. On my system (Linux 
Debian, Potato) I'll find the main script at /etc/ppp/ip-up and
the 'subscripts' under /etc/ppp/ip-up.d/

-- 
Jörgen Persson



Re: How I can send messages to my ISP - NEW PROBLEM

2000-05-27 Thread Jörgen Persson

On Sat, May 27, 2000 at 02:10:57PM +0200, Sinisa Malesevic wrote:
 I try to send mail out with "maildirsmtp ~alias/pppdir alias-ppp-
 194.247.192.52 MyIP"  , but I get this:
  
 " unable to connect to  194.247.192.52 on port 25: host unreachable"
[snip]

Well you cannot reach your outgoing mailserver (194.247.192.52)
and neither can I... Check the adress and then check with your 
ISP (there's often a webpage concerning accidental interrupts).

This might not be the problem since I don't know if I'm supposed
to be able to reach your mailserver at all.

-- 
Jörgen Persson



Re: How I can send messages to my ISP - NEW PROBLEM

2000-05-27 Thread Jörgen Persson

There is a list dedicated to the serialmail package from which
you'll probably get better (and more polite) answers.

Subscribe by mailing [EMAIL PROTECTED]

I believe it's a network problem and not a qmail problem.



On Sat, May 27, 2000 at 02:10:57PM +0200, Sinisa Malesevic wrote:
 I try to send mail out with "maildirsmtp ~alias/pppdir alias-ppp-
 194.247.192.52 MyIP"  , but I get this:
  
 " unable to connect to  194.247.192.52 on port 25: host unreachable"
  
 I get MyIP with ifconfig command  (PPP link)
  
 What is wrong?
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  
  

-- 
Jörgen Persson



Re: Could my problems be Mandrake 7 security settings?

2000-05-23 Thread Jörgen Persson

James, 
I know nothing about Mandrake but it sounds as a cron job is
running 'checksecurity' - look for suitable documentation or 
start messing with /etc/checksecurity.conf

Mutex - resource locking routines?

On Tue, May 23, 2000 at 02:46:51AM -0700, James wrote:
 At 12:00 each night, my installation of Mandrake 7.02 makes a security
 check on all things.  Sometimes it automatically changes ownership of
 files that it thinks are vulnerable or dangerous.  Tonight at 12:00 it
 changed all my "Group Unowned Files" to "nogroup" and suddenly I get the
 error 
 
 "alert: cannot start: unable to access queue directory"
 
 when I try to run the qmail rc file.
 
 So I manually make the directory accessible, then try to run ./rc again
 (from /var/qmail) and get this error:
 
 "alert: cannot start: unable to open mutex"
 
 Am I going to have to reinstall Mandrake with the lowest security setting
 to keep it from meddling in my qmail settings?  What the heck is "mutex?"
 
 james

-- 
Jörgen Persson



Stochastic silence from Maildirsmtp

2000-05-16 Thread Jörgen Persson

Qmail list,
I'm using qmail in conjuction with serialmail and invokes
maildirsmtp through the ppp-script.

Everything works great mostly but sometimes... Well here's the 
main structure of the script

if queue  PPP
  modify headers
  echo 'flushing queue' | splogger maildirsmtp
  maildirsmtp ~alias/pppdir alias-ppp- $ISP $hostname 21 | \
splogger maildirsmtp
  echo 'queue flushed' | splogger maildirsmtp
fi

Once in a while the queue remains and the logs reads:
May 16 16:27:05 seven maildirsmtp: 958487225.187118 flushing queue
May 16 16:27:05 seven maildirsmtp: 958487225.879180 queue flushed

Problems while executing maildirsmtp shows in the log but there 
is nothing to trace at this occasions - any ideas?

-- 
Jörgen Persson



Re: Stochastic silence from Maildirsmtp

2000-05-16 Thread Jörgen Persson

On Wed, May 17, 2000 at 07:03:39AM +0200, clemensF wrote:
  J=F6rgen Persson (Tue 16.0500-17:20):
  maildirsmtp through the ppp-script.

 please, what is maildirsmtp?
[snip]

maildirsmtp is part of the serialmail package (by Dan Bernstein) 
and it sends a maildir through SMTP.

All outgoing mail on my machine goes directly to a local maildir 
(using a virtual domain). I'm flushing that maildir when PPP goes 
up with maildirsmtp and the mail sends through my ISP.

Look at the serialmail homepage for more info.

One alternative is to keep outgoing mail in the ordinary queue
and signal qmail-send ALRM when PPP goes up.

-- 
Jörgen Persson



probs. compiling

1999-05-25 Thread Jörgen Persson

Hi
I tried to compile Qmail-1.03 under Mac OS X and there was some
problems. Unfortunately I'm no cc-guru, maybe some of you are.

During "make setup check" I was told

[lot of output]
./compile auto-str.c
./load auto-str substdio.a error str.a
/usr/bin/ld: can't use -s with input files containing indirect symbols
(output file must contain at least global symbols, for maximum stripping
use -x)
make: *** [auto-str] Error 1

Any idea?

From the manual for the GNU linker
-s   Omits all symbol information from the output file.
-x   Delete all local symbols

From the manual for the Apple linker
-s   Completely strip the output; that is, remove the symbol table and
relocation information.
-x   Strips the non-global symbols; only saves external symbols.

I'm attatching the entire output from the "make" and the manual for the
Apple linker.

-- 
Jörgen Persson
Sysadmin, Teknologkåren vid LTH

( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
)  auto-ccld.sh
cat auto-ccld.sh make-load.sh  make-load
chmod 755 make-load
cat auto-ccld.sh find-systype.sh  find-systype
chmod 755 find-systype
./find-systype  systype
( cat warn-auto.sh; ./make-load "`cat systype`" )  load
chmod 755 load
cat auto-ccld.sh make-compile.sh  make-compile
chmod 755 make-compile
( cat warn-auto.sh; ./make-compile "`cat systype`" )  \
compile
chmod 755 compile
( ( ./compile tryvfork.c  ./load tryvfork ) /dev/null \
21 \
 cat fork.h2 || cat fork.h1 )  fork.h
rm -f tryvfork.o tryvfork
./compile qmail-local.c
./compile qmail.c
./compile quote.c
./compile now.c
./compile gfrom.c
./compile myctime.c
./compile slurpclose.c
cat auto-ccld.sh make-makelib.sh  make-makelib
chmod 755 make-makelib
( cat warn-auto.sh; ./make-makelib "`cat systype`" )  \
makelib
chmod 755 makelib
./compile case_diffb.c
./compile case_diffs.c
./compile case_lowerb.c
./compile case_lowers.c
./compile case_starts.c
./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \
case_lowers.o case_starts.o
./compile getln.c
./compile getln2.c
./makelib getln.a getln.o getln2.o
./compile subgetopt.c
./compile sgetopt.c
./makelib getopt.a subgetopt.o sgetopt.o
./compile sig_alarm.c
( ( ./compile trysgprm.c  ./load trysgprm ) /dev/null \
21 \
 echo \#define HASSIGPROCMASK 1 || exit 0 )  hassgprm.h
rm -f trysgprm.o trysgprm
./compile sig_block.c
( ( ./compile trysgact.c  ./load trysgact ) /dev/null \
21 \
 echo \#define HASSIGACTION 1 || exit 0 )  hassgact.h
rm -f trysgact.o trysgact
./compile sig_catch.c
./compile sig_pause.c
./compile sig_pipe.c
./compile sig_child.c
./compile sig_hup.c
./compile sig_term.c
./compile sig_bug.c
./compile sig_misc.c
./makelib sig.a sig_alarm.o sig_block.o sig_catch.o \
sig_pause.o sig_pipe.o sig_child.o sig_hup.o sig_term.o \
sig_bug.o sig_misc.o
./compile open_append.c
./compile open_excl.c
./compile open_read.c
./compile open_trunc.c
./compile open_write.c
./makelib open.a open_append.o open_excl.o open_read.o \
open_trunc.o open_write.o
./compile seek_cur.c
./compile seek_end.c
./compile seek_set.c
./compile seek_trunc.c
./makelib seek.a seek_cur.o seek_end.o seek_set.o \
seek_trunc.o
( ( ./compile tryflock.c  ./load tryflock ) /dev/null \
21 \
 echo \#define HASFLOCK 1 || exit 0 )  hasflock.h
rm -f tryflock.o tryflock
./compile lock_ex.c
./compile lock_exnb.c
./compile lock_un.c
./makelib lock.a lock_ex.o lock_exnb.o lock_un.o
./compile fd_copy.c
./compile fd_move.c
./makelib fd.a fd_copy.o fd_move.o
( ( ./compile trywaitp.c  ./load trywaitp ) /dev/null \
21 \
 echo \#define HASWAITPID 1 || exit 0 )  haswaitp.h
rm -f trywaitp.o trywaitp
./compile wait_pid.c
./compile wait_nohang.c
./makelib wait.a wait_pid.o wait_nohang.o
./compile env.c
./compile envread.c
./makelib env.a env.o envread.o
./compile stralloc_eady.c
./compile stralloc_pend.c
./compile stralloc_copy.c
./compile stralloc_opys.c
./compile stralloc_opyb.c
./compile stralloc_cat.c
./compile stralloc_cats.c
./compile stralloc_catb.c
./compile stralloc_arts.c
./makelib stralloc.a stralloc_eady.o stralloc_pend.o \
stralloc_copy.o stralloc_opys.o stralloc_opyb.o \
stralloc_cat.o stralloc_cats.o stralloc_catb.o \
stralloc_arts.o
./compile alloc.c
./compile alloc_re.c
./makelib alloc.a alloc.o alloc_re.o
./compile strerr_sys.c
./compile strerr_die.c
./makelib strerr.a strerr_sys.o strerr_die.o
./compile substdio.c
./compile substdi.c
./compile substdo.c
./compile subfderr.c
./compile subfdout.c
./compile subfdouts.c
./compile subfdin.c
./compile subfdins.c
./compile substdio_copy.c
./makelib substdio.a substdio.o substdi.o substdo.o \
subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o \
substdio_copy.o
./compile error.c
./compile error_str.c
./compile error_temp.c
./makelib error.a error.o error_str.o error_temp.o
./compile str_len.c
./compile str_diff.c
./compile str_diffn.c
./compile str_cpy.c
./compile str_chr.c
./compile str_rchr.c
./compile str_start.c
./compile byte_chr.c
./compile byte_rchr.c
./c