newbie: relaying

2001-03-28 Thread - = k o l i s k o = -

Hi all,

I have on my server qmail installed. Before i had sendmail.
In sendmail i had not open relay. But Now in qmail
i have.

I dont want open relay.
I red on the http://www.palomine.net/qmail/relaying.html page that
is important put only (in my case egarden.cz domain) allow domain
to the /etc/qmail/rcpthosta. So I putted the only egarden.cz domain
to the rcpthosta, then restart qmail but open relay is still functional.
:-((

Could You help me?

my server is egarden.cz

info:
0 root@egarden:qmail# pwd
/etc/qmail
1 root@egarden:qmail# v
total 24
drwxr-xr-x3 root root 4096 Mar 28 11:51 ./
drwxr-x--x   64 root root 4096 Mar 28 10:56 ../
-rw-r--r--1 root root   27 Mar 27 13:35 locals
-rw-r--r--1 root root   11 Mar 27 11:24 me
-rw-r--r--1 root root   11 Mar 28 11:51 rcpthosta
drwxr-xr-x2 root qmail4096 Mar 27 14:28 users/
0 root@egarden:qmail# cat locals
egarden.cz
os2.cz
sinaj.cz
0 root@egarden:qmail# cat me
egarden.cz
0 root@egarden:qmail# cat rcpthosta
egarden.cz

0 root@egarden:qmail# telnet 0 25
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
helo 220 egarden.cz ESMTP
helo seznam.cz
250 egarden.cz
mail from: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
250 ok
data
354 go ahead
Subject: test relay

this is only relaying test.
kolisko
.
250 ok 985773667 qp 23681
quit
221 egarden.cz
Connection closed by foreign host.
1 root@egarden:qmail#




S pozdravem,
Michal Kolesar
+420 608 225025
[EMAIL PROTECTED]
http://www.egarden.cz
server of free unix services





RE: newbie: relaying

2001-03-28 Thread Andrew Richards

Michal,

 I dont want open relay.
 I red on the http://www.palomine.net/qmail/relaying.html page that
 is important put only (in my case egarden.cz domain) allow domain
 to the /etc/qmail/rcpthosta. So I putted the only egarden.cz domain
 to the rcpthosta, then restart qmail but open relay is still functional.

Not
   rcpthosta
but
   rcpthosts

- that should fix your problem. Also note that qmail
is normally installed in /var/qmail, not /etc/qmail. I
presume you altered /var/qmail to /etc/qmail in
conf-home when compiling qmail. If not, put your
control files in /var/qmail/control instead.

cheers,

Andrew.




Re: newbie: relaying

2001-03-28 Thread Robert Sander

On 28 Mar 2001 12:07:40 +0200,
 - = k o l i s k o = - [EMAIL PROTECTED] wrote:

0 root@egarden:qmail# cat locals
egarden.cz
os2.cz
sinaj.cz
0 root@egarden:qmail# cat me
egarden.cz
0 root@egarden:qmail# cat rcpthosta
egarden.cz

0 root@egarden:qmail# telnet 0 25
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
helo 220 egarden.cz ESMTP
helo seznam.cz
250 egarden.cz
mail from: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
250 ok
data
354 go ahead
Subject: test relay

this is only relaying test.
kolisko
.
250 ok 985773667 qp 23681
quit
221 egarden.cz
Connection closed by foreign host.

You connected from Your own host. I think You have additionally a cdb
for the tcpserver where qmail-smtpd is running under, where 
RELAYCLIENT="" is set. Look for something like this.
It is perfectly OK when You do selective relaying based on IP-addresses
You know and trust.

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: newbie: relaying

2001-03-28 Thread Frank Tegtmeyer

 is important put only (in my case egarden.cz domain) allow domain
 to the /etc/qmail/rcpthosta. So I putted the only egarden.cz domain
 to the rcpthosta, then restart qmail but open relay is still functional.

This file is called rcpthosts, not rcpthosta.

Normally it resides under /var/qmail/control. Unless you know exactly what 
you do, you should not change qmails paths.

Regards, Frank 



Re: newbie: relaying

2001-03-28 Thread Yves Caetano

hi,

try to run qmail with tcpserver. in tcpserver you will buid a file where
you can specifiy which ip will be able to relay or not.

for further informations read the man pages of tcpserver...they are very
helpfull :-)

cu ycae

- = k o l i s k o = - wrote:
 
 Hi all,
 
 I have on my server qmail installed. Before i had sendmail.
 In sendmail i had not open relay. But Now in qmail
 i have.
 
 I dont want open relay.
 I red on the http://www.palomine.net/qmail/relaying.html page that
 is important put only (in my case egarden.cz domain) allow domain
 to the /etc/qmail/rcpthosta. So I putted the only egarden.cz domain
 to the rcpthosta, then restart qmail but open relay is still functional.
 :-((
 
 Could You help me?
 
 my server is egarden.cz
 
 info:
 0 root@egarden:qmail# pwd
 /etc/qmail
 1 root@egarden:qmail# v
 total 24
 drwxr-xr-x3 root root 4096 Mar 28 11:51 ./
 drwxr-x--x   64 root root 4096 Mar 28 10:56 ../
 -rw-r--r--1 root root   27 Mar 27 13:35 locals
 -rw-r--r--1 root root   11 Mar 27 11:24 me
 -rw-r--r--1 root root   11 Mar 28 11:51 rcpthosta
 drwxr-xr-x2 root qmail4096 Mar 27 14:28 users/
 0 root@egarden:qmail# cat locals
 egarden.cz
 os2.cz
 sinaj.cz
 0 root@egarden:qmail# cat me
 egarden.cz
 0 root@egarden:qmail# cat rcpthosta
 egarden.cz
 
 0 root@egarden:qmail# telnet 0 25
 Trying 0.0.0.0...
 Connected to 0.
 Escape character is '^]'.
 helo 220 egarden.cz ESMTP
 helo seznam.cz
 250 egarden.cz
 mail from: [EMAIL PROTECTED]
 250 ok
 rcpt to: [EMAIL PROTECTED]
 250 ok
 data
 354 go ahead
 Subject: test relay
 
 this is only relaying test.
 kolisko
 .
 250 ok 985773667 qp 23681
 quit
 221 egarden.cz
 Connection closed by foreign host.
 1 root@egarden:qmail#
 
 S pozdravem,
 Michal Kolesar
 +420 608 225025
 [EMAIL PROTECTED]
 http://www.egarden.cz
 server of free unix services

--
Yves Caetano
Server Support Engineer
Tel: +352 295383 254
Fax: +352 295383 222
email: [EMAIL PROTECTED]http://www.incotech.lu