Re: exim and relaying

2001-08-01 Thread Robert Davidson

On Wed, Aug 01, 2001 at 01:13:04PM -0300, Carlos Barros wrote:
> On Wed, Aug 01, 2001 at 03:19:41PM +0800, Sanjeev Gupta wrote:
> 
> > Try
>
> Seems to be what Im looking for.
> 
> Thanks. I already know that relaying is not good. But Im trying to close the
> relaying as much as I can. That's why I only want to permit relaying from
> some hosts only if they claim to be from fcien.edu.uy domain (just by now).
> 

Why not just allow relaying based on the IP Address of the hosts?

Regards,
Robert Davidson.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim and relaying

2001-08-01 Thread Carlos Barros

On Wed, Aug 01, 2001 at 03:19:41PM +0800, Sanjeev Gupta wrote:

> Try
> 
> host_accept_relay = "*"
> sender_address_relay = "fcien.edu.uy"
> 
> You are leaving yourself open to people misusing you as a relay.

Seems to be what Im looking for.

Thanks. I already know that relaying is not good. But Im trying to close the
relaying as much as I can. That's why I only want to permit relaying from
some hosts only if they claim to be from fcien.edu.uy domain (just by now).

-- 

Carlos Barros.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim and relaying

2001-07-31 Thread Sanjeev Gupta

Try

host_accept_relay = "*"
sender_address_relay = "fcien.edu.uy"

You are leaving yourself open to people misusing you as a relay.


Carlos Barros wrote:

> Hello!
> 
>   Is there a way to permit relaying some hosts only if the "From:"
> line is local?
> 
>   I mean, relay *.edu.uy only if From: *@fcien.edu.uy.
--
Sanjeev Gupta
Linux MVP Brainbench


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim and relaying

2001-07-31 Thread Antti Tolamo

At 04:58 1.8.2001, you wrote:
>On Tue, Jul 31, 2001 at 09:15:01PM -0400, Peter Billson wrote:
>
>> > Is there a way to permit relaying some hosts only if the "From:"
>> > line is local?
>> > I mean, relay *.edu.uy only if From: *@fcien.edu.uy.
>> 
>> Do you mean to accept the mail regardless of where it *actually* comes
>> from as long as the From line *says* that it comes from edu.uy? That
>> would be bad.
>
>Nope. Relay .edu.uy domain only if the sender claims to be 
>any [EMAIL PROTECTED]
>
>It is a mix of Sendmail's "relay_local_from" .AND. relay_hosts = .edu.uy
>
>-- 
>Carlos Barros.

Have you looked at 

http://www.exim.org/exim-html-3.20/doc/html/spec.html

a sender_address_relay option? If understood correclty, if you
combine that hosts_accept_relay_, doesn't it drive the same thing?

Antti



Antti


My PGP public key: 
http://linux.tola.org/~chicken/antti_pgp.txt

--
Sex, rags and rock'n roll!
--






--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim and relaying

2001-07-31 Thread Carlos Barros

On Tue, Jul 31, 2001 at 09:15:01PM -0400, Peter Billson wrote:

> > Is there a way to permit relaying some hosts only if the "From:"
> > line is local?
> > I mean, relay *.edu.uy only if From: *@fcien.edu.uy.
> 
> Do you mean to accept the mail regardless of where it *actually* comes
> from as long as the From line *says* that it comes from edu.uy? That
> would be bad.

Nope. Relay .edu.uy domain only if the sender claims to be 
any [EMAIL PROTECTED]

It is a mix of Sendmail's "relay_local_from" .AND. relay_hosts = .edu.uy

-- 
Carlos Barros.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim and relaying

2001-07-31 Thread Peter Billson

> Is there a way to permit relaying some hosts only if the "From:"
> line is local?
> 
> I mean, relay *.edu.uy only if From: *@fcien.edu.uy.

Do you mean to accept the mail regardless of where it *actually* comes
from as long as the From line *says* that it comes from edu.uy? That
would be bad.

Pete
-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




exim and relaying

2001-07-31 Thread Carlos Barros

Hello!

Is there a way to permit relaying some hosts only if the "From:"
line is local?

I mean, relay *.edu.uy only if From: *@fcien.edu.uy.

-- 

Carlos Barros.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]