Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
SASL/POSTFIX-virtual users in MySQL db-pam_mysql.so missing
View previous topic :: View next topic  
Author Message
internetonly
Junior Member


Joined: 25 Jul 2010
Posts: 4

PostPosted: Sun Jan 09, 2011 2:58 am    Post subject: SASL/POSTFIX-virtual users in MySQL db-pam_mysql.so missing Reply with quote

- Firstly, I have setup virtual users in a MySQL database for Postfix mail server.
- Secondly, I want to use the SASL Authentication against that database, that holds usernames and passwords, but... pam_mysql.so is missing.
- I tried to install pam_mysql-0.7RC1 but :
checking pam_appl.h usability... no
checking pam_appl.h presence... no
checking for pam_appl.h... no
configure: error: Cannot find pam headers. Please check if your system is ready for pam module development.
- Finally, how about pam-devel package ???...
- I'm using S.M.S. ver. 1.5.4. and i tried to implement this :
http://www.debiantutorials.com/installing-postfix-with-mysql-backend-and-sasl-for-smtp-authentication/
http://flurdy.com/docs/postfix/index.html#config-secure-auth

Any tips available ???...
Thanks in advance !!!...
Back to top
View user's profile Send private message Send e-mail
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Sun Jan 09, 2011 7:27 am    Post subject: Reply with quote

Firstly you DON'T need PAM to do this in SMS, since we don't use PAM for authentication.
If you realy want to use PAM you need to change your auth method by installing
http://sms.it-ccs.com/isos/index.php?dir=SMS-Current%2Fextra%2FPAM%2F
SMS-1.5.4 has pam headers under /usr/include/pam from v1.5.5 I restore them in /usr/include/security for not having missing headers issue.
Just copy dir "cp -a /usr/include/pam /usr/include/security" or specify include dir in configure for pam_mysql.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional