note 57306 added to function.ezmlm-hash

From: Date: Fri, 30 Sep 2005 07:07:35 +0000
Subject: note 57306 added to function.ezmlm-hash
Groups: php.notes 
Request: Send a blank email to php-notes+get-96025@lists.php.net to get a copy of this message
This is really ezmlm documentation, but I certanly would have been happy if I found it anywhere during my time of trial. I am not a Linux expert, as you probably will notice, so things I do/did that might sound incredibly stupid to those who do know. I blame hard-to-find documentation :) I wanted a page where a visitor could add their address to my mailinglist. That shouldn't be too hard, or atleastso I thought... First I tried mailing the mailinglist. For some reason, the mailinglist didn't see my "From:" -header and it failed miserably. Then I tried to use system() to call ezmlm-sub, which only produced the error-code 111. That was an access problem. So, I tried making the mailinglist availible to the website, but the change in permissions caused the mailserver to malfunction (as opposed to mailfunction....). It took a while to sort that mess out. I couldn't find any guide as howto add mysql-support. The big problem was how to know which tables was needed. Apperantly, this is all that is needed: ezmlm-mktab listname | mysql -u root -p databasename Then its just adding the mailinglist with mysql-support i qmailadmin. It doesn't seem to allow socket connection to the database, so iptables has to allow local connections to the mysql port. Hope this helps someone. ---- Manual Page -- http://www.php.net/manual/en/function.ezmlm-hash.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57306 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57306&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57306&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57306&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57306&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57306&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57306&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57306&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57306&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#96025) next »