On Tue, 13 Feb 2007 14:41:55 -0500 Arjun Datta <arjun@...> wrote: > For example: the README mentions installing the greylist using configure && > make && make install. When I tried that it did not install properly as These are general compiling from source instructions. You should run ./configure --help and adjust --prefix for your needs. > various files that should have been in certain places were not there: > > there was no greylist.conf in /etc/mail - I had to copy it over, it was probably in /usr/local/etc/mail? > there was no pid or sock file when I started the service (after copying the > correct script over to /etc/rc.d/init.d) Service could not be started because it was not able to create sock file in /var/milter directory. > So, when I was asking about rebuilding with 'user as smmsp' I meant when > using rpmbuild and not using 'configure && make && make install'. That > would be mentioned in the man page for rpmbuild (which I have read) and I > could not find it. That is also not mentioned in the README. Which is why > I asked. No, it isn't and shouldn't be mentioned in the man page for rpmbuild. Actually it's mentioned in README of milter-greylist-3.1.5: A .spec file is included in the distribution to build an RPM for RedHat Linux. This is achieved by running rpmbuild on milter-greylist source tarball: rpmbuild -tb milter-greylist-3.1.4.tgz. You can define build_user, build_postfix, build_dnsrbl, build_libbind - for example, to build with DNSRBL support and choose smmsp as the user that will run milter-greylist, use rpmbuild --define "build_user smmsp" --define "build_dnsrbl 1" -tb milter-greylist-3.1.4.tgz If you use 3.0, then it's a bit more difficult - you should unpack the archive and change %define user root to %define user smmsp in milter-greylist.spec, then use rpmbuild -bb milter-greylist.spec. > I only ask this - is the README the best and only place for learning how to > fine tune the .conf file ? Not only, also comments in greylist.conf and greylist2.conf, man page and mailing list archives. Regards, Nerijus
Message
Re: [milter-greylist] Re: Install trouble
2007-02-13 by Nerijus Baliunas
Attachments
- No local attachments were found for this message.