Postfix-Installation geht schief

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.

Postfix-Installation geht schief

Post by blacktiger » 2004-06-03 23:58

Hi,

ich hab versucht nach dem FAQ-Tutorial Postfix zu aktualisieren (auf Version 2.1.1). Ich bleib aber beim make hängen.

Ich habe das Makefile wie folgt erstellt:
make makefiles CCARGS="-DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -DHAS_SSL" AUXLIBS="-lldap -llber -lpcre -lsasl -lssl -lcrypto"
Beim make kommen jetzt immer folgende Meldungen:
ipx11099:/usr/local/src/postfix-2.1.1 # make
set -e; for i in src/util src/global src/dns src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap; do
(set -e; echo "[$i]"; cd $i; make 'CC=gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -DHAS_SSL' update MAKELEVEL=) || exit 1;
done
[src/util]
gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -DHAS_SSL -g -O -I. -DLINUX2 -c dict_pcre.c
dict_pcre.c:56:18: pcre.h: No such file or directory
dict_pcre.c:80: error: parse error before "pcre"
dict_pcre.c:80: warning: no semicolon at end of struct or union
dict_pcre.c:81: warning: data definition has no type or storage class
dict_pcre.c:82: error: parse error before '}' token
dict_pcre.c:82: warning: data definition has no type or storage class
dict_pcre.c:96: error: parse error before "pcre"
dict_pcre.c:96: warning: no semicolon at end of struct or union
dict_pcre.c:97: warning: data definition has no type or storage class
dict_pcre.c:100: error: parse error before '}' token
dict_pcre.c:100: warning: data definition has no type or storage class
dict_pcre.c:104: error: parse error before "pcre"
dict_pcre.c:104: warning: no semicolon at end of struct or union
dict_pcre.c:105: warning: data definition has no type or storage class
dict_pcre.c:107: error: parse error before '}' token
dict_pcre.c:107: warning: data definition has no type or storage class
dict_pcre.c: In function `dict_pcre_expand':
dict_pcre.c:173: error: `PCRE_ERROR_NOSUBSTRING' undeclared (first use in this function)
dict_pcre.c:173: error: (Each undeclared identifier is reported only once
dict_pcre.c:173: error: for each function it appears in.)
dict_pcre.c: In function `dict_pcre_exec_error':
dict_pcre.c:207: error: `PCRE_ERROR_NULL' undeclared (first use in this function)
dict_pcre.c:208: error: `PCRE_ERROR_BADOPTION' undeclared (first use in this function)
dict_pcre.c:211: error: `PCRE_ERROR_BADMAGIC' undeclared (first use in this function)
dict_pcre.c:212: error: `PCRE_ERROR_UNKNOWN_NODE' undeclared (first use in this function)
dict_pcre.c: In function `dict_pcre_lookup':
dict_pcre.c:227: error: `if_rule' undeclared (first use in this function)
dict_pcre.c:228: error: `match_rule' undeclared (first use in this function)
dict_pcre.c:253: error: parse error before ')' token
dict_pcre.c:262: error: `PCRE_ERROR_NOMATCH' undeclared (first use in this function)
dict_pcre.c:301: error: parse error before ')' token
dict_pcre.c: In function `dict_pcre_close':
dict_pcre.c:342: error: `match_rule' undeclared (first use in this function)
dict_pcre.c:343: error: `if_rule' undeclared (first use in this function)
dict_pcre.c:349: error: parse error before ')' token
dict_pcre.c:358: error: parse error before ')' token
dict_pcre.c: In function `dict_pcre_get_pattern':
dict_pcre.c:427: error: `PCRE_CASELESS' undeclared (first use in this function)
dict_pcre.c:427: error: `PCRE_DOTALL' undeclared (first use in this function)
dict_pcre.c:434: error: `PCRE_MULTILINE' undeclared (first use in this function)
dict_pcre.c:440: error: `PCRE_EXTENDED' undeclared (first use in this function)
dict_pcre.c:443: error: `PCRE_ANCHORED' undeclared (first use in this function)
dict_pcre.c:446: error: `PCRE_DOLLAR_ENDONLY' undeclared (first use in this function)
dict_pcre.c:449: error: `PCRE_UNGREEDY' undeclared (first use in this function)
dict_pcre.c:452: error: `PCRE_EXTRA' undeclared (first use in this function)
dict_pcre.c: At top level:
dict_pcre.c:500: error: parse error before "DICT_PCRE_ENGINE"
dict_pcre.c: In function `dict_pcre_compile':
dict_pcre.c:505: error: `engine' undeclared (first use in this function)
dict_pcre.c:505: error: `pattern' undeclared (first use in this function)
dict_pcre.c:509: error: `mapname' undeclared (first use in this function)
dict_pcre.c:509: error: `lineno' undeclared (first use in this function)
dict_pcre.c: In function `dict_pcre_parse_rule':
dict_pcre.c:554: error: parse error before "engine"
dict_pcre.c:556: error: `match_rule' undeclared (first use in this function)
dict_pcre.c:600: error: `engine' undeclared (first use in this function)
dict_pcre.c:606: error: parse error before ')' token
dict_pcre.c:621: error: parse error before "engine"
dict_pcre.c:622: error: `if_rule' undeclared (first use in this function)
dict_pcre.c:652: error: parse error before ')' token
dict_pcre.c: In function `dict_pcre_open':
dict_pcre.c:728: error: `pcre_malloc' undeclared (first use in this function)
dict_pcre.c:729: error: `pcre_free' undeclared (first use in this function)
make: *** [dict_pcre.o] Error 1
make: *** [update] Error 1
ipx11099:/usr/local/src/postfix-2.1.1 #

Kann mir jemand weiterhelfen? Ich weiß echt net, wo der Fehler liegt...

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: Postfix-Installation geht schief

Post by adjustman » 2004-06-04 02:14

Blacktiger wrote: Ich habe das Makefile wie folgt erstellt:
make makefiles CCARGS="-DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -DHAS_SSL" AUXLIBS="-lldap -llber -lpcre -lsasl -lssl -lcrypto"
Ist das alles? Das kann SO nicht gehen. Da müssen explizit Pfade rein. Und. Was willst Du mit LDAP?

blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.

Re: Postfix-Installation geht schief

Post by blacktiger » 2004-06-04 07:06

Ich hatte das so gemacht, wie es in dem FAQ steht. Was muss ich denn genau anpassen?

captaincrunch
Userprojekt
Userprojekt
Posts: 7225
Joined: 2002-10-09 14:30
Location: Dorsten

Re: Postfix-Installation geht schief

Post by captaincrunch » 2004-06-04 08:15

Pfade müssen da (AFAIK) nicht rein, die nötigen devel-Pakete dürfen aber keinesfalls fehlen. :roll:
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc

blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.

Re: Postfix-Installation geht schief

Post by blacktiger » 2004-06-04 08:26

Ich hab folgende Sachen laut FAQ installiert:
cyrus-sasl
cyrus-sasl-devel
db-devel
openldap2
openldap2-client
openldap2-devel
openssl
openssl-devel
pcre
Hab jetzt noch das pcre-devel nachinstalliert. Da bin ich beim make auch ein gutes Stück weitergekommen. Jetzt kommt aber folgende Meldung:
[src/smtpd]
gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -DHAS_SSL -g -O -I. -I../../include -DLINUX2 -c smtpd.c
In file included from smtpd.c:664:
smtpd.h:20:18: sasl.h: No such file or directory
smtpd.h:21:22: saslutil.h: No such file or directory
In file included from smtpd.c:664:
smtpd.h:102: error: parse error before "sasl_conn_t"
smtpd.h:102: warning: no semicolon at end of struct or union
smtpd.h:139: error: parse error before '}' token
smtpd.h:139: warning: data definition has no type or storage class
smtpd.h:152: error: parse error before '*' token
smtpd.h:153: error: parse error before '*' token
smtpd.h:202: error: parse error before '*' token
smtpd.h:203: error: parse error before '*' token
smtpd.h:241: error: parse error before '*' token
smtpd.h:242: error: parse error before '*' token
smtpd.h:243: error: parse error before '*' token
In file included from smtpd.c:665:
smtpd_check.h:17: error: parse error before '*' token
smtpd_check.h:18: error: parse error before '*' token
smtpd_check.h:19: error: parse error before '*' token
smtpd_check.h:20: error: parse error before '*' token
smtpd_check.h:21: error: parse error before '*' token
smtpd_check.h:22: error: parse error before '*' token
smtpd_check.h:23: error: parse error before '*' token
smtpd_check.h:24: error: parse error before '*' token
In file included from smtpd.c:666:
smtpd_chat.h:15: error: parse error before '*' token
smtpd_chat.h:16: error: parse error before '*' token
smtpd_chat.h:17: error: parse error before '*' token
smtpd_chat.h:18: error: parse error before '*' token
In file included from smtpd.c:667:
smtpd_sasl_proto.h:14: error: parse error before '*' token
smtpd_sasl_proto.h:15: error: parse error before '*' token
smtpd_sasl_proto.h:16: error: parse error before '*' token
smtpd_sasl_proto.h:17: error: parse error before '*' token
smtpd_sasl_proto.h:18: error: parse error before '*' token
In file included from smtpd.c:668:
smtpd_sasl_glue.h:15: error: parse error before '*' token
smtpd_sasl_glue.h:16: error: parse error before '*' token
smtpd_sasl_glue.h:17: error: parse error before '*' token
smtpd_sasl_glue.h:18: error: parse error before '*' token
smtpd_sasl_glue.h:19: error: parse error before '*' token
In file included from smtpd.c:669:
smtpd_proxy.h:26: error: parse error before '*' token
smtpd_proxy.h:27: error: parse error before '*' token
smtpd_proxy.h:30: error: parse error before '*' token
smtpd.c:810: error: parse error before '*' token
smtpd.c:811: error: parse error before '*' token
smtpd.c:812: error: parse error before '*' token
smtpd.c:813: error: parse error before '*' token
smtpd.c:824: error: parse error before '*' token
smtpd.c: In function `sasl_client_exception':
smtpd.c:837: error: `state' undeclared (first use in this function)
smtpd.c:837: error: (Each undeclared identifier is reported only once
smtpd.c:837: error: for each function it appears in.)
smtpd.c: At top level:
smtpd.c:863: error: parse error before '*' token
smtpd.c: In function `helo_cmd':
smtpd.c:867: error: `argc' undeclared (first use in this function)
smtpd.c:868: error: `state' undeclared (first use in this function)
smtpd.c:873: error: `argv' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:899: error: parse error before '*' token
smtpd.c: In function `ehlo_cmd':
smtpd.c:908: error: `argc' undeclared (first use in this function)
smtpd.c:909: error: `state' undeclared (first use in this function)
smtpd.c:914: error: `argv' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:966: error: parse error before '*' token
smtpd.c:967: warning: `helo_reset' was used with no prototype before its definition
smtpd.c: In function `helo_reset':
smtpd.c:968: error: `state' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:975: error: parse error before '*' token
smtpd.c: In function `mail_open_stream':
smtpd.c:1002: error: `state' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1068: error: parse error before '*' token
smtpd.c: In function `extract_addr':
smtpd.c:1101: error: `arg' undeclared (first use in this function)
smtpd.c:1137: error: `strict_rfc821' undeclared (first use in this function)
smtpd.c:1139: error: `state' undeclared (first use in this function)
smtpd.c:1160: error: `allow_empty_addr' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1180: error: parse error before '*' token
smtpd.c: In function `mail_cmd':
smtpd.c:1187: error: `state' undeclared (first use in this function)
smtpd.c:1210: error: `argc' undeclared (first use in this function)
smtpd.c:1211: error: `argv' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1313: error: parse error before '*' token
smtpd.c:1314: warning: `mail_reset' was used with no prototype before its definition
smtpd.c: In function `mail_reset':
smtpd.c:1315: error: `state' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1377: error: parse error before '*' token
smtpd.c: In function `rcpt_cmd':
smtpd.c:1392: error: `state' undeclared (first use in this function)
smtpd.c:1397: error: `argc' undeclared (first use in this function)
smtpd.c:1398: error: `argv' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1493: error: parse error before '*' token
smtpd.c:1494: warning: `rcpt_reset' was used with no prototype before its definition
smtpd.c: In function `rcpt_reset':
smtpd.c:1495: error: `state' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1506: error: parse error before '*' token
smtpd.c: In function `data_cmd':
smtpd.c:1527: error: `state' undeclared (first use in this function)
smtpd.c:1536: error: `argc' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1769: error: parse error before '*' token
smtpd.c: In function `rset_cmd':
smtpd.c:1775: error: `argc' undeclared (first use in this function)
smtpd.c:1776: error: `state' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1793: error: parse error before '*' token
smtpd.c: In function `noop_cmd':
smtpd.c:1814: error: `state' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1820: error: parse error before '*' token
smtpd.c: In function `vrfy_cmd':
smtpd.c:1849: error: `state' undeclared (first use in this function)
smtpd.c:1853: error: `argc' undeclared (first use in this function)
smtpd.c:1859: error: `argv' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1886: error: parse error before '*' token
smtpd.c: In function `etrn_cmd':
smtpd.c:1893: error: `state' undeclared (first use in this function)
smtpd.c:1903: error: `argc' undeclared (first use in this function)
smtpd.c:1908: error: `argv' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1954: error: parse error before '*' token
smtpd.c: In function `quit_cmd':
smtpd.c:1960: error: `state' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:1973: error: parse error before '*' token
smtpd.c: In function `xclient_cmd':
smtpd.c:1995: error: `state' undeclared (first use in this function)
smtpd.c:2000: error: `argc' undeclared (first use in this function)
smtpd.c:2021: error: `argv' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:2133: error: parse error before '*' token
smtpd.c: In function `xforward_cmd':
smtpd.c:2151: error: `state' undeclared (first use in this function)
smtpd.c:2156: error: `argc' undeclared (first use in this function)
smtpd.c:2177: error: `argv' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:2291: error: parse error before '*' token
smtpd.c:2292: warning: `chat_reset' was used with no prototype before its definition
smtpd.c: In function `chat_reset':
smtpd.c:2301: error: `state' undeclared (first use in this function)
smtpd.c:2301: error: `threshold' undeclared (first use in this function)
smtpd.c: At top level:
smtpd.c:2317: error: parse error before '*' token
smtpd.c:2356: error: parse error before '*' token
smtpd.c: In function `smtpd_proto':
smtpd.c:2382: error: `state' undeclared (first use in this function)
smtpd.c: In function `smtpd_service':
smtpd.c:2542: error: parse error before "state"
smtpd.c:2559: error: `state' undeclared (first use in this function)
make: *** [smtpd.o] Error 1
make: *** [update] Error 1

Muss ich jetzt noch smtpd installieren? Wenn ja, warum wurde das bei Postfix 2.0.14 noch nicht benötigt?

captaincrunch
Userprojekt
Userprojekt
Posts: 7225
Joined: 2002-10-09 14:30
Location: Dorsten

Re: Postfix-Installation geht schief

Post by captaincrunch » 2004-06-04 08:36

Dir fehlen die sasl-Header.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc

blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.

Re: Postfix-Installation geht schief

Post by blacktiger » 2004-06-04 09:05

Das sagt mein Yast:
││ i │cyrus-sasl │2.1.15 │2.1.15 │Cyrus SASL API Implementation │ 1.1 MB│ ││
││ i │cyrus-sasl-devel │2.1.15 │2.1.15 │Cyrus SASL API implmentation, Libraries and Header files│ 151.0 kB│ ││
││ i │cyrus-sasl-plain │2.1.15 │2.1.15 │Cyrus SASL API Implementation │ 15.9 kB│ ││
││ │cyrus-sasl-crammd5 │2.1.15 │ │Cyrus SASL API Implementation │ 18.6 kB│ ││
││ │cyrus-sasl-digestmd5│2.1.15 │ │Cyrus SASL API Implementation │ 49.0 kB│ ││
││ │cyrus-sasl-gssapi │2.1.15 │ │Cyrus SASL API Implementation │ 26.3 kB│ ││
││ │cyrus-sasl-otp │2.1.15 │ │Cyrus SASL API Implementation │ 48.9 kB│ ││
││ │perl-Authen-SASL │2.04 │ │SASL Authentication framework │ 24.9 kB│

Muss ich da noch was installieren, oder wie komme ich an die Header ran? Das Devel-Paket ist nämlich installiert...

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: Postfix-Installation geht schief

Post by adjustman » 2004-06-04 13:11

ein "ordentlicher" Aufruf :wink: sieht z.B. so aus:

Code: Select all

make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DHAS_SSL -I/usr/local/ssl/include/openssl -DUSE_SASL_AUTH -I/usr/local/include/sasl' 
'AUXLIBS=-L/usr/lib -lmysqlclient -lz -lm -L/usr/local/ssl/lib -lssl -lcrypto -L/usr/local/lib -lsasl2'

blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.

Re: Postfix-Installation geht schief

Post by blacktiger » 2004-06-07 10:07

ich hab jetzt den pfad zur sasl.h mitgegeben. bekomme aber immer noch fehler beim make:
ipx11099:/usr/local/src/postfix-2.1.1 # make
set -e; for i in src/util src/global src/dns src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap; do
(set -e; echo "[$i]"; cd $i; make 'CC=gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -I/usr/include/sasl/' -DHAS_SSL' update MAKELEVEL=) || exit 1;
done
/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
/bin/sh: -c: line 2: syntax error: unexpected end of file
make: *** [update] Error 2
ipx11099:/usr/local/src/postfix-2.1.1 #
scheint sich aber so langsam dem ende zu nähern. vielleicht hat ja noch jemand ne idee...

dodolin
RSAC
Posts: 4009
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe

Re: Postfix-Installation geht schief

Post by dodolin » 2004-06-07 10:48

/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
In deiner letzten Zeile passen die Hochkommas nicht.

blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.

Re: Postfix-Installation geht schief

Post by blacktiger » 2004-06-07 11:19

ok, jetzt hat das make einwandfrei funktioniert. irgendwie kann ich trotzdem nicht upgraden:
ipx11099:/usr/local/src/postfix-2.1.1 # postconf mail_version
mail_version = 2.0.14
ipx11099:/usr/local/src/postfix-2.1.1 # postconf -m
static
sdbm
pcre
nis
regexp
environ
proxy
ldap
btree
unix
hash
ipx11099:/usr/local/src/postfix-2.1.1 # newaliases
ipx11099:/usr/local/src/postfix-2.1.1 # rcpostfix stop
Shutting down mail service (Postfix) done
ipx11099:/usr/local/src/postfix-2.1.1 # make ugrade
make: *** No rule to make target `ugrade'. Stop.

Im Makefile gibt es aber den Punkt:
upgrade: update
$(SHELL) postfix-install -non-interactive

--------------


hab jetzt mal das make upgrade ohne dem newaliases laufen lassen und das hat funktioniert, nur kann ich keine mails mehr senden und empfangen...
Jun 7 11:31:34 ipx11099 postfix/qmgr[8963]: warning: bad extra offset file active/2/294FB3540E9
Jun 7 11:31:34 ipx11099 postfix/qmgr[8963]: warning: 294FB3540E9: envelope records out of order
Jun 7 11:31:34 ipx11099 postfix/qmgr[8963]: warning: saving corrupt file "294FB3540E9" from queue "active" to queue "corrupt"
Jun 7 11:32:36 ipx11099 postfix/qmgr[8963]: warning: bad extra offset file active/B/BE91F3540EB
Jun 7 11:32:36 ipx11099 postfix/qmgr[8963]: warning: BE91F3540EB: envelope records out of order
Jun 7 11:32:36 ipx11099 postfix/qmgr[8963]: warning: saving corrupt file "BE91F3540EB" from queue "active" to queue "corrupt"
Jun 7 11:33:27 ipx11099 postfix/postfix-script: warning: damaged message: corrupt/294FB3540E9
Jun 7 11:33:27 ipx11099 postfix/postfix-script: warning: damaged message: corrupt/BE91F3540EB
Jun 7 11:33:50 ipx11099 postfix/postfix-script: warning: damaged message: corrupt/294FB3540E9
Jun 7 11:33:50 ipx11099 postfix/postfix-script: warning: damaged message: corrupt/BE91F3540EB
Jun 7 11:34:52 ipx11099 postfix/smtpd[12622]: warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled in
Jun 7 11:34:52 ipx11099 postfix/smtpd[12622]: fatal: SASL per-connection server initialization
Jun 7 11:34:53 ipx11099 postfix/master[12601]: warning: process /usr/lib/postfix/smtpd pid 12622 exit status 1
Jun 7 11:34:53 ipx11099 postfix/master[12601]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jun 7 11:35:27 ipx11099 postfix/postfix-script: warning: damaged message: corrupt/294FB3540E9
Jun 7 11:35:27 ipx11099 postfix/postfix-script: warning: damaged message: corrupt/BE91F3540EB

ok, hab jetzt mal den SASL-support ausgeschalten. senden geht wieder. empfangen noch nicht. und wie bekomme ich die damaged messages weg?
Last edited by blacktiger on 2004-06-07 11:49, edited 1 time in total.

captaincrunch
Userprojekt
Userprojekt
Posts: 7225
Joined: 2002-10-09 14:30
Location: Dorsten

Re: Postfix-Installation geht schief

Post by captaincrunch » 2004-06-07 11:46

Dann schau dir mal die Fehlermeldung genau an:
ipx11099:/usr/local/src/postfix-2.1.1 # make ugrade
make: *** No rule to make target `ugrade'. Stop.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc

blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.

Re: Postfix-Installation geht schief

Post by blacktiger » 2004-06-07 11:50

CaptainCrunch wrote:Dann schau dir mal die Fehlermeldung genau an:
ipx11099:/usr/local/src/postfix-2.1.1 # make ugrade
make: *** No rule to make target `ugrade'. Stop.

in meinem letzten post stand schon, dass es ging... hab den fehler auch gesehen. nur klappt das empfangen noch nicht so...
Jun 7 11:44:50 ipx11099 postfix/postfix-script: warning: damaged message: corrupt/294FB3540E9
Jun 7 11:44:50 ipx11099 postfix/postfix-script: warning: damaged message: corrupt/BE91F3540EB
Jun 7 11:46:16 ipx11099 postfix/smtpd[13075]: panic: myfree: corrupt or unallocated memory block
Jun 7 11:46:17 ipx11099 postfix/master[12973]: warning: process /usr/lib/postfix/smtpd pid 13075 killed by signal 6
Jun 7 11:46:17 ipx11099 postfix/master[12973]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jun 7 11:47:27 ipx11099 postfix/smtpd[13175]: panic: myfree: corrupt or unallocated memory block
Jun 7 11:47:28 ipx11099 postfix/master[12973]: warning: process /usr/lib/postfix/smtpd pid 13175 killed by signal 6
Jun 7 11:47:28 ipx11099 postfix/master[12973]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

blacktiger
Posts: 239
Joined: 2003-01-15 17:02
Location: Neustadt a.d.W.

Re: Postfix-Installation geht schief

Post by blacktiger » 2004-06-07 12:51

Mails innerhalb des Servers kann ich empfangen. Nur von aussen keine...


meine main.cf sieht unten wie folgt aus:
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = ipx11099.ipxserver.de
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
content_filter =
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = permit_sasl_authenticated,
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
maps_rbl_domains = sbl.spamhaus.org,
relays.ordb.org,
unconfirmed.dsbl.org
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_non_fqdn_hostname,
reject_unknown_recipient_domain,
reject_invalid_hostname,
reject_unknown_hostname,
reject_unknown_sender_domain,
reject_rbl_client,
permit_mx_backup,
reject_unauth_destination
#smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = yes
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
smtp_sasl_security_options = noplaintext, noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
html_directory = no
header_checks = pcre:/etc/postfix/header_checks
body_checks = pcre:/etc/postfix/body_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks