FYI: the OP states he's on CentOS; Axel's RPMs spec file (for .src.rpm) uses some RPM macros not present on CentOS4 (or RHEL4), I had a quick conversation with him about this, it appears they're added in RPM 4.4 but 4.3 is what's on RHEL4/CentOS4.
If you want to rebuild his .src.rpm (i.e. to disable unused things like Postgres, SQLite, etc.) you'll need to set up a personal ~/.rpmmacros with the following:
%bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} %bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}
This'll allow those three lines at the top to properly parse and work. Alternately you can just edit the spec, delete those 3 lines and hard code the right values (which are delete the inotify line, use pam-stacked, and use linuxquota=2 for %configure).
hth! -te
Oliver Schulze L. wrote:
May I suggest compilling the .src.rpm from: http://atrpms.net/name/dovecot/
Or better yet, just install the .i386.rpm from atrpms. The .rpm have standard init scripts for dovecot in: /etc/init.d/dovecot
Is just a matter of: rpm -ivh dovecot-*rpm chkconfig dovecot on vi /etc/dovecot.conf service dovecot start
HTH Oliver
jepoy wrote:
hi guys, just recently installed dovecot from source on my centos box.how can i enable it to automatically start upon reboot.
tnx
-- This message has been scanned for viruses and dangerous content by *MailScanner* <http://mail.dream.com.ph/>, and is believed to be clean.
-- Troy Engel | Systems Engineer Fluid Inc. | http://www.fluid.com