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 :-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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 :-(
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.
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.
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.