Re: [Exim] Help with expansion variables

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Earnshaw
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Help with expansion variables
søn, 2003-01-19 kl. 15:05 skrev Giuliano Gavazzi:

> why are you checking the local part? Unless I misunderstand your
> requirement, this is all you need to deny pretended local senders
> from remote connections (I actually deny this from any connection
> that has not been authenticated):
>
> # deny if sender pretends to be in local domain and connection not
> authenticated
> deny    sender_domains    = +local_domains
>     message    = forged sender in local domain.
>       log_message    = preposterous_senders: forged sender in local domain

>
> you will clearly have to put this after the accept rule that allows
> you users to send email.


I tried it in various guises, swapped it around, put in and took out
endpass-es etc, but each time I could still send mail vial telnet as
myself@??? from my Norwegian shell account. And yes, I HUPped
Exim each time.

Thanks anyway!

> Also, this will stop any emails a local user sent to a remote account
> that in turn get redirected to another local user.


I suppose it would do, if it worked for me.

Best,

Tony.

--

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:        tonni@???
www:        http://www.billy.demon.nl