LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Exim : Failt to authorise through command line (http://www.linuxquestions.org/questions/linux-software-2/exim-failt-to-authorise-through-command-line-452016/)

vikasumit 06-06-2006 03:55 AM

Exim : Failt to authorise through command line
 
Hi

I have trying to connect to my Exim 4.62 through commandline to send email,

what I did is connect to exim mail server using
Code:

#nc 192.168.1.185 25
220-vikasumit.Server ESMTP Exim 4.62 #9 Tue, 06 Jun 2006 13:06:22 +0530
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
EHLO
250-vikasumit.Server Hello  [192.168.1.185]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
AUTH LOGIN sumit:localdomains.com password
501 Invalid base64 data

I didn't understand why I am getting this error 501
I check exim authentictor on server and found this

Code:

[root@vikasumit home]# exim -bP authenticators

fixed_plain authenticator:
driver = plaintext
public_name = PLAIN
server_advertise_condition =
server_debug_print =
server_mail_auth_condition =
server_set_id = $2
no_client_ignore_invalid_base64
client_send =
server_condition = ${perl{checkuserpass}{$1}{$2}{$3}}
server_prompts = :

fixed_login authenticator:
driver = plaintext
public_name = LOGIN
server_advertise_condition =
server_debug_print =
server_mail_auth_condition =
server_set_id = $1
no_client_ignore_invalid_base64
client_send =
server_condition = ${perl{checkuserpass}{$1}{$2}}
server_prompts = Username:: : Password::


If you know I do authorizatoin through PERL script (like cPanel does, infact the above perl script is of cpanel only).

Please guide

Thanks


All times are GMT -5. The time now is 08:32 AM.