stop relay messages :-)

2001-08-13 Thread Severin Olloz

Hello...

I want to stop spammers, but qmail-smtp doesn't want :-(

My smtp-process starts with this command:

/usr/bin/tcpserver -H -R -v -u 64011 -g 65534 -x /etc/tcp.smtp.cdb 0 smtp 
/usr/sbin/qmail-smtpd

/etc/tcp.smtp looks before a:

tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp

like this:

127.0.0.1:allow,RELAYCLIENT=""

So why can I send now emails form remote hosts with other IPs than 127.0.0.1 
over this smtp-server?

I have try all things, but my server relays message at all!

Any ideas?

Thanks: Severin Olloz



stop relay messages :-)

2001-08-14 Thread Severin Olloz

Hello...

OK now stop-smtp-relaying works :-)

I can allow relaying messages over my smtp-server for some IP-adresses 
(/etc/tcp.smtp), but how can allow relaying for all clients of a 
internet-provider?

.aol.com:allow,RELAYCLIENT=""

doesn't work!?

Any ideas?

Thanks very much for your help: Severin Olloz



Re: stop relay messages :-)

2001-08-13 Thread Charles Cazabon

Severin Olloz <[EMAIL PROTECTED]> wrote:
> 
> 127.0.0.1:allow,RELAYCLIENT=""
> 
> So why can I send now emails form remote hosts with other IPs than 127.0.0.1 
> over this smtp-server?

You've misconfigured something.  What does `cat
/var/qmail/control/rcpthosts` do?

By the way, shut qmail-smtpd down until you've diagnosed and repaired
this problem.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: stop relay messages :-)

2001-08-13 Thread Lukas Beeler

On Mon, Aug 13, 2001 at 09:53:38PM +0200, Severin Olloz wrote:
> 
> My smtp-process starts with this command:
> 
> /usr/bin/tcpserver -H -R -v -u 64011 -g 65534 -x /etc/tcp.smtp.cdb 0 smtp 
> /usr/sbin/qmail-smtpd

looks good

> /etc/tcp.smtp looks before a:
> 
> tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
> 
> like this:
> 
> 127.0.0.1:allow,RELAYCLIENT=""

still looks good

> So why can I send now emails form remote hosts with other IPs than 127.0.0.1 
> over this smtp-server?

should'nt be possible, 

are you sure that you did thath all as described ?
it really looks correct to me.

probably, your rcpthosts is empty, which means that your systems will 
relay all messages.

-- 
Lukas Beeler<[EMAIL PROTECTED]>
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



Re: stop relay messages :-)

2001-08-13 Thread Henrique Pantarotto

Severin,

I bet you don't have a control/rcpthosts file.

I was having the same problem.  I don't know if this is a qmail problem,
or if it's a qmail-ldap problem (I'm using an old qmail-ldap patch, so
this might be even fixed).

Try creating a control/rcpthosts file, ok?



Good luck,

Henrique Pantarotto



> -Original Message-
> From: Severin Olloz <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Mon, 13 Aug 2001 21:53:38 +0200
> Subject: stop relay messages :-)
>
> Hello...
> 
> I want to stop spammers, but qmail-smtp doesn't want :-(
> 
> My smtp-process starts with this command:
> 
> /usr/bin/tcpserver -H -R -v -u 64011 -g 65534 -x /etc/tcp.smtp.cdb 0 smtp 
> /usr/sbin/qmail-smtpd
> 
> /etc/tcp.smtp looks before a:
> 
> tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
> 
> like this:
> 
> 127.0.0.1:allow,RELAYCLIENT=""
> 
> So why can I send now emails form remote hosts with other IPs than 127.0.0.1 
> over this smtp-server?
> 
> I have try all things, but my server relays message at all!
> 
> Any ideas?
> 
> Thanks: Severin Olloz


___
Henrique Pantarotto
Suporte Nacional - Terra Networks - São Paulo
Tel: (11) 5501-7085 - [EMAIL PROTECTED]




RE: stop relay messages :-)

2001-08-13 Thread Alexander Jernejcic

hi,
what's about your rcpthosts?
btw: good reading stuff

http://www.palomine.net/qmail/relaying.html

hope that helps
;) alexander

> -Original Message-
> From: Severin Olloz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 13, 2001 9:54 PM
> To: [EMAIL PROTECTED]
> Subject: stop relay messages :-)
> 
> 
> Hello...
> 
> I want to stop spammers, but qmail-smtp doesn't want :-(
> 
> My smtp-process starts with this command:
> 
> /usr/bin/tcpserver -H -R -v -u 64011 -g 65534 -x 
> /etc/tcp.smtp.cdb 0 smtp 
> /usr/sbin/qmail-smtpd
> 
> /etc/tcp.smtp looks before a:
> 
> tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
> 
> like this:
> 
> 127.0.0.1:allow,RELAYCLIENT=""
> 
> So why can I send now emails form remote hosts with other IPs 
> than 127.0.0.1 
> over this smtp-server?
> 
> I have try all things, but my server relays message at all!
> 
> Any ideas?
> 
> Thanks: Severin Olloz
> 



Re: stop relay messages :-)

2001-08-14 Thread Charles Cazabon

Severin Olloz <[EMAIL PROTECTED]> wrote:
> 
> I can allow relaying messages over my smtp-server for some IP-adresses 
> (/etc/tcp.smtp), but how can allow relaying for all clients of a 
> internet-provider?
> 
> .aol.com:allow,RELAYCLIENT=""
> 
> doesn't work!?

You can control relaying by host or domain name, but that's not the
correct syntax.  You really should read the documentation for ucspi-tcp
before trying this.  Note that unless you run tcpserver in paranoid
mode, this is not a great idea.

The bigger question is, why are you trying to be a relay SMTP host for
other ISPs?  What problem are you trying to solve?

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



RES: stop relay messages :-)

2001-08-14 Thread Agnaldo M. Monteiro

Hi,

If you know the ip range from your internet-provider, type this:

For example if you provider have IPS from 199.200.101.1 to 199.200.101.254,  the line 
in tcp.smtp file will be:

199.200.101.:allow,RELAYCLIENT=""

In the last case, all subnets from this internet-provider will be informed.

Best regards,

Agnaldo Mariano Monteiro
Engenharia de Sistemas
Fujitsu do Brasil Ltda.
Tel.:   (11) 245-0964 (Direto)
[EMAIL PROTECTED]

- Mensagem original -
De: Severin Olloz [SMTP:[EMAIL PROTECTED]]
Enviada em: terca-feira, 14 de agosto de 2001 13:53
Para:   [EMAIL PROTECTED]
Assunto:    stop relay messages :-)

Hello...

OK now stop-smtp-relaying works :-)

I can allow relaying messages over my smtp-server for some IP-adresses 
(/etc/tcp.smtp), but how can allow relaying for all clients of a 
internet-provider?

.aol.com:allow,RELAYCLIENT=""

doesn't work!?

Any ideas?

Thanks very much for your help: Severin Olloz