[Q] difference between rcpthosts and locals

2001-06-25 Thread YOON, Joo-Yung

Hello,

Can anynone explain me about the difference between
rcpthosts and locals?

I ask this because I can not send emails to me.


-- 
YOON, Joo-Yung / ArBaGo Int'l
KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]



[Q] delivery & log file

2001-06-25 Thread YOON, Joo-Yung

Hello,

I think I am misunderstood in qmail system.

I have a domain of my own which is dynamically dns'ed by a ISP in Korea.
It is "arbago.com".

When I send an email to "[EMAIL PROTECTED]", it is sent from "mutt",
but I can not find it in the world nor in my server.

The log file says the following.
@40003b37f37412cea4d4 starting delivery 15: msg 46607 to local [EMAIL PROTECTED]
m

I did not mean to send it as a local email because "arbago.com" is dynamically
dns'ed outside in the world, not in my PC.

More interesting is when I send an email to a PC in the local net.
There is "jango" host at an internal domain "arirang", which is the server of
the local net.

And I have a user "yjy" at "jango.arirang". ("[EMAIL PROTECTED]")
The log says the following.
@40003b37f3d022e4943c starting delivery 18: msg 46607 to remote [EMAIL PROTECTED]
irang
@40003b37f3d022e4abac status: local 0/10 remote 1/20
@40003b37f3d03401ca14 delivery 18: success: 10.0.0.1_accepted_message./Remot
e_host_said:_250_ok_993522722_qp_25567/

This time it is sent as a remote email, but in truth the host is in the
local network.

I think I am misunderstood a lot on qmail system.

Please help me out.

The control files are as follows.
1. defaultdomain
   bipa.arirang   (a PC in the local network)

2. locals
   bipa.arirang
   kldp.org
   arbago.com
   kornet.net

3. rcpthosts
   same as locals file

4. smtproutes
   jango.arirang:10.0.0.1
   dagem.arirang:10.0.0.10
   bipa.arirang:10.0.0.20

5. me
   arirang   (internal domain/IP address)
 
6. defaultdomain
   arirang

Warm regards,

Joo-Yung



[Q] control files - locals, rcpthosts, me, defaultdelivery

2001-06-22 Thread YOON, Joo-Yung

Hi,

I installed qmail, and can send emails to the world,
and can get emails from an external POP3 mail service at kornet.net.
The email address of mine is [EMAIL PROTECTED], which then relays the emails
to [EMAIL PROTECTED]

I am using a cable modem, so the IP is dynamic.
And I have a domain, arbago.com, and I subscribed to a pay service
of dynamic dns service.

My internal network has 3 PC's, and the IP's are 
10.0.0.1 (jango.arirang, server), 
10.0.0.10 (dagem.arirang), 
and 10.0.0.20 (bipa.arirang). 

The server is run with linux-2.2.19 and debian-2.2 (potato).
I installed the qmail, ucspi-tcp, daemontools following the instructions of lwq.

Now the control files are as follows.

1. locals
 arbago.com
 kldp.org
 kornet.net
 jango.arirang

2. rcpthosts
 arbago.com
 kldp.org
 kornet.net
 jango.arirang

3. defaultdomain
 arbago.com

4. plusdomain
 arbago.com

5. me
 arbago.com

6. defaultdelivery
 ./Maildir/

7. /etc/tcp.smtp
 127.:allow,RELAYCLIENT=""
 10.0.:allow,RELAYCLIENT=""
 :allow


The questions are as follows.

1. I would like to know if the control files are suitable,
   and that if I can receive emails addressed "[EMAIL PROTECTED]".

2. From my server (10.0.0.1), emails to "[EMAIL PROTECTED]" and "[EMAIL PROTECTED]"
   do not work.

3. From other PC (10.0.0.10), emails to "[EMAIL PROTECTED]" works,
   but "[EMAIL PROTECTED]" do not work.

The bounced message at the server is like this.

  Hi. This is the qmail-send program at arbago.com.
  I tried to deliver a bounce message to this address, but the bounce bounced!

  <[EMAIL PROTECTED]>:
  211.169.242.48 does not like recipient.
  Remote host said: 550 mail from 211.240.195.66 rejected: administrative
  prohibition
  Giving up on 211.169.242.48.
   
Please help me to understand the qmail and email system. 

-- 
YOON, Joo-Yung / ArBaGo Int'l
KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]



Re: [Q] CPU usage -- Too busy

2001-06-19 Thread YOON, Joo-Yung

Dear russ,

Thank you for your comment.
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.


On Tue, Jun 19, 2001 at 11:16:59PM -0400, Russell Nelson wrote:
> YOON, Joo-Yung writes:
>  > I just installed qmail, ucspi-tcp, and daemontaols under directions
>  > of lwq.
>  > 
>  > Now the system shows 100% of CPU usage on the window of wmcube (a small
>  > display application in WindowMaker, which shows the CPU rate.)
>  > 
>  > And the load average is also full on the window of wmload (WindowMaker App.).
>  > 
>  > I wonder if supervise takes all the resources, and that is why.
>  > Couldn't it run as quiet as other daemons?
> 
> Look at /service/qmail-smtpd/log/main/current .  I'll bet you that the 
> service is looping because it cannot open port 25 because sendmail is
> still running.  Either that, or look at
> /service/qmail-send/log/main/current to see if qmail is looping
> because a configuration file is missing.
> 
> -- 
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | 
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude 
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



[Q] CPU usage -- Too busy

2001-06-19 Thread YOON, Joo-Yung

I just installed qmail, ucspi-tcp, and daemontaols under directions
of lwq.

Now the system shows 100% of CPU usage on the window of wmcube (a small
display application in WindowMaker, which shows the CPU rate.)

And the load average is also full on the window of wmload (WindowMaker App.).

I wonder if supervise takes all the resources, and that is why.
Couldn't it run as quiet as other daemons?

Joo-Yung



[Q] Supervise

2001-06-19 Thread YOON, Joo-Yung

Hi,

I just installed qmail, daemontools, ucspi-tcp.
Many strange things were cleared with help of qmail lists.
Now ps shows following things.

$ ps ax |grep svscan
  299 ?S  0:00 svscan
 4558 ttyp0S  0:00 grep svscan

$ ps ax |grep qmail 
  315 ?S  0:00 supervise qmail-send
  317 ?S  0:01 supervise qmail-smtpd
  320 ?S  0:00 qmail-send
  321 ?S  0:00 /usr/local/bin/multilog t /var/log/qmail
  322 ?S  0:00 /usr/local/bin/multilog t /var/log/qmail/smtpd
  435 ?S  0:00 qmail-lspawn ./Mailbox
  436 ?S  0:00 qmail-rspawn
  437 ?S  0:00 qmail-clean
 4718 ?S  0:00 supervise qmail-smtpd

$ 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.

Please add your comments and suggestions to this.

Joo-Yung



Re: [Q] qmail and supervise

2001-06-16 Thread YOON, Joo-Yung

Dear Frank,

Thanks for your help.
I deleted all supervise directories, and it seems to work.

Warm regards,

On Sat, Jun 16, 2001 at 04:49:20PM +0200, Frank Tegtmeyer wrote:
> "YOON, Joo-Yung" <[EMAIL PROTECTED]> writes:
> 
> > drwx--3 root root 4096  6¿ù 16 23:16 supervise
> > 
> > (There is another supervise inside the supervise directory.)
> 
> This is left from your previous wrong setup. There are supervise
> directories on overy first level directory now. To remove them:
> 
> /etc/init.d/svscan stop   (check that it really is stopped)
> rm -ri /*/supervise
> /etc/init.d/svscan start
> 
> This should remove the warning messages and clean your system from
> unnecessary supervise directories.
> 
> Regards, Frank

-- 
YOON, Joo-Yung / ArBaGo Int'l
KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]



[Q] qmail and supervise

2001-06-16 Thread YOON, Joo-Yung

Thanks for your help.

I checked the system, and found out that there were 2 places that initiate
svscan.  The one is /etc/inittab, and the other is /etc/init.d/svscan.

Life with Qmail (installation document) misses the point that 
daemontool installs /etc/init.d/svscan and that it requests the readers
to put a commanline in the /etc/inittab.

So I removed the command line in the inittab file.  
And the svscan problem went away.  (Thanks for your hint.)

But I still have another problem unsolved yet.
I booted the system again, and still sees a warning message keep scrolling up.
It is "supervise:fatal:unable to start supervise/run:file does not exist".

The directories related are as follows.
1. /service

# ls -l /service
lrwxrwxrwx1 root root   31  6¿ù 16 18:05 qmail-send -> 
/var/qmail/supervise/qmail-send
lrwxrwxrwx1 root root   32  6¿ù 16 18:05 qmail-smtpd -> 
/var/qmail/supervise/qmail-smtpd
drwx--3 root root 4096  6¿ù 16 23:16 supervise

(There is another supervise inside the supervise directory.)

2. /var/qmail/supervise/qmail-send/supervise

3. /var/qmail/supervise/qmail-smtpd/supervise

And for more information, I grepped the ps.

1. ps ax |grep supervise
  315 ?S  0:00 supervise supervise
  317 ?S  0:00 supervise qmail-send
  318 ?S  0:00 supervise log
  319 ?S  0:01 supervise qmail-smtpd
  320 ?S  0:00 supervise log
 4194 ?S  0:00 supervise qmail-smtpd
 4195 ?S  0:00 supervise supervise

2. ps ax |grep qmail
  317 ?S  0:00 supervise qmail-send
  319 ?S  0:01 supervise qmail-smtpd
  321 ?S  0:00 qmail-send
  323 ?S  0:00 /usr/local/bin/multilog t /var/log/qmail/smtpd
  324 ?S  0:00 /usr/local/bin/multilog t /var/log/qmail
  438 ?S  0:00 qmail-lspawn ./Mailbox
  439 ?S  0:00 qmail-rspawn
  440 ?S  0:00 qmail-clean
 4514 ?S  0:00 supervise qmail-smtpd

Please give me another help.

Warm regards,

On Sat, Jun 16, 2001 at 05:57:03AM -0400, tc lewis wrote:
> 
> it looks like you have svscan running on / and /service instead of just
> /service.  check your /etc/inittab and other init scripts and such and
> make sure that only 1 svscan is running and only on /service.  there are
> also 2 supervise processes running on qmail-smtpd for some reason.  it
> could be related to the above.  since 2 of those are running, 1 of them is
> actually running it (bound on port 25/tcp), and the other one keeps trying
> to start it but fails because it can't bind to that port since the first
> one already has it...
> 
> somewhere to start, at least.
> 
> -tcl.
> 
> 
> On Sat, 16 Jun 2001, YOON, Joo-Yung wrote:
> 
> > I installed qmail in accordance with lwq (dated 13 June 2001).
> > I am gone to chapter 2 Installation, and did not go to chapter 3
> > Configuratin yet.
> >
> > Tried to stop qmail, but it does not stop by saying
> >   qmail-send: no file
> >   qmail-smtp: no file
> >
> > But I have them in /service linked to /var/qmail/supervise.
> >
> > So I restarted the linux box.
> > Then I could stop and start the qmail system.
> >
> > But the log in /var/log/qmail/smtpd/current says
> > @40003b2b26d422cdd01c tcpserver: fatal: unable to bind: address already used
> > @40003b2b26d53b4973bc tcpserver: fatal: unable to bind: address already used
> > @40003b2b26d70196845c tcpserver: fatal: unable to bind: address already used
> > @40003b2b26d80352e22c tcpserver: fatal: unable to bind: address already used
> > @40003b2b26d90504dfbc tcpserver: fatal: unable to bind: address already used
> >
> > and the terminal of the booting still produces junk fatal error messages that
> > I can not read because they scroll up too fast.
> >
> > The environment of my system is
> > linux-2.2.18
> > debian-2.2 (potato)
> > qmail-1.03
> > ucspi-tcp-0.88
> > daemontools-0.70
> >
> > Now the qmail is running, and I attach the ps output for your information.
> >
> > Could you please help me?
> > I will highly appreciate it.
> >
> > Warm regards,
> > --
> > YOON, Joo-Yung / ArBaGo Int'l
> > KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
> > Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]
> >
> 
> 
> 

-- 
YOON, Joo-Yung / ArBaGo Int'l
KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]



[Q] qmail with lwq

2001-06-16 Thread YOON, Joo-Yung

I installed qmail in accordance with lwq (dated 13 June 2001).
I am gone to chapter 2 Installation, and did not go to chapter 3
Configuratin yet.

Tried to stop qmail, but it does not stop by saying
  qmail-send: no file
  qmail-smtp: no file

But I have them in /service linked to /var/qmail/supervise.

So I restarted the linux box.
Then I could stop and start the qmail system.

But the log in /var/log/qmail/smtpd/current says
@40003b2b26d422cdd01c tcpserver: fatal: unable to bind: address already used
@40003b2b26d53b4973bc tcpserver: fatal: unable to bind: address already used
@40003b2b26d70196845c tcpserver: fatal: unable to bind: address already used
@40003b2b26d80352e22c tcpserver: fatal: unable to bind: address already used
@40003b2b26d90504dfbc tcpserver: fatal: unable to bind: address already used

and the terminal of the booting still produces junk fatal error messages that
I can not read because they scroll up too fast.

The environment of my system is
linux-2.2.18
debian-2.2 (potato)
qmail-1.03
ucspi-tcp-0.88
daemontools-0.70

Now the qmail is running, and I attach the ps output for your information.

Could you please help me?
I will highly appreciate it.

Warm regards,
-- 
YOON, Joo-Yung / ArBaGo Int'l
KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]


  PID TTY  STAT   TIME COMMAND
1 ?S  0:06 init
2 ?SW 0:00 [kflushd]
3 ?SW 0:02 [kupdate]
4 ?SW 0:00 [kpiod]
5 ?SW 0:00 [kswapd]
  167 ?S  0:00 /sbin/portmap
  288 ?S  0:00 /sbin/syslogd
  290 ?S  0:00 /sbin/klogd
  305 ?S  0:00 svscan
  321 ?S  0:00 supervise supervise
  323 ?S  0:00 supervise qmail-send
  324 ?S  0:00 supervise log
  325 ?S  0:01 supervise qmail-smtpd
  326 ?S  0:00 supervise log
  328 ?S  0:00 /usr/local/bin/multilog t /var/log/qmail
  330 ?S  0:00 /usr/local/bin/multilog t /var/log/qmail/smtpd
  331 ?S  0:00 /usr/sbin/named
  341 ?S  0:00 /sbin/rpc.statd
  361 ?S  0:00 /usr/sbin/gpm -m /dev/psaux -t ps2
  372 ?S  0:00 /usr/sbin/inetd
  404 ?S  0:00 /usr/sbin/lpd
  425 ?S  0:00 sh /usr/bin/safe_mysqld
  445 ?S  0:00 /usr/sbin/mysqld --pid-file=/var/run/mysqld/mysqld.pid
  453 ?S  0:00 /usr/sbin/mysqld --pid-file=/var/run/mysqld/mysqld.pid
  454 ?S  0:00 /usr/sbin/mysqld --pid-file=/var/run/mysqld/mysqld.pid
  506 ?S  0:00 /usr/bin/X11/xfs-xtt -user nobody
  537 ?S  0:00 python /usr/sbin/zope-z2
  544 ?S  0:02 /usr/bin/python /usr/sbin/zope-z2
  561 ?S  0:00 /usr/sbin/atd
  570 ?S  0:00 /usr/sbin/cron
  590 tty1 S  0:00 /sbin/getty 38400 tty1
  591 tty2 S  0:00 -bash
  592 tty3 S  0:00 /sbin/getty 38400 tty3
  593 tty4 S  0:00 /sbin/getty 38400 tty4
  594 tty5 S  0:00 /sbin/getty 38400 tty5
  595 tty6 S  0:00 /sbin/getty 38400 tty6
  596 ?S  0:00 svscan /service
  597 ?S  0:00 supervise lost+found
  598 ?S  0:00 supervise root
  599 ?S  0:00 supervise boot
  600 ?S  0:00 supervise tmp
  602 ?S  0:00 supervise home
  603 ?S  0:00 supervise lib
  604 ?S  0:00 supervise usr
  605 ?S  0:00 supervise sbin
  606 ?S  0:00 supervise etc
  607 ?S  0:00 supervise var
  608 ?S  0:00 supervise bin
  609 ?S  0:00 supervise dev
  610 ?S  0:00 supervise mnt
  613 ?S  0:00 supervise floppy
  614 ?S  0:00 supervise cdrom
  615 ?S  0:00 supervise initrd
  616 ?S  0:00 supervise .gnome
  617 ?S  0:00 supervise .gnome_private
  618 ?S  0:00 supervise c
  619 ?S  0:00 supervise d
  627 ?S  0:00 supervise e
  628 ?S  0:00 supervise a
  629 ?S  0:00 supervise cd
  630 ?S  0:00 supervise jango
  631 ?S  0:00 supervise dagem
  632 ?S  0:00 supervise service
 2019 tty2 S  0:00 sh /usr/bin/X11/startx -- -bpp 32
 2029 tty2 S  0:00 xinit /usr/X11R6/lib/X11/xinit/xinitrc -- -bpp 32 -auth 
/home/yjy/.Xauthority
 2030 ?S  0:19 X :0 -bpp 32 -auth /home/yjy/.Xauthority
 2158 tty2 S  0:00 /usr/bin/X11/WindowMaker
 2217 ?S  0:00 /usr/bin/ssh-agent sh /home/yjy/.xsession
 2312 tty2 S  0:00 /usr/X11R6/bin/hanterm -ls -bg gray -fg black
 2313 tty2 S  0:00 wmCalClock
 2314 tty2 S  0:42 wmsysmon
 2315 tty2 S  0:00 wmload -withdrawn
 2316 tty2 S  0:00 wmnet
 2317 tty2 S  0:00 /home/yjy/BIN/wmpop
 2318 tty2 S  0:00 wmWeath