|
Loading...
|
lfs-support@linuxfromscratch.org
[Prev] Thread [Next] | [Prev] Date [Next]
Re: postfix compile error Sergey Ostrovsky Sat Sep 29 13:48:20 2001
On Sat, Sep 29, 2001 at 03:16:02PM +0000, Dave Ayers wrote:
> stuff like that. The only clue to postfix working is that I was
> able to send mail to root and have it appear in
> /var/spool/postfix/maildrop, likewise mail sent by fcron. But I
> have found no way yet to read the messages. Mutt complains that
> the folder is "not a mailbox."
Dave, it looks like you haven't built aliases database.
Also, editing of /etc/postfix/main.cf is a _must_.
Anyway, below are some records I kept for myself ...
BTW, this is my first post to the list using GUIless
tools ( postfix-mutt ), so if something will go awry,
don't blame.
Sergey
#------------- postfix-20010228-pl04 --------------#
1. If 'postfix' group and owner do not exist yet, run :
groupadd -g <n> postfix
useradd -g postfix -u <n> -c postfix -d/dev/null -s /bin/false postfix
2. Patch makedefs with the following patch :
<====================================================
--- makedefs Mon Feb 19 19:18:32 2001
+++ makedefs.new Tue Aug 21 23:36:20 2001
@@ -163,9 +163,9 @@
if [ -f /usr/include/db.h ]
then
: we are all set
- elif [ -f /usr/include/db/db.h ]
+ elif [ -f /usr/local/include/db3/db.h ]
then
- CCARGS="$CCARGS -I/usr/include/db"
+ CCARGS="$CCARGS -I/usr/local/include/db3"
else
# No, we're not going to try db1 db2 db3 etc.
# On a properly installed system, Postfix builds
@@ -175,7 +175,7 @@
echo "See the RELEASE_NOTES file for more information." 1>&2
exit 1
fi
- SYSLIBS="-ldb"
+ SYSLIBS="-L/usr/local/lib -ldb"
for name in nsl resolv
do
test -f /usr/lib/lib$name.a && SYSLIBS="$SYSLIBS -l$name"
<====================================================
3. Run
make makefiles CC=gcc OPT="-O2 -march=i586" DEBUG=
make
4. Run the interactive script
make install
Questions Answers
_________ _______
install_root /
tempdir /var/spool/postfix-20010228-pl04
config_directory /etc/postfix
daemon_directory /usr/libexec/postfix
command_directory /usr/sbin
queue_directory /var/spool/postfix
sendmail_path /usr/sbin/sendmail
newaliases_path /usr/bin/newaliases
mailq_path /usr/bin/mailq
mail_owner postfix
setgid no
manpages /usr/share/man
5. Set up proper /etc/postfix/main.cf
and run
sendmail -bi
to build /etc/postfix/aliases.db database
6. Run
sendmail -vvv check
#=== Install Map ===#
/etc/postfix
access regexp_table sample-pcre.cf
aliases relocated sample-rate.cf
canonical sample-aliases.cf sample-regexp.cf
install.cf sample-auth.cf sample-relocated.cf
LICENSE sample-canonical.cf sample-resource.cf
main.cf sample-compatibility.cf sample-rewrite.cf
main.cf.default sample-debug.cf sample-smtp.cf
master.cf sample-filter.cf sample-smtpd.cf
pcre_table sample-flush.cf sample-transport.cf
postfix-script sample-ldap.cf sample-virtual.cf
postfix-script-diff sample-lmtp.cf transport
postfix-script-nosgid sample-local.cf virtual
postfix-script-sgid sample-misc.cf
/usr/bin
mailq->(S)../../usr/sbin/sendmail
newaliases->(S)../../usr/sbin/sendmail
/usr/libexec/postfix
bounce local showq
cleanup master smtp
error pickup smtpd
flush pipe spawn
lmtp qmgr trivial-rewrite
/usr/sbin
postalias postfix postmap
postcat postkick postsuper
postconf postlock sendmail
postdrop postlog
/usr/share/man/man1
mailq.1 postdrop.1 postlog.1
newaliases.1 postfix.1 postmap.1
postalias.1 postkick.1 postsuper.1
postcat.1 postlock.1 sendmail.1
postconf.1
/usr/share/man/man5
access.5 pcre_table.5 transport.5
aliases.5 regexp_table.5 virtual.5
canonical.5 relocated.5
/usr/share/man/man8
bounce.8 local.8 showq.8
cleanup.8 master.8 smtp.8
defer.8 pickup.8 smtpd.8
error.8 pipe.8 spawn.8
flush.8 qmgr.8 trivial-rewrite.8
lmtp.8
--
Unsubscribe: send email to [EMAIL PROTECTED]
and put 'unsubscribe blfs-support' in the subject header of the message
- Re: postfix compile error Dave Ayers 2001/09/26
- Re: postfix compile error Mark Hymers 2001/09/26
- Re: postfix compile error Dave Ayers 2001/09/26
- Re: postfix compile error Dave Ayers 2001/09/29
- Re: postfix compile error Sergey Ostrovsky 2001/09/29 <=
- Re: postfix compile error Guillermo Pereyra Irujo 2001/09/30
- Re: postfix compile error Dave Ayers 2001/09/30
- Re: postfix compile error Guillermo Pereyra Irujo 2001/09/30
Re: postfix compile error Heinz Kirchmann 2001/09/26
- Re: postfix compile error Dave Ayers 2001/09/26