OKay so I thought i had this ting figured out, But seem not to have. But 
heres what I got.

smtpextauth.tab
"LOGIN" "System-Auth" "/var/MailRoot/bin/Smtpauth.pl" "@@CHALL" "@@FSECRT" 
"@@DGEST"



Now Smtpauth.pl is a simple script that really just takes the 3 line args 
and outputs them to a log file (just to see what they'd say).

But when ends up happening is well nothing except for the fact when i run a 
"EHLO domain" against my server it now lists TWO login Auth types and the 
script is ever run.

EHLO out put:
250-AUTH LOGIN PLAIN CRAM-MD5 LOGIN


So basicly it looks like with smtpextauth.tab is that it's there not so much 
to act like pop3's External Auth but to allow you to add your own "Auth" 
type to Xmail's Auth types (those being Login,plain,cram-md5).

Or am i completely wrong?

-- Chris L. Franklin --


----- Original Message ----- 
From: "CLEMENT Francis" <[EMAIL PROTECTED]>
To: <xmail@xmailserver.org>
Sent: Wednesday, January 26, 2005 10:53 AM
Subject: [xmail] Re: SMTP external Auth help


> According to xmail doc, you should use SMTPEXTAUTH.TAB file ...
>
> It seems placement of files for custom authentifications is not as =
> 'mind'
> will think at first read ...
> except if I missunderstood the doc ... (and it can be, as English is =
> not my
> favorite langage ...)
>
> To enable xmail SERVER part to Authenticate a POP3 USER using an =
> EXTERNAL
> program
> use <xmailroot>/userauth/pop3 directory with <domain>.tab files
>
> To enable xmail SERVER part to Authenticate a SMTP USER using an =
> EXTERNAL
> program
> use <xmailroot>/smtpextauth.tab
>
> To enable xmail CLIENT part to BE authenticated using an EXTERNAL =
> program by
> a mail server
> (when xmail want to send out as a client)
> use <xmailroot>/userauth/smtp directory with <domain>.tab files
>
> And don't know where to insert SMTPAUTH.TAB .... ;-)
>
> In my mind, if
> userauth/pop3/... is used for external authentification for POP3 =
> (incoming)
> USERS,
> userauth/smtp/... should be used for external authentification for SMTP
> (incoming) USERS ...
>
> (this permit a by domain choice for external programs ...)
> and smtpextauth.tab for xmail AS a smtp client ...
>
> OR defining a more clear structure :
>
> userauth/pop3/... for xmail as a SERVER authenticating a incoming =
> client
> userauth/smtp-in/... for xmail as a SERVER authenticating a incoming =
> client
> userauth/smtp-out/... for xmail as a CLIENT to be authenticated by a
> OUTGOING smtp client
>
> (just some ideas ...)
>
> Francis
>
>
> -----Message d'origine-----
> De : Chris L. Franklin [mailto:[EMAIL PROTECTED]
> Envoy=E9 : mercredi 26 janvier 2005 15:39
> =C0 : xmail@xmailserver.org
> Objet : [xmail] SMTP external Auth help
>
>
> Okay So I got pop3 to auth against system account password with a =
> lightly=20
> modded perl to pam script (some one else wrote and posted to this =
> list).
> [Code]
> [/Code]
>
>
> And in my MailRoot/userauth/pop3 i created a '.tab' and put this inside =
> it :
> "userauth"[TAB]"/var/MailRoot/bin/Authpam.pl"[TAB]"@@USER"[TAB]"@@PASSWD=
> "
>
> No big deal pop3 work great. Now my problem is how could I go about =
> getting=20
> smtp to basicly work the same way ? (part of my problem is i don't find =
> the=20
> XMail docs (ReadMe) to be all that help full when it comes to this.)
>
> XMail exmaples looks like this :
> "external"  "auth-name" "secret"    "prog-path" "arg-or-macro"
>
> So when i break down the columns I see this:
> external: Write external here so that xmail knows to run a external =
> program=20
> / script
> auth-name : replace this with the smtp auth type "cram-md5,login,plain"
> secret : No clue ???
> prog-path : Path to the script or program
> arg-or-macro : this can be @@CHALL,@@SECRT, and or @@RFILE
>
> Basicly I've tryed everything I can think of to get this to work like =
> the=20
> pop3 auth. But i just can seem to grasp Somthing ?
>
> Help
>
> -- Chris L. Franklin --=20
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
>
> 


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to