2013/5/22 Michael Starling <[email protected]>: > Good day, > > I've downloaded the latest version of SSP and installed it on RHEL 5.8 and > managed to get the password reset fucntionality to work, however if I try > and use the "reset by mail tokens" option it appears to work.(no errors in > the logs or on the page) but an email is never generated as I never see > anything go to /var/log/maillog. I do see the tokens being generated in the > self service log as well. It's worth noting that I can send email using > php/sendmail without a problem and I've also managed to get emails from the > checkLdapPwdExpiration.sh script. Any help would be greatly appreciated. > > Thanks > > Here is my configuration for the relevant sections. > > config.inc.php > > > ## Token > # Use tokens? > # true (default) > # false > $use_tokens = true; > # Crypt tokens? > # true (default) > # false > $crypt_tokens = true; > # Token lifetime in seconds > $token_lifetime = "3600"; > > > ## Mail > # LDAP mail attribute > $mail_attribute = "mail"; > # Who the email should come from > $mail_from = "[email protected]"; > # Notify users anytime their password is changed > $notify_on_change = true; > > > php.ini > > ; For Unix only. You may supply arguments as well (default: "sendmail -t > -i"). > sendmail_path = /usr/sbin/sendmail -t > mail.log = /var/log/phpmail.log > > > /var/log/self-service-password > > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:5WZ9a6aSJh2fRZM5kZ/E9VRKAnzz4ewM4iCBO4qxSDM=e3Pc8ecY5jgCStZsrDFdh22gd0eQtgi1ziE= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:pHYm8wcXxcaXBY+VWAf8rwWLe2BtH0j2kbtuY507IBo=tEB0g/BVjo5PJycphr4LkOfGWzXnrziiit8= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:WT6lNr9oxwVCX3mRWvgt2QcBFUEloMLsKGhrlyZn30M=P7tMxiwom6QJExpDgP5r8j0diMnEsy9PDb8= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:g695BkBKWvqjeVxHGWAlyRPLhzlJUfMrph3cRlxDqqE=waDSHI8xwXqZeYuswgsae/Gam3zgdnnANvs= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:WmYvyj7UL1pNsCwuv6dP8gaAIPcKO2tE8qhZsfKQsyM=RRWVibm77u9QEmuBRiy7Gj0j0z+quuH+00E= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:KNt2PhhgZlFtodYDttvw/AP2UqBZi6dDgXUW2JKOqSM=YoYV0fRC5/gULa42Tjl41PWqUFfcQsZN670= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:IjEBBbuOj5Q9UI0/wQ1OOzvNyP2i/6cQSRTrIBDdqJA=YGYbPVA5nR4MtSPFDGaV3qzpvoG7yiq+9Zs= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:pjE4qhsErp8TiIzNPqpWBKI7e1q+vPXB7wX2vcbljak=5Yv8VxGZ7o0eF+OtWUAaMED5TPP0eH1iEbA= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:xyob1KkXGUBwmzQGxm1mf2t2xjexGH8HqY0z3YAmpQQ=7PinntyLEeMfeSP8WC36rRejUFk1ZZqpAI4= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:jLlJtca7VBEWoO3HcbZ0kI48ZkJtQuQvaV40shDddOg=Sdj1/7ubZrHn9aqKX/CRWxL+BrBqTv8/O/E= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:WRBh4FJ+ptKvXBqE9jPg8av+AiSIElUVyfF/ycBELcY=ePQeEUEo7EGMzAUfJWYEjBnpDbbGlKC02ng= > > Send reset URL > http://ldap1/index.php?action=resetbytoken&token=44:9hP0E2lLzbVb+HpZzkah/rPRb+/YeJixyLYZw9AvsI8=tMem7cUaPX3atD31uSbN6OC1r5S8mszScWM= > >
If you can send mail trough PHP, I do not see any reason SSP could not. We use the mail() function in the code, standard. You can try to comment all mail parameters in php.ini to work with default values. Try to enable debug on SSP too. Clément. _______________________________________________ ltb-users mailing list [email protected] http://lists.ltb-project.org/listinfo/ltb-users
