der Postfix Mailserver + MySQL Datenbank...

keine Änderungen...

ich hab folgende ordner der UID und GID 5000 gegeben und jetzt lässt sich postfix erst garnetmehr starten...

/var/spool/postfix/private/maildrop
/var/spool/postfix/maildrop

könntest du mir sagen welchen usern diese Ordner gehören müssen? ^^
 
Zumindest die Meldung 'warning: connect to transport smtp-amavis: No such file or directory' sollte jetzt aber nicht mehr auftauchen. Welche Meldungen tauchen auf, wenn den Mailserver neustartest und welche, wenn du eine Mail an den Server schickst (z.B. von einem Freemailer aus und nicht vergessen vorher min. eine gültige Domain und einen gültigen User in die DB einzutragen)?

Der Test wie in dem Howto beschrieben hat bei mir übrigens nie funktioniert, auch wenn ich dieses Howto früher schonmal für einige Server eingesetzt hatte. Die richtigen Tests habe ich immer mit "echten" Daten gemacht und einem Mail-Client gemacht, damit auch die Authentifizierung funktionierte.

Nachtrag: In /var/spool/postfix hat nichts dem User vmail zu gehören! Die Rechte müssen wie folgt aussehen:

Code:
drwx------  18 postfix root     4,0K 2006-04-10 05:31 active
drwx------  18 postfix root     4,0K 2006-10-17 00:08 bounce
drwx------   2 postfix root     4,0K 2006-04-09 23:40 corrupt
drwx------  18 postfix root     4,0K 2006-11-26 13:33 defer
drwx------  18 postfix root     4,0K 2006-11-26 13:06 deferred
drwxr-xr-x   2 root    root     4,0K 2007-03-25 21:03 etc
drwx------   2 postfix root     4,0K 2006-04-09 23:40 flush
drwx------   2 postfix root     4,0K 2006-04-09 23:40 hold
drwx------  18 postfix root     4,0K 2007-03-25 23:53 incoming
drwxr-xr-x   2 root    root     4,0K 2007-03-25 21:03 lib
drwx-wx--T   2 postfix postdrop 4,0K 2007-03-25 13:44 maildrop
drwxr-xr-x   2 postfix root     4,0K 2006-11-27 20:39 pid
drwx------   2 postfix root     4,0K 2007-03-25 21:03 private
-rw-------   1 root    root     1,0K 2007-03-25 23:53 prng_exch
drwx--s---   2 postfix postdrop 4,0K 2007-03-25 21:03 public
drwx------   2 postfix root     4,0K 2006-04-09 23:40 saved
drwx------   2 postfix root     4,0K 2006-04-09 23:40 trace
drwxr-xr-x   3 root    root     4,0K 2006-04-09 23:39 usr
 
mails empfangen kann ich:

Code:
Mar 26 00:41:03 alpha952 postfix/smtpd[22800]: connect from mail.gmx.net[213.165.64.20]
Mar 26 00:41:03 alpha952 postfix/trivial-rewrite[22803]: warning: do not list domain domain.tld in BOTH mydestination and virtual_mailbox_domains
Mar 26 00:41:03 alpha952 postfix/smtpd[22800]: 7A627152C8DE: client=mail.gmx.net[213.165.64.20]
Mar 26 00:41:03 alpha952 postfix/cleanup[22845]: 7A627152C8DE: message-id=<4606FA87.2080905@gmx.net>
Mar 26 00:41:03 alpha952 postfix/qmgr[22692]: 7A627152C8DE: from=<user@gmx.net>, size=859, nrcpt=1 (queue active)
Mar 26 00:41:03 alpha952 postfix/trivial-rewrite[22803]: warning: do not list domain domain.tld in BOTH mydestination and virtual_mailbox_domains
Mar 26 00:41:03 alpha952 postfix/smtpd[22800]: disconnect from mail.gmx.net[213.165.64.20]
Mar 26 00:41:03 alpha952 postfix/local[22848]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Mar 26 00:41:03 alpha952 postfix/local[22848]: 7A627152C8DE: to=<user@domain.tld>, relay=local, delay=0, status=sent (delivered to command: procmail -a "$EXTENSION")
Mar 26 00:41:03 alpha952 postfix/qmgr[22692]: 7A627152C8DE: removed

senden nicht:
Code:
Mar 26 00:43:57 alpha952 postfix/trivial-rewrite[22803]: warning: do not list domain domain.tld in BOTH mydestination and virtual_mailbox_domains
Mar 26 00:43:57 alpha952 postfix/smtpd[22866]: C8662152C8DE: client=alpha952.server4you.de[85.25.134.189]
 
Und beim Senden kommen nur diese 2 Meldungen? Kann ich irgendwie kaum glauben. Ausserdem sollte der Empfang mit einem "delivered to Maildir" enden.
 
ich lösch meine logs mal nachdem ich sie gesichert hab und poste sie dann...

update: gleiche log wie oben...

[ UPDATE: ]

ok... ich hab jetzt mal wieder an Berechtigungen rumgeschraubt (auf 777) und bekomme jetzt folgende Meldung:
Code:
Mar 26 14:27:02 alpha952 postfix/master[28276]: terminating on signal 15
Mar 26 14:27:03 alpha952 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./qmgr
Mar 26 14:27:03 alpha952 postfix/postqueue[28438]: warning: Mail system is down -- accessing queue directly
Mar 26 14:27:05 alpha952 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./qmgr
Mar 26 14:27:05 alpha952 postfix/master[28511]: daemon started -- version 2.2.10, configuration /etc/postfix
Mar 26 14:27:06 alpha952 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./qmgr
Wenn ich den User/Gruppe ändere bzw Berechtigungen untherhalb von 777 wähle bekomm ich n Permission Denied zurück...
Was mich hier aber mehr wundert ist die Tatsache dass dort steht dass das Mail-System nicht gestartet ist ?!

Wenn ich jetzt versuche eine Mail zu versenden bekomme ich wieder folgende Meldung:

Code:
alpha952:/# telnet domain.tld 25
Trying xxx.xxx.xxx.xxx...
Connected to domain.tld
Escape character is '^]'.
220 domain.tld ESMTP Postfix
ehlo myserver
250-domain.tld
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH CRAM-MD5 PLAIN DIGEST-MD5 LOGIN
250-AUTH=CRAM-MD5 PLAIN DIGEST-MD5 LOGIN
250 8BITMIME
mail from:<user@domain>
250 Ok
rcpt to: user@domain.tld
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
blablubb. .
Ich bekomme wieder keine Antwort...
Dann in den Logs:
Code:
Mar 26 14:30:42 alpha952 postfix/smtpd[28611]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Mar 26 14:30:42 alpha952 postfix/smtpd[28611]: connect from alpha952.domain.tld [85.25.134.189]
Mar 26 14:31:05 alpha952 postfix/trivial-rewrite[28613]: warning: do not list domain domain.tld in BOTH mydestination and virtual_mailbox_domains
Mar 26 14:31:05 alpha952 postfix/smtpd[28611]: 54C8A152C8C0: client=alpha952.domain.tld [85.25.134.189]
Mar 26 14:31:34 alpha952 postfix/master[28511]: terminating on signal 15
Mar 26 14:31:35 alpha952 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./qmgr
Mar 26 14:31:35 alpha952 postfix/postqueue[28702]: warning: Mail system is down -- accessing queue directly
Mar 26 14:31:37 alpha952 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./qmgr
Mar 26 14:31:37 alpha952 postfix/master[28774]: daemon started -- version 2.2.10, configuration /etc/postfix
Mar 26 14:31:38 alpha952 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./qmgr
 
Hier die Rechte, wie sie auf einem meiner Server in /var/spool/postfix sind, der mit selbigem Howto eingerichtet wurde. Korrigiere erstmal diese Rechte bevor du weiter nach Fehlern suchst:
Code:
bitmuncher:/home/bitmuncher# ls -lh /var/spool/postfix/*
-rw-------   1 root    root     1,0K 2007-03-26 14:35 /var/spool/postfix/prng_exch

/var/spool/postfix/active:
insgesamt 64K
drwx------  2 postfix postfix 4,0K 2007-03-26 14:04 0
drwx------  2 postfix postfix 4,0K 2007-03-26 14:15 1
drwx------  2 postfix postfix 4,0K 2007-03-26 13:57 2
drwx------  2 postfix postfix 4,0K 2007-03-26 14:04 3
drwx------  2 postfix postfix 4,0K 2007-03-26 14:35 4
drwx------  2 postfix postfix 4,0K 2007-03-26 14:12 5
drwx------  2 postfix postfix 4,0K 2007-03-26 14:33 6
drwx------  2 postfix postfix 4,0K 2007-03-26 12:49 7
drwx------  2 postfix postfix 4,0K 2007-03-26 14:01 8
drwx------  2 postfix postfix 4,0K 2007-03-26 14:35 9
drwx------  2 postfix postfix 4,0K 2007-03-26 13:47 A
drwx------  2 postfix postfix 4,0K 2007-03-26 13:51 B
drwx------  2 postfix postfix 4,0K 2007-03-26 14:12 C
drwx------  2 postfix postfix 4,0K 2007-03-26 14:12 D
drwx------  2 postfix postfix 4,0K 2007-03-26 14:08 E
drwx------  2 postfix postfix 4,0K 2007-03-26 14:01 F

/var/spool/postfix/bounce:
insgesamt 64K
drwx------  2 postfix postfix 4,0K 2006-04-27 00:30 0
drwx------  2 postfix postfix 4,0K 2006-08-12 06:43 1
drwx------  2 postfix postfix 4,0K 2006-08-07 03:00 2
drwx------  2 postfix postfix 4,0K 2007-03-08 11:10 3
drwx------  2 postfix postfix 4,0K 2006-11-05 15:41 4
drwx------  2 postfix postfix 4,0K 2006-12-24 00:08 5
drwx------  2 postfix postfix 4,0K 2006-12-24 00:07 6
drwx------  2 postfix postfix 4,0K 2007-03-22 14:15 7
drwx------  2 postfix postfix 4,0K 2007-03-23 15:20 8
drwx------  2 postfix postfix 4,0K 2007-01-08 19:44 9
drwx------  2 postfix postfix 4,0K 2007-03-19 11:06 A
drwx------  2 postfix postfix 4,0K 2007-03-24 00:18 B
drwx------  2 postfix postfix 4,0K 2006-04-10 00:32 C
drwx------  2 postfix postfix 4,0K 2006-12-24 00:07 D
drwx------  2 postfix postfix 4,0K 2006-12-24 00:13 E
drwx------  2 postfix postfix 4,0K 2007-03-13 21:47 F

/var/spool/postfix/corrupt:
insgesamt 0

/var/spool/postfix/defer:
insgesamt 64K
drwx------  2 postfix postfix 4,0K 2007-01-13 17:40 0
drwx------  2 postfix postfix 4,0K 2006-12-21 23:34 1
drwx------  2 postfix postfix 4,0K 2007-02-21 06:06 2
drwx------  2 postfix postfix 4,0K 2006-12-14 00:46 3
drwx------  2 postfix postfix 4,0K 2006-12-18 20:48 4
drwx------  2 postfix postfix 4,0K 2006-11-27 20:40 5
drwx------  2 postfix postfix 4,0K 2007-03-26 14:33 6
drwx------  2 postfix postfix 4,0K 2006-12-20 20:20 7
drwx------  2 postfix postfix 4,0K 2007-01-16 04:50 8
drwx------  2 postfix postfix 4,0K 2006-12-18 23:02 9
drwx------  2 postfix postfix 4,0K 2006-12-12 19:53 A
drwx------  2 postfix postfix 4,0K 2006-12-17 18:08 B
drwx------  2 postfix postfix 4,0K 2007-02-27 09:53 C
drwx------  2 postfix postfix 4,0K 2006-11-27 20:40 D
drwx------  2 postfix postfix 4,0K 2006-12-15 23:38 E
drwx------  2 postfix postfix 4,0K 2006-11-27 20:40 F

/var/spool/postfix/deferred:
insgesamt 64K
drwx------  2 postfix postfix 4,0K 2007-01-13 17:40 0
drwx------  2 postfix postfix 4,0K 2006-12-21 23:34 1
drwx------  2 postfix postfix 4,0K 2007-02-21 06:06 2
drwx------  2 postfix postfix 4,0K 2007-01-05 00:30 3
drwx------  2 postfix postfix 4,0K 2006-12-18 20:48 4
drwx------  2 postfix postfix 4,0K 2006-11-27 20:40 5
drwx------  2 postfix postfix 4,0K 2007-03-26 14:33 6
drwx------  2 postfix postfix 4,0K 2006-12-20 20:20 7
drwx------  2 postfix postfix 4,0K 2007-01-16 04:50 8
drwx------  2 postfix postfix 4,0K 2006-12-18 23:02 9
drwx------  2 postfix postfix 4,0K 2006-12-12 19:53 A
drwx------  2 postfix postfix 4,0K 2006-12-17 18:08 B
drwx------  2 postfix postfix 4,0K 2007-02-27 09:53 C
drwx------  2 postfix postfix 4,0K 2006-11-27 20:40 D
drwx------  2 postfix postfix 4,0K 2006-12-15 23:38 E
drwx------  2 postfix postfix 4,0K 2006-11-27 20:40 F

/var/spool/postfix/etc:
insgesamt 40K
-rw-r--r--  1 root root  384 2007-03-25 21:03 hosts
-rw-r--r--  1 root root  837 2007-03-25 21:03 localtime
-rw-r--r--  1 root root  465 2007-03-25 21:03 nsswitch.conf
-rw-r--r--  1 root root 1,6K 2007-03-25 21:03 passwd
-rw-r--r--  1 root root   79 2007-03-25 21:03 resolv.conf
-rw-r--r--  1 root root  18K 2007-03-25 21:03 services

/var/spool/postfix/flush:
insgesamt 0

/var/spool/postfix/hold:
insgesamt 0

/var/spool/postfix/incoming:
insgesamt 64K
drwx------  2 postfix postfix 4,0K 2007-03-26 14:04 0
drwx------  2 postfix postfix 4,0K 2007-03-26 14:15 1
drwx------  2 postfix postfix 4,0K 2007-03-26 13:57 2
drwx------  2 postfix postfix 4,0K 2007-03-26 14:04 3
drwx------  2 postfix postfix 4,0K 2007-03-26 14:35 4
drwx------  2 postfix postfix 4,0K 2007-03-26 14:12 5
drwx------  2 postfix postfix 4,0K 2007-03-26 14:08 6
drwx------  2 postfix postfix 4,0K 2007-03-26 12:49 7
drwx------  2 postfix postfix 4,0K 2007-03-26 14:01 8
drwx------  2 postfix postfix 4,0K 2007-03-26 14:35 9
drwx------  2 postfix postfix 4,0K 2007-03-26 13:47 A
drwx------  2 postfix postfix 4,0K 2007-03-26 13:51 B
drwx------  2 postfix postfix 4,0K 2007-03-26 14:12 C
drwx------  2 postfix postfix 4,0K 2007-03-26 14:12 D
drwx------  2 postfix postfix 4,0K 2007-03-26 14:08 E
drwx------  2 postfix postfix 4,0K 2007-03-26 14:01 F

/var/spool/postfix/lib:
insgesamt 168K
-rw-r--r--  1 root root 27K 2006-04-19 16:11 libnss_compat-2.3.2.so
lrwxrwxrwx  1 root root  22 2007-03-25 21:03 libnss_compat.so.2 -> libnss_compat-2.3.2.so
-rw-r--r--  1 root root 14K 2006-04-19 16:11 libnss_dns-2.3.2.so
lrwxrwxrwx  1 root root  19 2007-03-25 21:03 libnss_dns.so.2 -> libnss_dns-2.3.2.so
-rw-r--r--  1 root root 34K 2006-04-19 16:11 libnss_files-2.3.2.so
lrwxrwxrwx  1 root root  21 2007-03-25 21:03 libnss_files.so.2 -> libnss_files-2.3.2.so
-rw-r--r--  1 root root 14K 2006-04-19 16:11 libnss_hesiod-2.3.2.so
lrwxrwxrwx  1 root root  22 2007-03-25 21:03 libnss_hesiod.so.2 -> libnss_hesiod-2.3.2.so
-rw-r--r--  1 root root 32K 2006-04-19 16:11 libnss_nis-2.3.2.so
-rw-r--r--  1 root root 39K 2006-04-19 16:11 libnss_nisplus-2.3.2.so
lrwxrwxrwx  1 root root  23 2007-03-25 21:03 libnss_nisplus.so.2 -> libnss_nisplus-2.3.2.so
lrwxrwxrwx  1 root root  19 2007-03-25 21:03 libnss_nis.so.2 -> libnss_nis-2.3.2.so

/var/spool/postfix/maildrop:
insgesamt 0

/var/spool/postfix/pid:
insgesamt 4,0K
-rw-------  1 root root  0 2006-04-10 00:20 inet.127.0.0.1:10025
-rw-------  1 root root  0 2006-04-10 00:20 inet.smtp
-rw-------  1 root root 17 2007-03-25 21:03 master.pid
-rw-------  1 root root  0 2006-04-10 00:20 unix.amavis
-rw-------  1 root root  0 2006-04-10 00:20 unix.bounce
-rw-------  1 root root  0 2006-04-10 00:20 unix.cleanup
-rw-------  1 root root  0 2006-04-10 00:20 unix.defer
-rw-------  1 root root  0 2006-04-10 00:20 unix.local
-rw-------  1 root root  0 2006-11-27 20:39 unix.showq
-rw-------  1 root root  0 2006-04-10 00:20 unix.smtp
-rw-------  1 root root  0 2006-05-18 00:14 unix.smtp-amavis
-rw-------  1 root root  0 2006-04-10 02:44 unix.virtual

/var/spool/postfix/private:
insgesamt 0
srw-rw-rw-  1 postfix postfix 0 2006-04-10 00:35 amavis
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 anvil
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 bounce
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 bsmtp
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 defer
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 error
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 ifmail
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 lmtp
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 local
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 maildrop
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 proxymap
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 relay
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 rewrite
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 scalemail-backend
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 smtp
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 smtp-amavis
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 trace
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 uucp
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 verify
srw-rw-rw-  1 postfix postfix 0 2007-03-25 21:03 virtual

/var/spool/postfix/public:
insgesamt 0
srw-rw-rw-  1 postfix postdrop 0 2007-03-25 21:03 cleanup
srw-rw-rw-  1 postfix postdrop 0 2007-03-25 21:03 flush
prw--w--w-  1 postfix postdrop 0 2007-03-26 14:41 pickup
prw--w--w-  1 postfix postdrop 0 2007-03-26 14:38 qmgr
srw-rw-rw-  1 postfix postdrop 0 2007-03-25 21:03 showq

/var/spool/postfix/saved:
insgesamt 0

/var/spool/postfix/trace:
insgesamt 0

/var/spool/postfix/usr:
insgesamt 4,0K
drwxr-xr-x  3 root root 4,0K 2006-04-09 23:39 lib

/usr/lib/postfix muss wie folgt aussehen:
Code:
bitmuncher:/home/bitmuncher# ls -lh /usr/lib/postfix/
insgesamt 792K
-rwxr-xr-x  1 root root  24K 2005-03-01 02:05 bounce
-rwxr-xr-x  1 root root  31K 2005-03-01 02:05 cleanup
-rw-r--r--  1 root root  11K 2005-03-01 02:05 dict_mysql.so
-rw-r--r--  1 root root  15K 2005-03-01 02:05 dict_sdbm.so
-rw-r--r--  1 root root 6,4K 2005-03-01 02:05 dict_tcp.so
-rwxr-xr-x  1 root root 4,5K 2005-03-01 02:05 error
-rwxr-xr-x  1 root root  12K 2005-03-01 02:05 flush
-rwxr-xr-x  1 root root  33K 2005-03-01 02:05 lmtp
-rwxr-xr-x  1 root root  27K 2005-03-01 02:05 lmtp.postfix
-rwxr-xr-x  1 root root  39K 2005-03-01 02:05 local
-rwxr-xr-x  1 root root  25K 2005-03-01 02:05 master
-rwxr-xr-x  1 root root  35K 2005-03-01 02:05 oqmgr
-rwxr-xr-x  1 root root 8,5K 2005-03-01 02:05 pickup
-rwxr-xr-x  1 root root  13K 2005-03-01 02:05 pipe
-rwxr-xr-x  1 root root 7,7K 2005-03-01 02:05 proxymap
-rwxr-xr-x  1 root root  41K 2005-03-01 02:05 qmgr
-rwxr-xr-x  1 root root  15K 2005-03-01 02:05 qmqpd
-rwxr-xr-x  1 root root 8,4K 2005-03-01 02:05 showq
-rwxr-xr-x  1 root root  72K 2005-03-01 02:05 smtp
-rwxr-xr-x  1 root root 116K 2005-03-01 02:05 smtpd
-rwxr-xr-x  1 root root  78K 2005-03-01 02:05 smtpd.postfix
-rwxr-xr-x  1 root root  35K 2005-03-01 02:05 smtp.postfix
-rwxr-xr-x  1 root root 5,9K 2005-03-01 02:05 spawn
-rwxr-xr-x  1 root root  36K 2005-03-01 02:05 tlsmgr
-rwxr-xr-x  1 root root  16K 2005-03-01 02:05 trivial-rewrite
-rwxr-xr-x  1 root root 8,1K 2005-03-01 02:05 verify
-rwxr-xr-x  1 root root  13K 2005-03-01 02:05 virtual
bitmuncher:/home/bitmuncher# ls -lh /usr/lib/postfix/*
-rwxr-xr-x  1 root root  24K 2005-03-01 02:05 /usr/lib/postfix/bounce
-rwxr-xr-x  1 root root  31K 2005-03-01 02:05 /usr/lib/postfix/cleanup
-rw-r--r--  1 root root  11K 2005-03-01 02:05 /usr/lib/postfix/dict_mysql.so
-rw-r--r--  1 root root  15K 2005-03-01 02:05 /usr/lib/postfix/dict_sdbm.so
-rw-r--r--  1 root root 6,4K 2005-03-01 02:05 /usr/lib/postfix/dict_tcp.so
-rwxr-xr-x  1 root root 4,5K 2005-03-01 02:05 /usr/lib/postfix/error
-rwxr-xr-x  1 root root  12K 2005-03-01 02:05 /usr/lib/postfix/flush
-rwxr-xr-x  1 root root  33K 2005-03-01 02:05 /usr/lib/postfix/lmtp
-rwxr-xr-x  1 root root  27K 2005-03-01 02:05 /usr/lib/postfix/lmtp.postfix
-rwxr-xr-x  1 root root  39K 2005-03-01 02:05 /usr/lib/postfix/local
-rwxr-xr-x  1 root root  25K 2005-03-01 02:05 /usr/lib/postfix/master
-rwxr-xr-x  1 root root  35K 2005-03-01 02:05 /usr/lib/postfix/oqmgr
-rwxr-xr-x  1 root root 8,5K 2005-03-01 02:05 /usr/lib/postfix/pickup
-rwxr-xr-x  1 root root  13K 2005-03-01 02:05 /usr/lib/postfix/pipe
-rwxr-xr-x  1 root root 7,7K 2005-03-01 02:05 /usr/lib/postfix/proxymap
-rwxr-xr-x  1 root root  41K 2005-03-01 02:05 /usr/lib/postfix/qmgr
-rwxr-xr-x  1 root root  15K 2005-03-01 02:05 /usr/lib/postfix/qmqpd
-rwxr-xr-x  1 root root 8,4K 2005-03-01 02:05 /usr/lib/postfix/showq
-rwxr-xr-x  1 root root  72K 2005-03-01 02:05 /usr/lib/postfix/smtp
-rwxr-xr-x  1 root root 116K 2005-03-01 02:05 /usr/lib/postfix/smtpd
-rwxr-xr-x  1 root root  78K 2005-03-01 02:05 /usr/lib/postfix/smtpd.postfix
-rwxr-xr-x  1 root root  35K 2005-03-01 02:05 /usr/lib/postfix/smtp.postfix
-rwxr-xr-x  1 root root 5,9K 2005-03-01 02:05 /usr/lib/postfix/spawn
-rwxr-xr-x  1 root root  36K 2005-03-01 02:05 /usr/lib/postfix/tlsmgr
-rwxr-xr-x  1 root root  16K 2005-03-01 02:05 /usr/lib/postfix/trivial-rewrite
-rwxr-xr-x  1 root root 8,1K 2005-03-01 02:05 /usr/lib/postfix/verify
-rwxr-xr-x  1 root root  13K 2005-03-01 02:05 /usr/lib/postfix/virtual
 
ich verzweifel an dem teil noch...

ich hab die Berechtigungen nach deiner Vorlage angepasst, dann lies sich der Server mal wieder nicht starten...

Ich hab dann die Verzeichnisse den Fehlermeldungen not owened* entsprechend bearbeitet und jetzt passt ihm wieder was net:

Code:
alpha952:/# /usr/sbin/postfix start
postsuper: fatal: scan_dir_push: open directory defer: Permission denied
postfix/postfix-script: fatal: Postfix integrity check failed!


ps:
wenn es dir etwas hilft öffne ich dir ein VNC-Server auf meinem lokalen Rechner, Dann kannst du darüber an die Serverkonsole ^^
 
Sorry, aber ich habe selbst gerade einen Mailserver einzurichten, der ein wenig mehr können muß als deiner (Sieve, striktes White-/Blacklisting usw.) und daher habe ich keine Zeit auch noch deinen fertig zu machen. VNC-Zugang brauche ich also nicht. Lass mal 'postfix set-permissions' durchlaufen. Das sollte den Fehler beseitigen.
 
Code:
alpha952:/# postfix set-permissions create-missing
chown: cannot access `/usr/lib/postfix/dict_ldap.so': No such file or directory

Diese Datei existiert nicht, nirgendwo auf dem Server...
Ich hab Postfix, sowie Sendmail bereits neu installiert...
Immer wieder die gleichen Probleme...
 
Hast du den Postfix bei der Neu-Installation auch mit --purge deinstalliert? Natürlich vorher Backup deiner Konfiguration machen.
 
ja...
inzwischen führ ich die 4. oder 5. neuinstallation durch...
inzwischen bekomme ich bei der isntallation (oder auch deinstallation) folgende meldungen, und zwar net nur einmal...

Code:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory



inzwischen hab ich kein Bock mehr auf die Kacke...
Das Thema hat sich soeben für mich erledigt

- close please

mfg - keks
 
Deswegen sollte man solche "Experimente" immer erstmal auf einem extra Rechner machen und wenn die Konfiguration funktioniert, übernimmt man sie einfach. Hätte aber nicht gedacht, daß du so schnell aufgibst. Das getcwd-Problem sollte sich übrigens mit einem simplen Neu-Login lösen. Mailserver sind halt ein Ding für sich und die Fehler-/Logmeldungen "gewöhnungsbedürftig", wobei ich mit dem von dir genutzten Howto eigentlich nie Probleme hatte.
 
Tatsache ist aber dass ich jetzt schon geschlagene 4 Tage versuche das Teil zum Laufen zu kriegen und es ums verrecken net funktionieren will...

Einen 2. Unix-Rechner zum experimentieren besitze ich nicht, nur meinen Heimserver an dem ich aber garantiert nix rumfummel, da der so wie er eingerichtet ist (mit Unix-Usern) für meine Zwecke (nur Netz-intern) ausreicht und einwandfrei funktioniert...
 
Nunja, an meinem ersten Postfix-Courier-MySQL-Server saß ich auch knapp eine Woche. Logge dich einfach mal neu ein, damit dein getcwd-Problem verschwindet, restarte den Postfix nochmal und schau, ob es immernoch Fehlermeldungen beim Start gibt. Im Normalfall sollte das Fehlen der dict_ldap.so kein Problem sein. Ansonsten mal die Postfix-Erweiterungen postfix-ldap und postfix-pcre installieren, die ganzen Manpages von postfix durch gunzip jagen und ggf. dorthin verlinken wo sie gesucht werden (von postfix set-permissions) und die von 'set-permissions' geforderten Dateien in /etc/postfix mit 'touch' anlegen. Dann sollte set-permissions auch sauber durchlaufen und deine Rechte-Probleme damit vermutlich gelöst. Ist zwar eine Menge Befehls-Getippe, aber aufgeben bringt definitiv nichts, denke ich. :)
 
na toll jetzt fehlt die dict_sdbm.so ...

ein entsprechendes Paket existiert nicht, zumindest hab ich keins gefunden, und ich hab grad alle verfügbaren Pakete für postfix installiert...
 
bei mir existiert solch eien Datei nicht,
und sorry wenn ich jetz sau dumm frag wie ich dieses Teil installieren kann, aber ich bin erkältet, mein Kopft dröhnt und ich bin "etwas generft" von diesem Server...

postfix-tls ist installiert...
 
Du hast aber schon nen Sarge am Laufen? Was gibt denn der gleiche apt-file-Befehl bei dir aus? (Evtl. nachinstallieren und die Dateiliste mit 'apt-file update' aktualisieren bevor du suchst.)
 
oh verdammt... hab ich ganz vergessen dazuzuschreiben.

Auf diesem Server läuft Ubuntu 6.06 (dapper), Sarge is auf meinem Heimserver installiert.
Naja Ubuntu und Sagre sollten ja aber nicht allzu große Unterschiede aufweisen... ^^

Der Befehl gibt übrigens garnix aus...
 
Ubuntu ist aber nicht Sarge und schon seit Version 5.10 nicht mehr kompatibel zu Sarge. Bei meinem Ubuntu findet er die Datei auch nicht, womit du also set-permissions vergessen kannst. Da bleibt nur die Postfix-Doku durchzugehen und die Rechte per Hand anzupassen. Das von dir gewählte Howto läuft meines Wissens nur mit Sarge. Bei Ubuntu solltest du dich eher an http://flurdy.com/docs/postfix/ halten.
 
Zurück
Oben