Bluehost.com Web Hosting $6.95

Re: Postfix can't find /etc/postfix/main.cf

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 ;) &...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-24-2004
EchtLiebenswert@aol.com
 
Posts: n/a
Default Re: Postfix can't find /etc/postfix/main.cf


-------------------------------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>&nbsp;</DIV>
<DIV><FONT size=3D1>&gt;&gt; make<BR>&gt;&gt;&nbsp; <BR>&gt;&gt; chmod uog+r=
wx=20
postfix-install<BR>&gt;<BR>&gt;What is the purpose of this?</FONT></DIV>
<DIV><FONT size=3D1></FONT>&nbsp;</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>&gt;<BR>&gt;&gt; sh postfix-install -non-interacti=
ve=20
\<BR>&gt;<BR>&gt;Why not "make install" (or "make upgrade" if you're=20
upgrading)?<BR>&gt;</FONT></DIV>
<DIV><FONT size=3D1></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT size=3D1>My 'new' script:</FONT></DIV>
<DIV><FONT size=3D1></FONT>&nbsp;</DIV>
<DIV><STRONG><FONT size=3D1>cd /opt<BR>rm -rf postfix*</FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT size=3D1>cd /down*/post*</FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT size=3D1>make tidy<BR>make clean</FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT size=3D1>make Makefile.init makefiles \<BR>&nbsp;=20
CCARGS=3D'-DDEF_COMMAND_DIR=3D/opt/postfix-2.1.5/bin \<BR>&nbsp;&nbsp;=20
-DDEF_CONFIG_DIR=3D/opt/postfix-2.1.5/conf \<BR>&nbsp;&nbsp;=20
-DDEF_DAEMON_DIR=3D/opt/postfix-2.1.5/libexec \<BR>&nbsp;&nbsp;=20
-DDEF_HTML_DIR=3D/opt/postfix-2.1.5/html \<BR>&nbsp;&nbsp;=20
-DDEF_MANPAGE_DIR=3D/opt/postfix-2.1.5/man \<BR>&nbsp;&nbsp;=20
-DDEF_NEWALIAS_PATH=3D/opt/postfix-2.1.5/newaliases \<BR>&nbsp;&nbsp;=20
-DDEF_QUEUE_DIR=3D/opt/postfix-2.1.5/spool \<BR>&nbsp;&nbsp;=20
-DDEF_README_DIR=3D/opt/postfix-2.1.5/readme \<BR>&nbsp;&nbsp;=20
-DDEF_SENDMAIL_PATH=3D/opt/postfix-2.1.5/sendmail \<BR>&nbsp;&nbsp;=20
-DDEF_MAILQ_PATH=3D/opt/postfix-2.1.5/mailq \<BR>&nbsp;&nbsp;=20
-DHAS_MYSQL=3D/opt/mysql-4.0.21/include/mysql' \<BR>&nbsp;&nbsp;=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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><STRONG><FONT size=3D1>make</FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT size=3D1>sh postfix-install -non-interactive \<BR>&nbsp;=20
install_root=3D/ \<BR>&nbsp; tempdir=3D/tmp \<BR>&nbsp;=20
config_directory=3D/opt/postfix-2.1.5/conf \<BR>&nbsp;=20
daemon_directory=3D/opt/postfix-2.1.5/libexec \<BR>&nbsp;=20
command_directory=3D/opt/postfix-2.1.5/bin \<BR>&nbsp;=20
html_directory=3D/opt/postfix-2.1.5/html \<BR>&nbsp;=20
queue_directory=3D/opt/postfix-2.1.5/spool \<BR>&nbsp;=20
sendmail_path=3D/opt/postfix-2.1.5/sendmail \<BR>&nbsp;=20
newaliases_path=3D/opt/postfix-2.1.5/newaliases \<BR>&nbsp;=20
mailq_path=3D/opt/postfix-2.1.5/mailq \<BR>&nbsp; mail_owner=3Dpostfix \<BR>=
&nbsp;=20
setgid_group=3Dpostdrop \<BR>&nbsp; manpage_directory=3D/opt/postfix-2.1.5/m=
an=20
\<BR>&nbsp; readme_directory=3D/opt/postfix-2.1.5/readme \<BR>&nbsp;=20
sample_directory=3D/opt/postfix-2.1.5/sample</FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT size=3D1><BR></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT size=3D1></FONT>&nbsp;</DIV></FONT></BODY></HTML>

-------------------------------1098616007--
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:44 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0