Re: Selective relaying problem

2001-07-28 Thread Nick Fish


On 2001.07.27 10:54 Michele Schiavo wrote:
 Help me i use Xinetd and I'm not to be able to set RELAY client. 

Ah!  Gross!  Abort!  Abort!  Seriously, run tcpserver, you will like it
alot better.  I actually do remember I had xinetd working on one of our
nameservers at one time; but it took be a good five hours crawling
through archives (many in German :-P) to figure it out.

-- 
Nick (Keith) Fish
Network Engineer
Triton Technologies, Inc.
1-800-837-4253




Re: Selective relaying problem

2001-07-27 Thread Michele Schiavo

Help me i use Xinetd and I'm not to be able to set RELAY client. 

 Scott == Scott Zielsdorf [EMAIL PROTECTED] writes:
 
 I have just installed qmail 1.03 on a Redhat 7x box.  I cannot get
 selective relaying to work. I *have* read FAQ 5.4 and scoured the
 web archives for people with similar problems but I still can't get
 a resolution.
 
 How are you starting qmail-smtpd? (ie the tcpserver line). 
 
 And what instructions did you follow to setup qmail?
 (www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.)
 or the INSTALL doc? If you followed the INSTALL doc, try re-installing
 qmail by following the lifewithqmail doc. In any case, answer the
 first question and we'll see what we can do...
 -- 
 There is no reason anyone in the right state of mind will want a
 computer in their home. 
 
 - Ken Olson, President of Digital Equipment Corp, 1977
 



Re: Selective relaying problem

2001-07-27 Thread Adrian Ho

On Fri, Jul 27, 2001 at 02:54:49PM +, Michele Schiavo wrote:
 Help me i use Xinetd and I'm not to be able to set RELAY client. 

I don't use xinetd myself, but man xinetd.conf says you're wrong.
(Hint: Search for the env attribute.)

-- 
Adrian HoTinker, Drifter, Fixer, Bum   [EMAIL PROTECTED]
ListArchive: http://marc.theaimsgroup.com/?l=qmail
Useful URLs: http://cr.yp.to/qmail.html http://www.qmail.org
 http://www.lifewithqmail.org/ http://qmail.faqts.com/



R: Selective relaying problem

2001-07-27 Thread Andrea Cerrito

Is there any particular reason to start qmail from xinetd? You will be able
to solve your problem with tcpserver in few minutes.

What kind of selective relaying are you searching for? Static or dynamic?
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372

 -Messaggio originale-
 Da: Michele Schiavo [mailto:[EMAIL PROTECTED]]
 Inviato: venerdì 27 luglio 2001 16.55
 A: Brett Randall
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Oggetto: Re: Selective relaying problem


 Help me i use Xinetd and I'm not to be able to set RELAY client.

  Scott == Scott Zielsdorf [EMAIL PROTECTED] writes:
 
  I have just installed qmail 1.03 on a Redhat 7x box.  I cannot get
  selective relaying to work. I *have* read FAQ 5.4 and scoured the
  web archives for people with similar problems but I still can't get
  a resolution.
 
  How are you starting qmail-smtpd? (ie the tcpserver line).
 
  And what instructions did you follow to setup qmail?
  (www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.)
  or the INSTALL doc? If you followed the INSTALL doc, try re-installing
  qmail by following the lifewithqmail doc. In any case, answer the
  first question and we'll see what we can do...
  --
  There is no reason anyone in the right state of mind will want a
  computer in their home.
 
  - Ken Olson, President of Digital Equipment Corp, 1977






RE: Selective Relaying Problem

2001-07-27 Thread Scott Zielsdorf

I send this reply back to the responder and forgot to email it to the list.

###
 How are you starting qmail-smtpd? (ie the tcpserver line).

Out of the run file in /service/qmail-smtp. Here is the paste of the file:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD
\
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
21


This is being called from qmailctl inside the case statement svc -u
/service/qmail-smtp.

 And what instructions did you follow to setup qmail?
 (www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.)
 or the INSTALL doc? If you followed the INSTALL doc, try re-installing
 qmail by following the lifewithqmail doc. In any case, answer the
 first question and we'll see what we can do...

The install was done by a highly paid Linux/Qmail Consultant - who is
stumped, which
is cold comfort to me. I have questioned him at length on install procedures
and
he swears to have followed the INSTALL doc to a T. He has been knowledgable
on
other projects and I do have a good amount of faith in him and his work and
while he
does have reason to cover his butt because of his fees, I don't believe he
is.

#

I am faced with the prospect of re-installation which I will do myself this
time - but
I would rather not have to if there was some other solution.

However, on the subject of re-installation, and forgive me because I have
not researched
this in the archives, do I need to de-install qmail before reinstalling or
can I simply overwrite it?

And another newbie type question: I checked out GNUS's homepage. I am a
slave to Outlook. I
would like to break the bonds but, uh, I didn't see anything about a release
for NT Server.
Is there one? How do I get it?

Thanks,

Scott Zielsdorf
Senior Technical Support Consultant
Computer Instruments IVR Solutions Support Group




Re: Selective Relaying Problem

2001-07-27 Thread JT

goto /etc/tcprules.d
edit qmail-smtpd

read 'man tcprules' on how to use tcprules

Once you make the appropiate edits you want to do the following.

from the tcprules.d directory

tcprules qmail-smtpd.cdb qmail-smtpd.tmp qmail-smtpd

If it gives you a command/file not found then tcprules isn't aliased so
execute it like this

/usr/local/bin/tcprules qmail-smtpd.cdb qmail-smtpd.tmp qmail-smtpd

After that restart qmail-smtpd which is gennerally

/etc/rc.d/init.d/qmail-smtpd.init restart

--JT
- Original Message -
From: Scott Zielsdorf [EMAIL PROTECTED]
To: Qmail List [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 11:21 AM
Subject: RE: Selective Relaying Problem


I send this reply back to the responder and forgot to email it to the list.

###
 How are you starting qmail-smtpd? (ie the tcpserver line).

Out of the run file in /service/qmail-smtp. Here is the paste of the file:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD
\
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
21


This is being called from qmailctl inside the case statement svc -u
/service/qmail-smtp.

 And what instructions did you follow to setup qmail?
 (www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.)
 or the INSTALL doc? If you followed the INSTALL doc, try re-installing
 qmail by following the lifewithqmail doc. In any case, answer the
 first question and we'll see what we can do...

The install was done by a highly paid Linux/Qmail Consultant - who is
stumped, which
is cold comfort to me. I have questioned him at length on install procedures
and
he swears to have followed the INSTALL doc to a T. He has been knowledgable
on
other projects and I do have a good amount of faith in him and his work and
while he
does have reason to cover his butt because of his fees, I don't believe he
is.

#

I am faced with the prospect of re-installation which I will do myself this
time - but
I would rather not have to if there was some other solution.

However, on the subject of re-installation, and forgive me because I have
not researched
this in the archives, do I need to de-install qmail before reinstalling or
can I simply overwrite it?

And another newbie type question: I checked out GNUS's homepage. I am a
slave to Outlook. I
would like to break the bonds but, uh, I didn't see anything about a release
for NT Server.
Is there one? How do I get it?

Thanks,

Scott Zielsdorf
Senior Technical Support Consultant
Computer Instruments IVR Solutions Support Group






Selective relaying problem

2001-07-26 Thread Scott Zielsdorf

I have just installed qmail 1.03 on a Redhat 7x box.

I cannot get selective relaying to work. I *have* read FAQ 5.4 and scoured
the web archives for people with similar problems but I still can't get a
resolution.

I want to use this box (Redhat) strictly as an SMTP server for staff inside
the company. Workstations in the office are on the 192.168.10 net and we use
DHCP and NAT.

In the /etc/tcp.smtp file I have the following entries (this is a paste from
the file):

192.168.10.:allow,RELAYCLIENT=
:allow

In /var/qmail/control I have the following settings:

me
cilinux.instruments.com

defaultdomain
instruments.com

locals
localhost

rctphosts  plusdomain are EMPTY

In examining the headers from mail sent to myself through my primary mail
server, the HELO dialogue properly identifies my
machine name and the IP Address.

In examining the headers from mail sent locally to the qmail box, the HELO
dialogue identifies my machine name but instead of seeing the IP, I see
unknown which leads me to believe that tcp.smtp.cdb is not being executed
because my IP cannot be
determined by qmail. If this is the case, why?

And yes, I have ran qmailctl cdb after futzing with tcp.smtp and I have ran
qmailctl restart extensively as I tinker with the settings.

Anybody? I am getting a little desperate.

Thanks.


Scott Zielsdorf
Senior Technical Support Consultant
Computer Instruments IVR Solutions Support Group
Voice: 913.492.1888 x402 Fax: 913.492.1483




Re: Selective relaying problem

2001-07-26 Thread Brett Randall

 Scott == Scott Zielsdorf [EMAIL PROTECTED] writes:

 I have just installed qmail 1.03 on a Redhat 7x box.  I cannot get
 selective relaying to work. I *have* read FAQ 5.4 and scoured the
 web archives for people with similar problems but I still can't get
 a resolution.

How are you starting qmail-smtpd? (ie the tcpserver line).

And what instructions did you follow to setup qmail?
(www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.)
or the INSTALL doc? If you followed the INSTALL doc, try re-installing
qmail by following the lifewithqmail doc. In any case, answer the
first question and we'll see what we can do...
-- 
There is no reason anyone in the right state of mind will want a
computer in their home.

- Ken Olson, President of Digital Equipment Corp, 1977