Menu

users table utility in 8.12.+ versions

Anonymous
2003-04-01
2003-07-15
  • Anonymous

    Anonymous - 2003-04-01

    What is the utility of the users table in the versions 8.12.5 and more recent versions?

    I tried sql-sendmail 8.10.1 and it worked fine.
    This version called the mysql_get_pwd function in recipient.c.

    Why does the 8.12.x patches do not call mysql_get_pwd?

     
    • Kev Green

      Kev Green - 2003-04-02

      I found that out today I think.

      Try opening the patch in a text editor, and doing a search and replace for SQL_MAP to MYSQLMAP.

      Then re-apply the patch to a clean set of sendmail source, and you should have that facility back again.

      Damn stupid typos :-(

       
    • Anonymous

      Anonymous - 2003-04-02

      Thanks for the response.

      This replacement concerns the mailer.local code.
      But that does not solve my problem.

      When I send a mail to an user which is registred in the users table (and not int /etc/passwd), I get "User Unknown" in the maillog file.

      I do not understand what replaced the call to the mysql_get_pwd function in recipient.c in the 8.12.+ versions. This call was made in the 8.10.1 version.

      I think that I encounter the same problem than in the discussion posted by kerplunk ( Nicolas Sigal ) on 2003-03-08 12:36.

      Thanks.

       
    • Anonymous

      Anonymous - 2003-04-02

      Thanks for the response.

      This replacement concerns the mailer.local code.
      But that does not solve my problem.

      When I send a mail to an user which is registred in the users table (and not int /etc/passwd), I get "User Unknown" in the maillog file.

      I do not understand what replaced the call to the mysql_get_pwd function in recipient.c in the 8.12.+ versions. This call was made in the 8.10.1 version.

      I think that I encounter the same problem than in the discussion posted by kerplunk ( Nicolas Sigal ) on 2003-03-08 12:36.

      Thanks.

       
    • Kev Green

      Kev Green - 2003-07-15

      This relates to the MailboxDatabase configuration, as opposed to the UserDatabase configuration I think.

      Try setting MysqlMailboxTable in your /etc/sqlmail.conf file, and compiling the patch and configuring to use mysql MailboxDatabase in /etc/sendmail.cf as per the docs in the latest version.

       

Log in to post a comment.