As far as i can see the main.cf and master.cf are copied to the /tmp/ispcp-1.0.0/etc/ispcp/postfix/ , however after completing the setup script
they are not present in /etc/postfix/, my work around was to get
those 2 files and put them in /etc/postfix/ before executing the
setup script.
Now all my email accounts are able to send and recieve mail. EXEPT the accounts on the main domain name, the server hostname. If somebody can give me directions how to fix that, i will be very thankful. All mail sent to any mail user at my hostname dot com is returned with error:
Code:
Diagnostic-Code: X-Postfix; unknown user: "admin"
make install output:[/code]
Code:
cd ./tools && make install
make[1]: Entering directory `/usr/src/web/svn/nightly/tools'
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/daemon
cp ./daemon/ispcp_daemon /tmp/ispcp-1.0.0/var/www/ispcp/daemon
make[1]: Leaving directory `/usr/src/web/svn/nightly/tools'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/ispcp
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp
/bin/mkdir -p /tmp/ispcp-1.0.0/var/log/ispcp
/bin/mkdir -p /tmp/ispcp-1.0.0/var/log/ispcp/ispcp-arpl-msgr
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/virtual
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/fcgi
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/scoreboards
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/awstats
/bin/mkdir -p /tmp/ispcp-1.0.0/var/mail/virtual
/bin/mkdir -p /tmp/ispcp-1.0.0/var/log/apache2/backup
cd ./configs && make install &
cd ./engine && make install
make[1]: Entering directory `/usr/src/web/svn/nightly/configs'
if test debian = debian ; then \
cp ./ispcp.conf /tmp/ispcp-1.0.0/etc/ispcp ; \
(cd ./apache && make install &); \
(cd ./awstats && make install &); \
(cd ./bind && make install &); \
(cd ./cron.d && make install &); \
(cd ./database && make install &); \
(cd ./fcgi && make install &); \
(cd ./init.d && make install &); \
(cd ./postfix && make install &); \
(cd ./courier && make install &); \
(cd ./proftpd && make install &); \
(cd ./logrotate && make install); \
elif test debian = centos ; then \
cd ./dists/centos && make install ; \
elif test debian = fedora ; then \
cd ./dists/fedora && make install ; \
elif test debian = gentoo ; then \
cd ./dists/gentoo && make install ; \
elif test debian = redhat ; then \
cd ./dists/redhat && make install ; \
elif test debian = sles9 ; then \
cd ./dists/sles9 && make install ; \
elif test debian = suse100 ; then \
cd ./dists/suse10 && make install ; \
elif test debian = opensuse10 ; then \
cd ./dists/opensuse10 && make install ; \
elif test debian = ubuntu ; then \
cd ./dists/ubuntu && make install ; \
fi
make[1]: Entering directory `/usr/src/web/svn/nightly/engine'
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/engine
/usr/bin/install -d -o root -g root -m 0755 /tmp/ispcp-1.0.0/var/www/ispcp/engine
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/apache'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/ispcp/apache
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/cron.d'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/ispcp/cron.d
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/init.d'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/init.d
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/bind'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/ispcp/bind
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/default
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/awstats'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/ispcp/awstats
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/apache2
cp ./ispcp /tmp/ispcp-1.0.0/etc/ispcp/cron.d
cp ./named.conf ./working
cp ispcp_daemon /tmp/ispcp-1.0.0/etc/init.d
cp -R ./awstats.ispcp_tpl.conf /tmp/ispcp-1.0.0/etc/ispcp/awstats
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/apache2/sites-available
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/database'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/ispcp/database
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/apache2/mods-available
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/postfix'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/ispcp/postfix
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/courier'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/ispcp/courier
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/fcgi'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/ispcp/fcgi
cp ./database.sql /tmp/ispcp-1.0.0/etc/ispcp/database
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/proftpd'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/ispcp/proftpd
cp -R ./backup /tmp/ispcp-1.0.0/etc/ispcp/cron.d
make[2]: Entering directory `/usr/src/web/svn/nightly/configs/logrotate'
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/logrotate.d
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/courier
cp ispcp_network /tmp/ispcp-1.0.0/etc/init.d
cp ./ispcp /tmp/ispcp-1.0.0/etc/logrotate.d
cp -R ./backup /tmp/ispcp-1.0.0/etc/ispcp/fcgi
cp ./httpd.conf /tmp/ispcp-1.0.0/etc/ispcp/apache
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/postfix
cp -R ./backup /tmp/ispcp-1.0.0/etc/ispcp/proftpd
cp ./main.cf /tmp/ispcp-1.0.0/etc/ispcp/postfix/main.cf
cp ./authdaemonrc /tmp/ispcp-1.0.0/etc/ispcp/courier
cp ./languages.sql /tmp/ispcp-1.0.0/etc/ispcp/database
cp -R ./parts /tmp/ispcp-1.0.0/etc/ispcp/fcgi
cp ./authmodulelist /tmp/ispcp-1.0.0/etc/ispcp/courier
cp ./master.cf /tmp/ispcp-1.0.0/etc/ispcp/postfix/master.cf
cp ./00_master.conf /tmp/ispcp-1.0.0/etc/ispcp/apache
cp -R ./parts /tmp/ispcp-1.0.0/etc/ispcp/cron.d
cp ./01_awstats.conf /tmp/ispcp-1.0.0/etc/ispcp/apache
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/logrotate'
# Debian 4.0 "Etch"?
chown root:root /tmp/ispcp-1.0.0/etc/init.d/ispcp_network /tmp/ispcp-1.0.0/etc/init.d/ispcp_daemon
chmod 0755 /tmp/ispcp-1.0.0/etc/init.d/ispcp_network /tmp/ispcp-1.0.0/etc/init.d/ispcp_daemon
if [[ `cat /etc/debian_version | awk '{print }'` = '4.0' ]] || [[ `cat /etc/debian_version | awk '{print }'` = 'lenny/sid' ]]; then \
if [[ -e /etc/proftpd.conf ]] ; then \
mv /etc/proftpd.conf /etc/proftpd.conf.bak ; \
fi ; \
/bin/mkdir -p /tmp/ispcp-1.0.0/etc/proftpd ; \
cp ./proftpd1.3.conf /tmp/ispcp-1.0.0/etc/ispcp/proftpd/proftpd.conf ; \
cp ./proftpd1.3.conf /tmp/ispcp-1.0.0/etc/proftpd/proftpd.conf ; \
else \
cp ./proftpd.conf /tmp/ispcp-1.0.0/etc ; \
cp ./proftpd.conf /tmp/ispcp-1.0.0/etc/ispcp/proftpd ; \
fi \
make[1]: Leaving directory `/usr/src/web/svn/nightly/configs'
cp ./named.conf /tmp/ispcp-1.0.0/etc/ispcp/bind
if [[ -f ispcp_daemon.default ]]; then \
cp -p ispcp_daemon.default /tmp/ispcp-1.0.0/etc/default/ispcp_daemon ; \
fi
cp -R ./backup /tmp/ispcp-1.0.0/etc/ispcp/postfix
cp -R ./backup /tmp/ispcp-1.0.0/etc/ispcp/apache
cp ./imapd /tmp/ispcp-1.0.0/etc/ispcp/courier
cp -R ./backup /tmp/ispcp-1.0.0/etc/ispcp/bind
if [[ -f ispcp_network.default ]]; then \
cp -p ispcp_network.default /tmp/ispcp-1.0.0/etc/default/ispcp_network ; \
fi
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/awstats'
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/database'
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/init.d'
cp ./pop3d /tmp/ispcp-1.0.0/etc/ispcp/courier
cp -R ./parts /tmp/ispcp-1.0.0/etc/ispcp/postfix
cp ./userdb /tmp/ispcp-1.0.0/etc/ispcp/courier
cp -R ./parts /tmp/ispcp-1.0.0/etc/ispcp/apache
cp -R ./parts /tmp/ispcp-1.0.0/etc/ispcp/bind
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/proftpd'
cp -R ./working /tmp/ispcp-1.0.0/etc/ispcp/postfix
cp -R ./backup /tmp/ispcp-1.0.0/etc/ispcp/courier
cp -R ./working /tmp/ispcp-1.0.0/etc/ispcp/cron.d
cp -R ./working /tmp/ispcp-1.0.0/etc/ispcp/courier
cp /tmp/ispcp-1.0.0/etc/ispcp/cron.d/ispcp /tmp/ispcp-1.0.0/etc/ispcp/cron.d/working
cp -R ./ispcp /tmp/ispcp-1.0.0/etc/ispcp/postfix
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/cron.d'
cp ./authdaemonrc /tmp/ispcp-1.0.0/etc/courier
cp ./authmodulelist /tmp/ispcp-1.0.0/etc/courier
cp ./imapd /tmp/ispcp-1.0.0/etc/courier
cp ./pop3d /tmp/ispcp-1.0.0/etc/courier
cp ./userdb /tmp/ispcp-1.0.0/etc/courier
cp -R ./working /tmp/ispcp-1.0.0/etc/ispcp/bind
cp -R ./ispcp /tmp/ispcp-1.0.0/etc/postfix
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/postfix'
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/bind'
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/courier'
cp -R ./working /tmp/ispcp-1.0.0/etc/ispcp/fcgi
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/fcgi'
cp -R ./working /tmp/ispcp-1.0.0/etc/ispcp/apache
cp ./httpd.conf /tmp/ispcp-1.0.0/etc/ispcp/apache/working/ispcp.conf
cp ./httpd.conf /tmp/ispcp-1.0.0/etc/ispcp/apache/parts/ispcp_base.tpl
# Debian 4.0 "Etch"?
if [[ `cat /etc/debian_version | awk '{print }'` = '4.0' ]] || [[ `cat /etc/debian_version | awk '{print }'` = 'lenny/sid' ]]; then \
cp ./fastcgi2.conf /tmp/ispcp-1.0.0/etc/ispcp/apache/working/fastcgi_ispcp.conf ; \
else \
cp ./fastcgi.conf /tmp/ispcp-1.0.0/etc/ispcp/apache/working/fastcgi_ispcp.conf ; \
fi
cp -R /tmp/ispcp-1.0.0/etc/ispcp/apache/working/fastcgi_ispcp.conf /tmp/ispcp-1.0.0/etc/apache2/mods-available/fastcgi_ispcp.conf
make[2]: Leaving directory `/usr/src/web/svn/nightly/configs/apache'
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/engine/awstats
/usr/bin/install -d -o root -g root -m 0700 /tmp/ispcp-1.0.0/var/www/ispcp/engine/awstats
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/engine/backup
/usr/bin/install -d -o root -g root -m 0700 /tmp/ispcp-1.0.0/var/www/ispcp/engine/backup
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/engine/quota
/usr/bin/install -d -o root -g root -m 0700 /tmp/ispcp-1.0.0/var/www/ispcp/engine/quota
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/engine/traffic
/usr/bin/install -d -o root -g root -m 0700 /tmp/ispcp-1.0.0/var/www/ispcp/engine/traffic
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/engine/messager
/usr/bin/install -d -o root -g root -m 0755 /tmp/ispcp-1.0.0/var/www/ispcp/engine/messager
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/engine/setup
/usr/bin/install -d -o root -g root -m 0700 /tmp/ispcp-1.0.0/var/www/ispcp/engine/setup
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/engine/tools
/usr/bin/install -d -o root -g root -m 0700 /tmp/ispcp-1.0.0/var/www/ispcp/engine/tools
cd ./traffic && make install
make[2]: Entering directory `/usr/src/web/svn/nightly/engine/traffic'
/bin/mkdir -p /tmp/ispcp-1.0.0/usr/sbin
/usr/bin/install -m 0700 -o root -g root ./maillogconvert/maillogconvert.pl /tmp/ispcp-1.0.0/usr/sbin
make[2]: Leaving directory `/usr/src/web/svn/nightly/engine/traffic'
/usr/bin/install -m 0700 -o root -g root ./ispcp_common_code.pl /tmp/ispcp-1.0.0/var/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g root ./ispcp_common_methods.pl /tmp/ispcp-1.0.0/var/www/ispcp/engine
# keys needed for ISPCP engine;
/usr/bin/install -m 0700 -o root -g root ./ispcp-db-keys.pl /tmp/ispcp-1.0.0/var/www/ispcp/engine
# one more copy for auto replay system;
/usr/bin/install -m 0700 -o root -g root ./ispcp-db-keys.pl /tmp/ispcp-1.0.0/var/www/ispcp/engine/messager
/usr/bin/install -m 0700 -o root -g root ./ispcp-rqst-mngr /tmp/ispcp-1.0.0/var/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g root ./ispcp-dmn-mngr /tmp/ispcp-1.0.0/var/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g root ./ispcp-sub-mngr /tmp/ispcp-1.0.0/var/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g root ./ispcp-als-mngr /tmp/ispcp-1.0.0/var/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g root ./ispcp-htuser-mngr /tmp/ispcp-1.0.0/var/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g root ./ispcp-mbox-mngr /tmp/ispcp-1.0.0/var/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g root ./ispcp-serv-mngr /tmp/ispcp-1.0.0/var/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g root ./ispcp-db-passwd /tmp/ispcp-1.0.0/var/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g root ./awstats/awstats_buildstaticpages.pl /tmp/ispcp-1.0.0/var/www/ispcp/engine/awstats
/usr/bin/install -m 0700 -o root -g root ./awstats/awstats_updateall.pl /tmp/ispcp-1.0.0/var/www/ispcp/engine/awstats
/usr/bin/install -m 0700 -o root -g root ./backup/ispcp-bk-task /tmp/ispcp-1.0.0/var/www/ispcp/engine/backup
/usr/bin/install -m 0700 -o root -g root ./backup/ispcp-backup-all /tmp/ispcp-1.0.0/var/www/ispcp/engine/backup
/usr/bin/install -m 0700 -o root -g root ./backup/ispcp-backup-ispcp /tmp/ispcp-1.0.0/var/www/ispcp/engine/backup
/usr/bin/install -m 0700 -o root -g root ./quota/ispcp-dsk-quota /tmp/ispcp-1.0.0/var/www/ispcp/engine/quota
/usr/bin/install -m 0700 -o root -g root ./messager/ispcp-arpl-msgr /tmp/ispcp-1.0.0/var/www/ispcp/engine/messager
/usr/bin/install -m 0700 -o root -g root ./setup/set-engine-permissions.sh /tmp/ispcp-1.0.0/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/set-gui-permissions.sh /tmp/ispcp-1.0.0/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/reset-setup /tmp/ispcp-1.0.0/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/ispcp-setup /tmp/ispcp-1.0.0/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/ispcp-uninstall /tmp/ispcp-1.0.0/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/vhcs2.4.7-ispcp.sql /tmp/ispcp-1.0.0/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/vhcs2.4.8-ispcp.sql /tmp/ispcp-1.0.0/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/ispcp-update /tmp/ispcp-1.0.0/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./tools/ispcp-httpd-logs-mngr /tmp/ispcp-1.0.0/var/www/ispcp/engine/tools/ispcp-httpd-logs-mngr
/usr/bin/install -m 0700 -o root -g root ./tools/ispcpphptemp.sh /tmp/ispcp-1.0.0/var/www/ispcp/engine/tools/ispcpphptemp.sh
/usr/bin/install -m 0700 -o root -g root ./traffic/ispcp-srv-traff /tmp/ispcp-1.0.0/var/www/ispcp/engine/traffic
/usr/bin/install -m 0700 -o root -g root ./traffic/ispcp-vrl-traff /tmp/ispcp-1.0.0/var/www/ispcp/engine/traffic
/usr/bin/install -m 0700 -o root -g root ./traffic/ispcp-vrl-traff-SUSE /tmp/ispcp-1.0.0/var/www/ispcp/engine/traffic
/usr/bin/install -m 0700 -o root -g root ./traffic/ispcp-vrl-traff-correction /tmp/ispcp-1.0.0/var/www/ispcp/engine/traffic
make[1]: Leaving directory `/usr/src/web/svn/nightly/engine'
cd ./gui && make install
make[1]: Entering directory `/usr/src/web/svn/nightly/gui'
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/gui
cp ./index.php /tmp/ispcp-1.0.0/var/www/ispcp/gui/index.php
cp ./lostpassword.php /tmp/ispcp-1.0.0/var/www/ispcp/gui/lostpassword.php
cp ./imagecode.php /tmp/ispcp-1.0.0/var/www/ispcp/gui/imagecode.php
cp ./robots.txt /tmp/ispcp-1.0.0/var/www/ispcp/gui/robots.txt
cp ./favicon.ico /tmp/ispcp-1.0.0/var/www/ispcp/gui/favicon.ico
cp -dR ./admin /tmp/ispcp-1.0.0/var/www/ispcp/gui
cp -dR ./reseller /tmp/ispcp-1.0.0/var/www/ispcp/gui
cp -dR ./client /tmp/ispcp-1.0.0/var/www/ispcp/gui
cp -dR ./include /tmp/ispcp-1.0.0/var/www/ispcp/gui
cp -dR ./domain_default_page /tmp/ispcp-1.0.0/var/www/ispcp/gui
cp -dR ./errordocs /tmp/ispcp-1.0.0/var/www/ispcp/gui
cp -dR ./themes /tmp/ispcp-1.0.0/var/www/ispcp/gui
cp -dR ./tools /tmp/ispcp-1.0.0/var/www/ispcp/gui
cp -dR ./orderpanel /tmp/ispcp-1.0.0/var/www/ispcp/gui
cp -dR ./phptmp /tmp/ispcp-1.0.0/var/www/ispcp/gui
make[1]: Leaving directory `/usr/src/web/svn/nightly/gui'
cd ./keys && make install
make[1]: Entering directory `/usr/src/web/svn/nightly/keys'
/bin/mkdir -p /tmp/ispcp-1.0.0/var/www/ispcp/keys
cp ./rpl.pl /tmp/ispcp-1.0.0/var/www/ispcp/keys
make[1]: Leaving directory `/usr/src/web/svn/nightly/keys'