This is a discussion on Re: Postfix can't find /etc/postfix/main.cf within the mailing.postfix.users forums, part of the Mail Servers and Related category; -------------------------------1098616007 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit First - Thanks for the fast reply ;) &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
-------------------------------1098616007 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit First - Thanks for the fast reply ;) >> make >> >> chmod uog+rwx postfix-install > >What is the purpose of this? I had a "check your rights" error message the first time :) I killed these lines right now :) > >> sh postfix-install -non-interactive \ > >Why not "make install" (or "make upgrade" if you're upgrading)? > make install requires an interactive version - its a lot of typing while testing - So i decided to use this. (Is make install able to handle these parameters too?) My 'new' script: cd /opt rm -rf postfix* cd /down*/post* 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' Here i have a problem. '...' doesnt work ... and fails with an error message that a couple of mysql header files couldnt be found. '...' '...' works well - but then it fails with the same message again: postfix: fatal: open /etc/postfix/main.cf: No such file or directory 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 -------------------------------1098616007 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3DUS-ASCII"> <META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR></HEAD> <BODY id=3Drole_body style=3D"FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: A= rial"=20 bottomMargin=3D7 leftMargin=3D7 topMargin=3D7 rightMargin=3D7><FONT id=3Drol= e_document=20 face=3DArial color=3D#000000 size=3D1> <DIV><STRONG><FONT size=3D1>First - Thanks for the fast reply=20 ;)</FONT></STRONG></DIV> <DIV><STRONG><FONT size=3D1></FONT></STRONG> </DIV> <DIV><FONT size=3D1>>> make<BR>>> <BR>>> chmod uog+r= wx=20 postfix-install<BR>><BR>>What is the purpose of this?</FONT></DIV> <DIV><FONT size=3D1></FONT> </DIV> <DIV><FONT size=3D1><STRONG>I had a "check your rights" error message the fi= rst=20 time :) I killed these lines right now :)</STRONG></DIV> <DIV><STRONG></STRONG><BR>><BR>>> sh postfix-install -non-interacti= ve=20 \<BR>><BR>>Why not "make install" (or "make upgrade" if you're=20 upgrading)?<BR>></FONT></DIV> <DIV><FONT size=3D1></FONT> </DIV> <DIV><FONT size=3D1>make install requires an interactive version - its a lot= of=20 typing while testing - So i decided to use this. (Is make install able to ha= ndle=20 these parameters too?)</FONT></DIV> <DIV><FONT size=3D1></FONT> </DIV> <DIV><FONT size=3D1>My 'new' script:</FONT></DIV> <DIV><FONT size=3D1></FONT> </DIV> <DIV><STRONG><FONT size=3D1>cd /opt<BR>rm -rf postfix*</FONT></STRONG></DIV> <DIV> </DIV> <DIV><STRONG><FONT size=3D1>cd /down*/post*</FONT></STRONG></DIV> <DIV> </DIV> <DIV><STRONG><FONT size=3D1>make tidy<BR>make clean</FONT></STRONG></DIV> <DIV> </DIV> <DIV><STRONG><FONT size=3D1>make Makefile.init makefiles \<BR> =20 CCARGS=3D'-DDEF_COMMAND_DIR=3D/opt/postfix-2.1.5/bin \<BR> =20 -DDEF_CONFIG_DIR=3D/opt/postfix-2.1.5/conf \<BR> =20 -DDEF_DAEMON_DIR=3D/opt/postfix-2.1.5/libexec \<BR> =20 -DDEF_HTML_DIR=3D/opt/postfix-2.1.5/html \<BR> =20 -DDEF_MANPAGE_DIR=3D/opt/postfix-2.1.5/man \<BR> =20 -DDEF_NEWALIAS_PATH=3D/opt/postfix-2.1.5/newaliases \<BR> =20 -DDEF_QUEUE_DIR=3D/opt/postfix-2.1.5/spool \<BR> =20 -DDEF_README_DIR=3D/opt/postfix-2.1.5/readme \<BR> =20 -DDEF_SENDMAIL_PATH=3D/opt/postfix-2.1.5/sendmail \<BR> =20 -DDEF_MAILQ_PATH=3D/opt/postfix-2.1.5/mailq \<BR> =20 -DHAS_MYSQL=3D/opt/mysql-4.0.21/include/mysql' \<BR> =20 '-DAUXLIBS=3D-L/opt/mysql-4.0.21/lib/mysql -lmysqlclient -lz=20 -lm'</FONT></STRONG></DIV> <DIV><STRONG><FONT size=3D1></FONT></STRONG> </DIV> <DIV><STRONG><FONT size=3D1>Here i have a problem. '...' doesnt work ... and= fails=20 with an error message that a couple of mysql header files couldnt be found.=20 '...' '...' works well - but then it fails with the same message again:=20 </FONT></STRONG></DIV> <DIV><STRONG><FONT size=3D1></FONT></STRONG> </DIV> <DIV><STRONG><FONT size=3D1>postfix: fatal: open /etc/postfix/main.cf: No su= ch=20 file or directory<BR></FONT></STRONG></DIV> <DIV><STRONG><FONT size=3D1></FONT></STRONG> </DIV> <DIV><STRONG><FONT size=3D1>make</FONT></STRONG></DIV> <DIV> </DIV> <DIV><STRONG><FONT size=3D1>sh postfix-install -non-interactive \<BR> =20 install_root=3D/ \<BR> tempdir=3D/tmp \<BR> =20 config_directory=3D/opt/postfix-2.1.5/conf \<BR> =20 daemon_directory=3D/opt/postfix-2.1.5/libexec \<BR> =20 command_directory=3D/opt/postfix-2.1.5/bin \<BR> =20 html_directory=3D/opt/postfix-2.1.5/html \<BR> =20 queue_directory=3D/opt/postfix-2.1.5/spool \<BR> =20 sendmail_path=3D/opt/postfix-2.1.5/sendmail \<BR> =20 newaliases_path=3D/opt/postfix-2.1.5/newaliases \<BR> =20 mailq_path=3D/opt/postfix-2.1.5/mailq \<BR> mail_owner=3Dpostfix \<BR>= =20 setgid_group=3Dpostdrop \<BR> manpage_directory=3D/opt/postfix-2.1.5/m= an=20 \<BR> readme_directory=3D/opt/postfix-2.1.5/readme \<BR> =20 sample_directory=3D/opt/postfix-2.1.5/sample</FONT></STRONG></DIV> <DIV> </DIV> <DIV><STRONG><FONT size=3D1><BR></FONT></STRONG> </DIV> <DIV><FONT size=3D1></FONT> </DIV> <DIV><FONT size=3D1></FONT> </DIV></FONT></BODY></HTML> -------------------------------1098616007-- |