OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
(Kein Thema)

EchtLiebenswertaol.com
Date: Wed Dec 08 2004 - 05:54:52 CST


  
Hi there
 
I trying to install postfix from a source installation + MySQL support.
 
I want to install Postfix in /opt/postfix-2.1.5
 
Here is my Install-Script:
 
--------------------------------------------------
 
make tidy
make clean
 
make Makefile.init makefiles \
CCARGS='-DDEF_COMMAND_DIR=\"/opt/postfix-2.1.5/bin\"' \
' -DDEF_CONFIG_DIR=\"/opt/postfix-2.1.5/conf\"' \
' -DDEF_DAEMON_DIR=\"/opt/postfix-2.1.5/libexec\"' \
' -DDEF_HTML_DIR=\"/opt/postfix-2.1.5/html\"' \
' -DDEF_MANPAGE_DIR=\"/opt/postfix-2.1.5/man\"' \
' -DDEF_NEWALIAS_PATH=\"/opt/postfix-2.1.5/newaliases\"' \
' -DDEF_QUEUE_DIR=\"/opt/postfix-2.1.5/spool\"' \
' -DDEF_README_DIR=\"/opt/postfix-2.1.5/readme\"' \
' -DDEF_SENDMAIL_PATH=\"/opt/postfix-2.1.5/sendmail\"' \
' -DDEF_MAILQ_PATH=\"/opt/postfix-2.1.5/mailq"' \
' -DHAS_MYSQL=/opt/mysql-4.0.21/include/mysql' \
' -DAUXLIBS=\"-L/opt/mysql-4.0.21/lib/mysql -lmysqlclient -lz -lm\"'
 
make
 
sh postfix-install -non-interactive \
install_root=/ \
tempdir=/tmp \
config_directory=/opt/postfix-2.1.5/conf \
daemon_directory=/opt/postfix-2.1.5/libexec \
command_directory=/opt/postfix-2.1.5/bin \
html_directory=/opt/postfix-2.1.5/html \
queue_directory=/opt/postfix-2.1.5/spool \
sendmail_path=/opt/postfix-2.1.5/sendmail \
newaliases_path=/opt/postfix-2.1.5/newaliases \
mailq_path=/opt/postfix-2.1.5/mailq \
mail_owner=postfix \
setgid_group=postdrop \
manpage_directory=/opt/postfix-2.1.5/man \
readme_directory=/opt/postfix-2.1.5/readme \
sample_directory=/opt/postfix-2.1.5/sample
 
--------------------------------------------------
 
After this...
 
postfix: fatal: open /etc/postfix/main.cf: No such file or directory

...the same thing occours when i try to launch /bin/postfix.
 
 
What's wrong with my script?