Re: [exim] test authentication

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: Latrell
CC: exim-users
Assumpte: 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";