PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : postfix-postdrop prob



keeney
20.06.03, 22:39
hi!

hab heut mal wieder versucht, postfix 2.0.11 aufzusetzen. leider gelingt es mir nicht, mails zu verschicken.

Jun 20 22:25:53 [postfix/smtpd] connect from localhost[127.0.0.1]
Jun 20 22:25:53 [postfix/smtpd] 39A94AABAA: client=localhost[127.0.0.1]
Jun 20 22:25:53 [postfix/postdrop] fatal: uid=0: unexpected record type: 84
Jun 20 22:25:54 [postfix/smtpd] warning: premature end-of-input on /usr/sbin/postdrop while reading input attribute name

folgendes hab ich in de main.cf editiert:

myhostname = $host.domain.name
mydomain = $domain.name
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain $mydomain
mynetworks = my.ip.net.work/24, 127.0.0.0/8
#home_mailbox = .maildir/
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10

anschliessend #newaliases

der rest unveraendert.
jemand eine idee?

keeney
21.06.03, 13:21
*schieb*

jungs, dat waer echt wichtig. ohne mta komm ich naemlich nicht weit.
ich hab die alte config versucht, zweimal nach verschiedenen how-tos aufgesetzt, neu emerged. immer das gleiche.

ich benoetige dringend hilfe! :)

steve-bracket
21.06.03, 13:59
Naja, so aus dem Stand kann man nichts konkretes sagen.



ich hab die alte config versucht, zweimal nach verschiedenen how-tos aufgesetzt, neu emerged. immer das gleiche.


Wenn eine ältere/andere Version von Postfix schon gelaufen ist nimm diese wieder her.

fG
Steve

keeney
21.06.03, 15:43
jau, die is unter mandrake gelaufen, und das nehm ich sicher nicht mehr her ;)
das ist echt zum haare raufen!

Cieni
21.06.03, 17:37
Hi,
schau mal unter /var/spool/postfix ob die Verzeichnisse bis auf pid als Owner Postfix haben. Sieht mir aus wie ein Rechteproblem.



Cieni

keeney
21.06.03, 17:45
war das erste, was ich unter die lupe genommen hab :/
root@noisy postfix # ls -la
insgesamt 60
drwxr-xr-x 15 root root 4096 2003-06-20 22:25 .
drwxr-xr-x 7 root root 4096 2003-06-20 22:19 ..
drwx------ 3 postfix root 4096 2003-06-21 00:05 active
drwx------ 2 postfix root 4096 2003-06-20 22:25 bounce
drwx------ 2 postfix root 4096 2003-06-20 22:25 corrupt
drwx------ 2 postfix root 4096 2003-06-20 22:25 defer
drwx------ 2 postfix root 4096 2003-06-20 22:25 deferred
drwx------ 2 postfix root 4096 2003-06-20 22:25 flush
drwx------ 2 postfix root 4096 2003-06-20 22:25 hold
drwx------ 3 postfix root 4096 2003-06-21 00:05 incoming
drwx-wx--- 2 postfix postdrop 4096 2003-06-21 01:48 maildrop
drwxr-xr-x 2 root root 4096 2003-06-21 00:25 pid
drwx------ 2 postfix root 4096 2003-06-21 01:47 private
drwx--x--- 2 postfix postdrop 4096 2003-06-21 01:47 public
drwxr-xr-x 2 root root 4096 2003-06-20 22:19 tmp

war das erste, was ich unter die lupe genommen hab :/

root@noisy postfix # ls -la /usr/lib/postfix/
insgesamt 3268
drwxr-xr-x 2 root root 4096 2003-06-20 22:19 .
drwxr-xr-x 67 root root 36864 2003-06-21 11:23 ..
-rwxr-xr-x 1 root root 151272 2003-06-20 22:19 bounce
-rwxr-xr-x 1 root root 186056 2003-06-20 22:19 cleanup
-rwxr-xr-x 1 root root 140564 2003-06-20 22:19 error
-rwxr-xr-x 1 root root 137744 2003-06-20 22:19 flush
-rwxr-xr-x 1 root root 176268 2003-06-20 22:19 lmtp
-rwxr-xr-x 1 root root 203244 2003-06-20 22:19 local
-rwxr-xr-x 1 root root 93740 2003-06-20 22:19 master
-rwxr-xr-x 1 root root 174904 2003-06-20 22:19 nqmgr
-rwxr-xr-x 1 root root 136680 2003-06-20 22:19 pickup
-rwxr-xr-x 1 root root 159188 2003-06-20 22:19 pipe
-rwxr-xr-x 1 root root 122660 2003-06-20 22:19 proxymap
-rwxr-xr-x 1 root root 166416 2003-06-20 22:19 qmgr
-rwxr-xr-x 1 root root 149896 2003-06-20 22:19 qmqpd
-rwxr-xr-x 1 root root 137708 2003-06-20 22:19 showq
-rwxr-xr-x 1 root root 217116 2003-06-20 22:19 smtp
-rwxr-xr-x 1 root root 246476 2003-06-20 22:19 smtpd
-rwxr-xr-x 1 root root 131712 2003-06-20 22:19 spawn
-rwxr-xr-x 1 root root 152404 2003-06-20 22:19 tlsmgr
-rwxr-xr-x 1 root root 141260 2003-06-20 22:19 trivial-rewrite
-rwxr-xr-x 1 root root 156256 2003-06-20 22:19 virtual

root@noisy postfix # ls -la /usr/sbin/post*
-rwxr-xr-x 1 root root 126308 2003-06-20 22:19 /usr/sbin/postalias
-rwxr-xr-x 1 root root 67588 2003-06-20 22:19 /usr/sbin/postcat
-rwxr-xr-x 1 root root 129812 2003-06-20 22:19 /usr/sbin/postconf
-rwxr-sr-x 1 root postdrop 87128 2003-06-20 22:19 /usr/sbin/postdrop
-rwxr-xr-x 1 root root 60628 2003-06-20 22:19 /usr/sbin/postfix
-rwxr-xr-x 1 root root 67016 2003-06-20 22:19 /usr/sbin/postkick
-rwxr-xr-x 1 root root 63392 2003-06-20 22:19 /usr/sbin/postlock
-rwxr-xr-x 1 root root 60240 2003-06-20 22:19 /usr/sbin/postlog
-rwxr-xr-x 1 root root 117784 2003-06-20 22:19 /usr/sbin/postmap
-rwxr-sr-x 1 root postdrop 77568 2003-06-20 22:19 /usr/sbin/postqueue
-rwxr-xr-x 1 root root 75372 2003-06-20 22:19 /usr/sbin/postsuper

hier noch n auszug aus der master.cf:

# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - n - - smtpd -v
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
cyrus unix - n n - - pipe
user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient

Cieni
21.06.03, 21:19
Hi, also bei mir ist die Gruppe von Maildrop maildrop und nicht postdrop.

Cieni

keeney
21.06.03, 21:39
hm, was sagt bei dir
#cat /etc/group |grep maildrop
#cat /etc/group |grep postdrop
#cat /etc/group |grep mail
#cat /etc/group |grep postfix
?

und laeuft dein postfix in ner chroot-umgebung oder ohne?