Autor: Jakob Hirsch
Datum:
To: Latrell
CC: exim-users
Betreff: 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";