Re: why didn't it send my msg?

2000-12-02 Thread Henning Brauer

Am Freitag,  1. Dezember 2000 22:59 schrieb QBA:

 And one more thing - Henning Brauer wrote that using inetd is not to good
 idea. Can anyone tell me why?

Performance increases dramatically when using tcpserver instead of inetd, i 
have also some considerations regarding security against inetd. If you are 
running your private mailserver only, this may be not an issue for you.

Back to your problem: maybe name resolution fails? have you checked your 
tcp.smtp file (oh, it's hosts.allow and hosts.deny with inetd if i'm not 
wrong - sory, never used inetd)?
try if "ping qba.dyndns.org" works from the machine. as telnet localhost 25 
works, qmail-smtpd runs.


 QBA

-- 

Henning Brauer |  BS Web Services
Hostmaster BSWS|  Roedingsmarkt 14
[EMAIL PROTECTED] |  20459 Hamburg
www.bsws.de|  Germany



Re: why didn't it send my msg?

2000-12-01 Thread QBA

On Thu, Nov 30, 2000 at 10:00:32PM +0100, Henning Brauer wrote:
 `ps aux | grep qmail`, if you see qmail-smtpd it is running, otherwise not. 
 (note: if you run qmail.smtp from inetd use Jamin's method). 
 Using inetd at all, but especially for qmail, is no good idea IMHO, your 
 mileage may vary.
 
I did 'ps -aux | grep qmail-smtpd' and got no message so I don't have it
running. And that's why I have two more questions:
1. What means this line (about qmail) in my /etc/inetd.conf ? (I wrote it
in my earlier message)
2. How can I enable qmail-smtpd? What is the best way to do it?
Thanks for your help,

QBA



Re: why didn't it send my msg?

2000-12-01 Thread QBA

On Thu, Nov 30, 2000 at 03:46:23PM -0500, Dave Sill wrote:
 
 How can I check if I have qmail-smtpd enabled on my host?
 
 $ telnet 0 25
 Trying 0.0.0.0...
 Connected to 0.
 Escape character is '^]'.
 220 sws5.ctd.ornl.gov ORNL/WS ESMTP
 help
 214 qmail home page: http://pobox.com/~djb/qmail.html
 quit
 221 sws5.ctd.ornl.gov ORNL/WS
 Connection closed by foreign host.
 $ 
 
 -Dave

Hi,
I also typed 'telnet 0 25' and here is what I got:
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
220 qbaroot.dyndns.org ESMTP
'help'
214 qmail home page: http://pobox.com/~djb/qmail.html
'quit'
221 qbaroot.dyndns.org
Connection closed by foreign host.
So it looks similiar to yours but I don't understand what I did.
What all these messages can tell me about my qmail?
Thanks for help,

QBA



Re: why didn't it send my msg?

2000-12-01 Thread Mads E Eilertsen


 2. How can I enable qmail-smtpd? What is the best way to do it?

There are several ways to start qmail-smtpd. One is to use inetd.
The other way, which is recommended by the author, is to use tcpserver.
See http://cr.yp.to/qmail/faq/servers.html#tcpserver-smtpd

Mads




Re: why didn't it send my msg?

2000-12-01 Thread James Browning

on 12/1/00 13:18, QBA at [EMAIL PROTECTED] wrote:

 I did 'ps -aux | grep qmail-smtpd' and got no message so I don't have it
 running. And that's why I have two more questions:
 1. What means this line (about qmail) in my /etc/inetd.conf ? (I wrote it
 in my earlier message)

Include the line anyway. Must I search for it?

 2. How can I enable qmail-smtpd? What is the best way to do it?
 Thanks for your help,

Ahhh... So basically what you're saying is you don't have a clue about
inetd. You might want to look at the man page for it-- that way you won't
have any questions.

--jtb




Re: why didn't it send my msg?

2000-12-01 Thread James Browning

on 12/1/00 13:29, QBA at [EMAIL PROTECTED] wrote:

 Hi,
 I also typed 'telnet 0 25' and here is what I got:
 Trying 0.0.0.0...
 Connected to 0.
 Escape character is '^]'.
 220 qbaroot.dyndns.org ESMTP
 'help'
 214 qmail home page: http://pobox.com/~djb/qmail.html
 'quit'
 221 qbaroot.dyndns.org
 Connection closed by foreign host.
 So it looks similiar to yours but I don't understand what I did.
 What all these messages can tell me about my qmail?
 Thanks for help,

They tell you you're connected to the smtp server on port 25 and that help
can be found at the qmail home page.

--jtb 




Re: why didn't it send my msg?

2000-12-01 Thread QBA

On Thu, Nov 30, 2000 at 10:00:32PM +0100, Henning Brauer wrote:
 
 `ps aux | grep qmail`, if you see qmail-smtpd it is running, otherwise not. 
 (note: if you run qmail.smtp from inetd use Jamin's method). 
 Using inetd at all, but especially for qmail, is no good idea IMHO, your 
 mileage may vary.
 

I've just finished reading 'faq' and 'install' files that are included 
to qmail tarball. And there is one strange (or even two) thing about
qmail-smtpd that I can't understand. Namely I did everything just as it 
stands in 'install' file (espacially about setting up qmail-smtpd -
step 16th) and it looks that it doesn't work because I got a message:
'Sorry,_I wasn't_able_to_establish_an_SMTP_connection.' when was trying
to send a test message from my host to my host. (it was before I've added
qbaroot.dyndns.org to my /qmail/control/locals but it shouldn't be a problem)
The second thing is this message from Dave Sill about 'telnet 0 25'.
As you know I did it too (see my reply to his msg) and it looks to me 
that I have smtpd running (port 25 is being used by smtp).
So what is going on here? Is qmail-smtpd running on my linux or not?
And one more thing - Henning Brauer wrote that using inetd is not to good idea.
Can anyone tell me why?
Thanks for all tips,

QBA



Re: why didn't it send my msg?

2000-12-01 Thread Markus Stumpf

On Fri, Dec 01, 2000 at 10:59:27PM +0100, QBA wrote:
 And one more thing - Henning Brauer wrote that using inetd is not to good idea.
 Can anyone tell me why?

  http://www-archive.ornl.gov:8000/
has a searchable archive of this list.

  http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/06/msg00117.html
is what you might want to read.

\Maex

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



Re: why didn't it send my msg?

2000-11-30 Thread Charles Cazabon

QBA [EMAIL PROTECTED] wrote:
[...] 

 I have a dial-up connection to my isp [...]  But I have joined dyndns.org
 project and registered there as qbaroot.dyndns.org.
[...]
 But today I wanted to check if when I send a message (while online) to
 [EMAIL PROTECTED] it will come directly to my mailbox.
 Unfortunately it didn't.

 Nov 29 22:00:13 localhost qmail: 975531613.680894 new msg 28139
 Nov 29 22:00:13 localhost qmail: 975531613.681071 info msg 28139: bytes 444 from 
[EMAIL PROTECTED] qp 1309 uid 501
 Nov 29 22:00:13 localhost qmail: 975531613.738866 starting delivery 2: msg 28139 to 
remote [EMAIL PROTECTED]
 Nov 29 22:00:13 localhost qmail: 975531613.738959 status: local 0/10 remote 1/20
 Nov 29 22:00:15 localhost qmail: 975531615.261675 delivery 2: deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

Several problems here:

-your machine doesn't think it gets mail for "qbaroot.dyndns.org".  You need to
add this domain to /var/qmail/control/locals.

-because of the above, qmail is trying to connect to the IP address associated
with the name "qbaroot.dyndns.org" (there's no MX record).  This is your
machine.  You're not running an SMTP daemon on port 25, so it can't connect.
To accept mail, you'd need to run qmail-smtpd. 

-this is academic, however, for mail from your own machine, as once that domain
is in locals, qmail will deliver it directly without going through SMTP.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: why didn't it send my msg?

2000-11-30 Thread QBA

On Thu, Nov 30, 2000 at 12:56:58AM +0100, Markus Stumpf wrote:
 
 Did you add
 qbaroot.dyndns.org
 to your control/locals file?
 And if so, did you  kill -HUP pid of qmail-send ??
 
   \Maex

Hi,

No, I didn't add this domain to this file. And one more question - 
am I to erase localhost from it? (I guess that in control/locals
have to be 2 domains - localhost and qbaroot.dyndns.org but I'm not sure.)
Thanks 4 help,

QBA



Re: why didn't it send my msg?

2000-11-30 Thread QBA

On Thu, Nov 30, 2000 at 04:27:36AM +0100, Henning Brauer wrote:
 
 The error "sorry, couldn't establish smtp connection" means that on the 
 remote host no MTA reacted on port 25. Could be a wrong host, could be a 
 wrong name resolution, could be you don't have qmail-smtpd enabled.
 -- 

Hi,

How can I check if I have qmail-smtpd enabled on my host?
Thanks in advance,

QBA



RE: why didn't it send my msg?

2000-11-30 Thread Jamin Collins

QBA [mailto:[EMAIL PROTECTED]] wrote:
 How can I check if I have qmail-smtpd enabled on my host?
 Thanks in advance,

This would depend on how you installed qmail.  Are you using inetd.conf
setup or something else?  The inetd.conf method is the easiest IMHO to get
configured to start with, but many others suggest using tcpserver in the
long run.  So, just to get stared, what do you have in your /etc/inetd.conf?

Jamin W. Collins



Re: why didn't it send my msg?

2000-11-30 Thread QBA

On Thu, Nov 30, 2000 at 08:38:59AM -0600, Charles Cazabon wrote:
 
 Several problems here:
 
 -your machine doesn't think it gets mail for "qbaroot.dyndns.org".  You need to
 add this domain to /var/qmail/control/locals.
 
 -because of the above, qmail is trying to connect to the IP address associated
 with the name "qbaroot.dyndns.org" (there's no MX record).  This is your
 machine.  You're not running an SMTP daemon on port 25, so it can't connect.
 To accept mail, you'd need to run qmail-smtpd. 
 
 -this is academic, however, for mail from your own machine, as once that domain
 is in locals, qmail will deliver it directly without going through SMTP.
 
 Charles

First of all thanks for your explanations. And to make it clear:
1. I got to add qbaroot.dyndns.org to my locals file
2. Have to start qmail-smtpd 'cause I wanna others people send their
messages directly to my host when I'll be online.
3. Have to learn more.
Am I correct?

QBA




Re: why didn't it send my msg?

2000-11-30 Thread QBA

On Thu, Nov 30, 2000 at 12:42:11PM -0600, Jamin Collins wrote:
 
 This would depend on how you installed qmail.  Are you using inetd.conf
 setup or something else?  The inetd.conf method is the easiest IMHO to get
 configured to start with, but many others suggest using tcpserver in the
 long run.  So, just to get stared, what do you have in your /etc/inetd.conf?
 
 Jamin W. Collins

I got there this (as one line):
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env 
/var/qmail/bin/qmail-smtpd
Is it correct?

QBA




Re: why didn't it send my msg?

2000-11-30 Thread Charles Cazabon

QBA [EMAIL PROTECTED] wrote:
 
 First of all thanks for your explanations. And to make it clear:
 1. I got to add qbaroot.dyndns.org to my locals file

Yes.  You can have more than two domains in this file, by the way.

 2. Have to start qmail-smtpd 'cause I wanna others people send their
 messages directly to my host when I'll be online.

Yes.

 3. Have to learn more.

Yes :).  Read everything on www.qmail.org, and all the documentation it
refers to, as well as all qmail-related pages on the author's site at
http://cr.up.to/

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: why didn't it send my msg?

2000-11-30 Thread Henning Brauer

Am Donnerstag, 30. November 2000 19:42 schrieb Jamin Collins:
 QBA [mailto:[EMAIL PROTECTED]] wrote:
  How can I check if I have qmail-smtpd enabled on my host?
  Thanks in advance,

 This would depend on how you installed qmail.  Are you using inetd.conf
 setup or something else?  The inetd.conf method is the easiest IMHO to get
 configured to start with, but many others suggest using tcpserver in the
 long run.  So, just to get stared, what do you have in your
 /etc/inetd.conf?

`ps aux | grep qmail`, if you see qmail-smtpd it is running, otherwise not. 
(note: if you run qmail.smtp from inetd use Jamin's method). 
Using inetd at all, but especially for qmail, is no good idea IMHO, your 
mileage may vary.

 Jamin W. Collins

-- 

Henning Brauer |  BS Web Services
Hostmaster BSWS|  Roedingsmarkt 14
[EMAIL PROTECTED] |  20459 Hamburg
www.bsws.de|  Germany



Re: why didn't it send my msg?

2000-11-30 Thread Dave Sill

QBA [EMAIL PROTECTED] wrote:

How can I check if I have qmail-smtpd enabled on my host?

$ telnet 0 25
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
220 sws5.ctd.ornl.gov ORNL/WS ESMTP
help
214 qmail home page: http://pobox.com/~djb/qmail.html
quit
221 sws5.ctd.ornl.gov ORNL/WS
Connection closed by foreign host.
$ 

-Dave



why didn't it send my msg?

2000-11-29 Thread QBA

Hi,

I have a problem and can't understand its source. I hope you can
help me solve it. And here's the point: I have a dial-up connection
to my isp so I can't have my own official domain name. But I have
joined dyndns.org project and registered there as qbaroot.dyndns.org.
I've also downloaded a ddup program and now I start it everytime
I connect to internet (it happens automaticaly 'cause I added
this program to /etc/ppp/ip-up.local). And while being online if I type 
"www.qbaroot.dyndns.org" in my webbrowser I can see my websites.
And this is cool. But today I wanted to check if when I send a message
(while online) to [EMAIL PROTECTED] it will come directly to my
mailbox. Unfortunately it didn't. And I don't know why. I must add
that after I got my own domain name on dyndns.org I've changed some
qmail's configuration files (to be precise I changed 3 files from
/var/qmail/control directory: defaultdomain, defaulthost and me.
Instead of "localhost.localdomain" I put there "qbaroot.dyndns.org".
I had to do so 'cause some pop3 servers rejected my all e-mails.) 
As a attachment I send my last maillog when I was trying to send a msg
(hope it will be useful). I'd like to know why it didn't work and
what to do to make it working. 
Thank you all 4 help,

QBA



 


Nov 29 22:00:13 localhost qmail: 975531613.680894 new msg 28139
Nov 29 22:00:13 localhost qmail: 975531613.681071 info msg 28139: bytes 444 from 
[EMAIL PROTECTED] qp 1309 uid 501
Nov 29 22:00:13 localhost qmail: 975531613.738866 starting delivery 2: msg 28139 to 
remote [EMAIL PROTECTED]
Nov 29 22:00:13 localhost qmail: 975531613.738959 status: local 0/10 remote 1/20
Nov 29 22:00:15 localhost qmail: 975531615.261675 delivery 2: deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/




Re: why didn't it send my msg?

2000-11-29 Thread Markus Stumpf

On Wed, Nov 29, 2000 at 10:53:03PM +0100, QBA wrote:
 Instead of "localhost.localdomain" I put there "qbaroot.dyndns.org".
 I had to do so 'cause some pop3 servers rejected my all e-mails.) 
 As a attachment I send my last maillog when I was trying to send a msg
 (hope it will be useful). I'd like to know why it didn't work and
 what to do to make it working. 

Nov 29 22:00:13 localhost qmail: 975531613.681071 info msg 28139: bytes 444 from
[EMAIL PROTECTED] qp 1309 uid 501
Nov 29 22:00:13 localhost qmail: 975531613.738866 starting delivery 2: msg 28139 to 
remote [EMAIL PROTECTED]

Did you add
qbaroot.dyndns.org
to your control/locals file?
And if so, did you  kill -HUP pid of qmail-send ??

\Maex

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



Re: why didn't it send my msg?

2000-11-29 Thread Henning Brauer

Am Mittwoch, 29. November 2000 22:53 schrieb QBA:

The error "sorry, couldn't establish smtp connection" means that on the 
remote host no MTA reacted on port 25. Could be a wrong host, could be a 
wrong name resolution, could be you don't have qmail-smtpd enabled.
-- 

Henning Brauer |  BS Web Services
Hostmaster BSWS|  Roedingsmarkt 14
[EMAIL PROTECTED] |  20459 Hamburg
www.bsws.de|  Germany