Hello all!

   I have an XMail server v1.26 runing on Linux (with CourierIMAP for IMAP
clients, really work great)...
   CourierIMAP authenticated with a script through AuthProg (pipe).
   XMail POP3 clients authenticated withan external bash script that works
correctly.
   The same bash script I use for SMTP authentication but has not been
successful, my configuration is:

  For POP3 userauth/pop3/mydomain.tab:
"userauth"<TAB>"/var/MailRoot/bin/xmailldapauth.sh"<TAB>"@@USER"<TAB>"@@PASSWD"<TAB>"serverip"<TAB>"domainame"

  For SMTP smtpextauth.tab (FAIL)
"PLAIN"<TAB>"/var/MailRoot/bin/xmailldapauth.sh"<TAB>"@@USER"<TAB>"@@PASS"<TAB>"serverip"<TAB>"domainame"

  XMail debug mode displays the following message:
  "SMTP client connection from [1.2.3.4]
    execv error: cmd='username'"

  XMail try to run the @@USER macro, just by intuition, if I put the next
field in the configuration file, it works correctly:
 "PLAIN"<TAB>"*DummyField*
"<TAB>"/var/MailRoot/bin/xmailldapauth.sh"<TAB>"@@USER"<TAB>"@@PASS"<TAB>"serverip"<TAB>"domainame"

  What is happening?

  Thank you very much in advance!

  Cesar L. Meloni
_______________________________________________
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail

Reply via email to