A BUGNOTE has been added to this bug.
======================================================================
http://dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000137
======================================================================
Reported By:                aaron
Assigned To:                
======================================================================
Project:                    DBMail
Bug ID:                     137
Category:                   Documentation
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             11-Dec-04 00:59 CET
Last Modified:              11-Dec-04 00:59 CET
======================================================================
Summary:                    Configuration for SMTP AUTH for various MTA's
Description: 
We should have a document explaining SMTP AUTH, with subdocuments for how
to connect each of the major MTA's to DBMail's database.
======================================================================

----------------------------------------------------------------------
 aaron - 11-Dec-04 00:59 CET 
----------------------------------------------------------------------
Drew Morris asked, and Christian Warden answered:

Exim configuration for SMTP AUTH against dbmail database is pretty
straight
forward.

begin authenticators

plain:
  driver = plaintext
  public_name = PLAIN
  server_condition = ${lookup mysql{SELECT user_idnr FROM users WHERE
userid =
'${quote_mysql:$2}' AND passwd = '${quote_mysql:$3}'}{1}fail}
  server_set_id = $2
  server_advertise_condition = ${if eq{$tls_cipher}{}{no}{yes}}

login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = "Username:: : Password::"
  server_condition = ${lookup mysql{SELECT user_idnr FROM users WHERE
userid =
'${quote_mysql:$1}' AND passwd = '${quote_mysql:$2}'}{1}fail}
  server_set_id = $1
  server_advertise_condition = ${if eq{$tls_cipher}{}{no}{yes}}

cram_md5:
  driver = cram_md5
  public_name = CRAM-MD5
  server_secret = ${lookup mysql{SELECT passwd FROM users WHERE userid =
'${quote_mysql:$1}'}{$value}fail}
  server_set_id = $1

spa:
  driver = spa
  public_name = NTLM
  server_password = ${lookup mysql{SELECT passwd FROM users WHERE userid
=
'${quote_mysql:$1}'}{$value}fail}

Bug History
Date Modified  Username       Field                    Change              
======================================================================
11-Dec-04 00:59aaron          New Bug                                      
11-Dec-04 00:59aaron          Bugnote Added: 0000434                       
======================================================================

Reply via email to