Re: [Exim] Faking authenticated senders while testing ACLs

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Stephen Gran
Data:  
Para: Exim Users List
Asunto: Re: [Exim] Faking authenticated senders while testing ACLs
On Sun, Jun 27, 2004 at 10:24:30AM +0530, Sandip Bhattacharya said:
> Hi!
>
> I want to run a relay test for my acls. I am selectively blocking
> certain authenticated senders from sending mail to some fixed
> destinations.
>
> How would I be using "exim -bhc" by faking a $authenticated_id?


After EHLO <hostname> use AUTH <AUTH Method>.
Use this perl snippet from the exim docs to get a Base-64 encoded string
to send:
#!/usr/bin/perl
use MIME::Base64;
printf ("%s", encode_base64(eval "\"$ARGV[0]\""));

HTH,
--
--------------------------------------------------------------------------
|  Stephen Gran                  | Moebius always does it on the same      |
|  steve@???             | side.                                   |
|  http://www.lobefin.net/~steve |                                         |

--------------------------------------------------------------------------