Szerző: Jakob Hirsch
Dátum:
Címzett: Latrell
CC: exim-users
Tárgy: 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";