Re: [exim] test authentication

Página Inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
Para: Latrell
CC: exim-users
Assunto: Re: [exim] test authentication
Latrell wrote:

> How can I test authentication using some username/passwd pair?


I use this perl script:

#!/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";