Re: [exim] Drop all traffic unless authenticated users OR sp…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Bleurgh
Data:  
Para: exim-users
Assunto: Re: [exim] Drop all traffic unless authenticated users OR specific IP ?

Sorry Oliver, that went way over my head. I dont understand anything you
have said.


Oliver von Bueren wrote:
>
> Hi
>
> You don't have to rely on the authenticated_id variable, which you
> probably set on a successful authentication.
> You can use the condition "!authenticated = *".
> This is what I have as the first statement for my submission port rcpt
> acl:
>
>   # MUA must authenticate
>   deny    message        = Authentication is required to send messages
>           !authenticated = *

>
> By adding the hostlist to this, that should work. If not, try an "exim
> -bh myip1" to test the outcome of the condition as well as an
> authenticated session. This way, you simulate the SMTP session and at
> the same time see what exim thinks of it.
>
> If you have to compute the LOGIN/PLAIN auth string, you can use this
> small perl script smtp-auth.pl:
> ---
> #!/usr/bin/perl -w
> #
> # Usage: smtp-auth.pl <user> <pass>
>
> use strict;
> use MIME::Base64;
>
> my $unenc = join ("\000", @ARGV);
>
> print "AUTH LOGIN " . encode_base64("$unenc", '') . "\n";
> print "AUTH PLAIN " . encode_base64("\000$unenc", '') . "\n";
> ---
>
>        Oliver

>
>
>
>




--
View this message in context: http://www.nabble.com/Drop-all-traffic-unless-authenticated-users-OR-specific-IP---tp15086940p15087804.html
Sent from the Exim Users mailing list archive at Nabble.com.