Re: Qmail newbie question

2001-03-20 Thread Noah Sematimba

Well have you tried to start tcpserver anyway?

On Mon, 19 Mar 2001, Johnson, Garrett wrote:

 Please forgive my ignorance. I'm trying to learn.
 
 I have set up a secondary Qmail server on RedHat 7.0 and it 
 seems to have come up without a problem, but I'm having a 
 hair-pulling time trying to test if it works properly. It has 
 passed some basic tests. For instance I can use qmail-inject 
 to email other servers. But the number of processes being run 
 is awfully small.
 This is what I get from ps -ef | grep qmail:
 
 root   503   502  0 Mar16 ?00:00:00 supervise qmail-send
 root   505   502  1 Mar16 ?00:54:39 supervise qmail-smtpd
 qmaill 507   504  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
 qmails 508   503  0 Mar16 ?00:00:00 qmail-send
 qmaill 510   506  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
 root   520   508  0 Mar16 ?00:00:00 qmail-lspawn ./Mailbox
 qmailr 521   508  0 Mar16 ?00:00:00 qmail-rspawn
 qmailq 522   508  0 Mar16 ?00:00:00 qmail-clean
 root  3883   505  0 12:20 ?00:00:00 supervise qmail-smtpd
 
   Should there be more processes running? Why isn't tcpserver
 running (keeping in mind that it isn't passing any email right now)?
   Something more disturbing is that when I run mconnect without
 arguments I get:
 
 tcpclient: unable to connect to 127.0.0.1 port 25: connection refused
 
   When I run a portsniff from another computer port 25 doesn't
 show up? Is this some sort of security or is something wrong?
 Maybe I'm worrying about nothing, but this seems weird.
 Please be patient with the Qmail newbie. I'd be glad to supply
 more information if required.
 
 -Garrett
 [EMAIL PROTECTED]
 
 




Re: Qmail newbie question

2001-03-19 Thread Chris Johnson

On Mon, Mar 19, 2001 at 12:19:57PM -0800, Johnson, Garrett wrote:
 Why isn't tcpserver running (keeping in mind that it isn't passing any email
 right now)?  Something more disturbing is that when I run mconnect without
 arguments I get:
 
 tcpclient: unable to connect to 127.0.0.1 port 25: connection refused

Did you start tcpserver to listen for SMTP connections? It won't start if you
don't start it.

Chris

 PGP signature


Re: Qmail newbie question

2001-03-19 Thread Gerrit Pape

On Mon, Mar 19, 2001 at 12:19:57PM -0800, Johnson, Garrett wrote:
 This is what I get from ps -ef | grep qmail:
 
 root   503   502  0 Mar16 ?00:00:00 supervise qmail-send
 root   505   502  1 Mar16 ?00:54:39 supervise qmail-smtpd
 qmaill 507   504  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
 qmails 508   503  0 Mar16 ?00:00:00 qmail-send
 qmaill 510   506  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
 root   520   508  0 Mar16 ?00:00:00 qmail-lspawn ./Mailbox
 qmailr 521   508  0 Mar16 ?00:00:00 qmail-rspawn
 qmailq 522   508  0 Mar16 ?00:00:00 qmail-clean
 root  3883   505  0 12:20 ?00:00:00 supervise qmail-smtpd
 
kill 3883.

   Should there be more processes running? Why isn't tcpserver
 running (keeping in mind that it isn't passing any email right now)?

qmaild should run tcpserver. Your run script seems to be broken.
Check with svstat /service/qmail-smtpd.
Ckeck /service/qmail-smtpd/run, check the logs.

Gerrit.


-- 
[EMAIL PROTECTED]
innominate AG
 the linux architects
tel: +49.30.308806-0  fax: -77  http://www.innominate.com



Qmail newbie question

2001-03-19 Thread Johnson, Garrett

Please forgive my ignorance. I'm trying to learn.

I have set up a secondary Qmail server on RedHat 7.0 and it 
seems to have come up without a problem, but I'm having a 
hair-pulling time trying to test if it works properly. It has 
passed some basic tests. For instance I can use qmail-inject 
to email other servers. But the number of processes being run 
is awfully small.
This is what I get from ps -ef | grep qmail:

root   503   502  0 Mar16 ?00:00:00 supervise qmail-send
root   505   502  1 Mar16 ?00:54:39 supervise qmail-smtpd
qmaill 507   504  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
qmails 508   503  0 Mar16 ?00:00:00 qmail-send
qmaill 510   506  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
root   520   508  0 Mar16 ?00:00:00 qmail-lspawn ./Mailbox
qmailr 521   508  0 Mar16 ?00:00:00 qmail-rspawn
qmailq 522   508  0 Mar16 ?00:00:00 qmail-clean
root  3883   505  0 12:20 ?00:00:00 supervise qmail-smtpd

  Should there be more processes running? Why isn't tcpserver
running (keeping in mind that it isn't passing any email right now)?
  Something more disturbing is that when I run mconnect without
arguments I get:

tcpclient: unable to connect to 127.0.0.1 port 25: connection refused

  When I run a portsniff from another computer port 25 doesn't
show up? Is this some sort of security or is something wrong?
Maybe I'm worrying about nothing, but this seems weird.
Please be patient with the Qmail newbie. I'd be glad to supply
more information if required.

-Garrett
[EMAIL PROTECTED]




Re: Qmail newbie question

2001-03-19 Thread Kurth Bemis

At 03:37 PM 3/19/2001, Gerrit Pape wrote:

did you read life with qmail?  read it at www.lifewithqmail.org.  Use the 
init script from there and you shouldn't have any problems. :-)

~kurth

PS - to the list - yes, i know this is what I answer for every 
answer...however almost every question can be answered in LWQ.  When ppl 
subscribe to this list there should be a notice in the welcome-notice that 
says "If your planning on asking questions, first read life with qmail 
written by David Still. (http://www.lifewithqmail.org)"

:-)

On Mon, Mar 19, 2001 at 12:19:57PM -0800, Johnson, Garrett wrote:
  This is what I get from ps -ef | grep qmail:
 
  root   503   502  0 Mar16 ?00:00:00 supervise qmail-send
  root   505   502  1 Mar16 ?00:54:39 supervise qmail-smtpd
  qmaill 507   504  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
  qmails 508   503  0 Mar16 ?00:00:00 qmail-send
  qmaill 510   506  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
  root   520   508  0 Mar16 ?00:00:00 qmail-lspawn ./Mailbox
  qmailr 521   508  0 Mar16 ?00:00:00 qmail-rspawn
  qmailq 522   508  0 Mar16 ?00:00:00 qmail-clean
  root  3883   505  0 12:20 ?00:00:00 supervise qmail-smtpd
 
kill 3883.

Should there be more processes running? Why isn't tcpserver
  running (keeping in mind that it isn't passing any email right now)?

qmaild should run tcpserver. Your run script seems to be broken.
Check with svstat /service/qmail-smtpd.
Ckeck /service/qmail-smtpd/run, check the logs.

Gerrit.


--
[EMAIL PROTECTED]
 innominate AG
  the linux architects
tel: +49.30.308806-0  fax: -77  http://www.innominate.com




RE: Qmail newbie question

2001-03-19 Thread Johnson, Garrett

 Thanks for all the quick responses. Gerrit Pape
pointed me in the right direction. My run script for
starting tcpserver had a typo in it. Once fixed tcpserver,
qmail-remote, and qmail-smtpd immediately came up on their own.
I can also mconnect to port 25 now.
  Thanks again.

Garrett Johnson
SFGH, Dean's Office, School of Medicine


-Original Message-
From: Chris Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 12:39 PM
To: Johnson, Garrett
Cc: '[EMAIL PROTECTED]'
Subject: Re: Qmail newbie question


On Mon, Mar 19, 2001 at 12:19:57PM -0800, Johnson, Garrett wrote:
 Why isn't tcpserver running (keeping in mind that it isn't passing any
email
 right now)?  Something more disturbing is that when I run mconnect without
 arguments I get:
 
 tcpclient: unable to connect to 127.0.0.1 port 25: connection refused

Did you start tcpserver to listen for SMTP connections? It won't start if
you
don't start it.

Chris



Re: qmail newbie question

1999-06-23 Thread Anonymous

Gerald Willmann writes:
 Under sendmail I could mail people at other stanford hosts by simply using
 someone@hostname as the address, without .stanford.edu. How can I achieve
 the same with qmail?  
 
 Finally I saw in the FAQ how to configure pine to use qmail-inject instead
 of SMTP - what are the pros and cons?

With qmail-inject, you can use someone@hostname instead of
[EMAIL PROTECTED], provided that
control/defaultdomain is set up properly.

With SMTP (qmail-smtpd), messages headers are not rewritten.
So it is up to Pine to complete these abbreviated addresses.

-- 
Tetsu Ushijima



Re: qmail Newbie question.....

1999-06-09 Thread Greg Owen {gowen}

 Tonight I was thinking that the Firewall could be the problem when a
 Firewall Techie told me that he has seen this problem before and
 suggested that it is the mail server doing a reverse-IDENT and the
 Firewall is blocking it (both internally and externally) and the default
 timeout is about 30 SECONDSsounds like to solution.
...
 And how do I stop it or change the timeout to be 1 second if possible?

You are correct in deducing that the 30 second delay is an ident
timeout.

The solution is to either open up Ident on the firewall or turn off the
ident lookup.  If you're using tcpserver (ucspi), there are several options:

   -r (Default.)   Attempt  to  obtain TCPREMOTEINFO from
  the remote host.

   -R Do not attempt to  obtain  TCPREMOTEINFO  from  the
  remote host.

   -ttimeout
  Give  up  on  the  TCPREMOTEINFO connection attempt
  after timeout seconds. Default: 26.

If you're not using tcpserver, check the manual for whatever you're
using (inetd?).

--
gowen -- Greg Owen -- [EMAIL PROTECTED]




Re: qmail newbie question

1999-06-09 Thread Anonymous

On Sun, 6 Jun 1999, Gerald Willmann wrote:
 Hi there, just finished installing qmail and it seems to work fine. Only
 have the following questions:
 BINMAIL.remove told me to remove /bin/mail but link it to some other
 mailer, eg mailx. Since I don't have mailx, what are other options? Can
Heh, really you do not need remove /bin/mail , if you're using linux.
AFAIR the idea was to remove /bin/mail that is a part of seandmail's
package, but /bin/mail in linux Red Hat 5.0  5.2 ( probably all from
4.5(?) or even older versions) is a part of separate package  it works
fine for me since I'm using qmail (around of half year). This _should_(?) 
be cleared in the FAQ, or let's anyone more experienced corret me if I'm
wrong.

Bye.Olli.



qmail Newbie question.....

1999-06-08 Thread Dean Oliffe

I have a (hopefully Simple) question regarding the config of a qmail
server a college and myself  setup resently.

I have a qmail server hidden behind a Firewall from both my internal
network (users) and the external network (internet).

Now we have noticed since changing over that there is a 30 second delay
on any email transaction from either the internal network or the
external network...and we could not figure out why...

Tonight I was thinking that the Firewall could be the problem when a
Firewall Techie told me that he has seen this problem before and
suggested that it is the mail server doing a reverse-IDENT and the
Firewall is blocking it (both internally and externally) and the default

timeout is about 30 SECONDSsounds like to solution.

But is this the case with qmail?

I answered this question myself by allowing my Firewall to pass the
ident port for the internal network and now email is delivered instantly

to my internal users..but the problem still exists for my external
users and mail servers that are trying to send me mail or receive email
from my protected server.


And how do I stop it or change the timeout to be 1 second if possible?

I hope someone can help me with this problem.

Thankyou for your time,

Dean Oliffe





qmail newbie question

1999-06-06 Thread Anonymous

Hi there, just finished installing qmail and it seems to work fine. Only
have the following questions:

BINMAIL.remove told me to remove /bin/mail but link it to some other
mailer, eg mailx. Since I don't have mailx, what are other options? Can
I somehow use qmail-inject? 

Under sendmail I could mail people at other stanford hosts by simply using
someone@hostname as the address, without .stanford.edu. How can I achieve
the same with qmail?  

Finally I saw in the FAQ how to configure pine to use qmail-inject instead
of SMTP - what are the pros and cons?

thanks in advance,  Gerald



Re: qmail newbie question

1999-06-06 Thread Faried Nawaz

[EMAIL PROTECTED] (Gerald Willmann) writes:

  BINMAIL.remove told me to remove /bin/mail but link it to some other
  mailer, eg mailx. Since I don't have mailx, what are other options? Can
  I somehow use qmail-inject? 

What is your operating system?

  
  Under sendmail I could mail people at other stanford hosts by simply using
  someone@hostname as the address, without .stanford.edu. How can I achieve
  the same with qmail?  

See the man page for qmail-inject and read up on defaulthost and
defaultdomain. 


faried.
-- 
[an error occurred while processing this directive]



Re: qmail newbie question

1999-06-06 Thread Gerald Willmann

On 6 Jun 1999, Faried Nawaz wrote:

   BINMAIL.remove told me to remove /bin/mail but link it to some other
   mailer, eg mailx. Since I don't have mailx, what are other options? Can
   I somehow use qmail-inject? 
 
 What is your operating system?

linux 2.0.32, libc5, RH4.0 
  
   Under sendmail I could mail people at other stanford hosts by simply using
   someone@hostname as the address, without .stanford.edu. How can I achieve
   the same with qmail?  
 
 See the man page for qmail-inject and read up on defaulthost and
 defaultdomain. 

well, I had/have stanford.edu in defaultdomain but it does not work. 
[gerald@willmann control]$ ls
defaultdomain  locals me plusdomain rcpthosts
[gerald@willmann control]$ cat defaultdomain
stanford.edu
Just tried to send an email to geraldw@leland and get mailer-domain
complaining that: Sorry, I couldn't find any host named leland. (#5.1.2)  

thanks,  Gerald