Postfix, Confixx, Problem...

afro

New Member
Hallo!

Hier mein Problem:

Ich kann keine E-Mail empfangen und keine E-Mail senden...

Meine main.cf
Code:
#See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP Mailserver
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
myhostname = pv288.ncsrv.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $myhostname 
mydestination = $myhostname, localhost.$mydomain, $mydomain
#mydestination = hash:/etc/postfix/confixx_localDomains
relayhost = 
mynetworks = 127.0.0.0/8
mailbox_command = procmail
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_hostname
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_unauth_destination
smtpd_sender_restrictions = reject_unknown_address
#smtpd_sasl_type = dovecot
#smtpd_sasl_path = private/auth
smtp_sasl_auth_enable = no
#smtp_sasl_password_maps = hash:/etc/passwd

### CONFIXX POSTFIX ENTRY ###

virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains

### /CONFIXX POSTFIX ENTRY ###
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
html_directory = no
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/local/man
daemon_directory = /usr/libexec/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix
data_directory = /var/lib/postfix

und meine master.cf
Code:
#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd -o pam
587       inet  n       -       -       -       -       smtpd -o pam
#submission inet n       -       -       -       -       smtpd
#  -o smtpd_enforce_tls=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps     inet  n       -       -       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
	-o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache	  unix	-	-	-	-	1	scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}

#spamassassin unix - n n - - pipe user=nobody argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}


  
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix	-	n	n	-	2	pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}

retry     unix  -       -       n       -       -       error
proxywrite unix -       -       n       -       1       proxymap

dann nochmal saslfinger:
Code:
System: Debian GNU/Linux 3.1 \n \l

-- smtp is linked to --

-- active SMTP AUTH and TLS parameters for smtp --
relayhost =
smtp_sasl_auth_enable = no


-- listing of /usr/lib/sasl2 --
total 743
drwxr-xr-x   2 root  root   2048 Sep 10 21:18 .
drwxr-xr-x  52 root  root  13312 Sep 10 19:33 ..
-rw-r-----   1 smmta smmsp   743 Sep 10 19:21 Sendmail.conf
-rw-r--r--   1 root  root  13304 Dec 13  2006 libanonymous.a
-rw-r--r--   1 root  root    855 Dec 13  2006 libanonymous.la
-rw-r--r--   1 root  root  12844 Dec 13  2006 libanonymous.so
-rw-r--r--   1 root  root  12844 Dec 13  2006 libanonymous.so.2
-rw-r--r--   1 root  root  12844 Dec 13  2006 libanonymous.so.2.0.22
-rw-r--r--   1 root  root  15502 Dec 13  2006 libcrammd5.a
-rw-r--r--   1 root  root    841 Dec 13  2006 libcrammd5.la
-rw-r--r--   1 root  root  15052 Dec 13  2006 libcrammd5.so
-rw-r--r--   1 root  root  15052 Dec 13  2006 libcrammd5.so.2
-rw-r--r--   1 root  root  15052 Dec 13  2006 libcrammd5.so.2.0.22
-rw-r--r--   1 root  root  46320 Dec 13  2006 libdigestmd5.a
-rw-r--r--   1 root  root    864 Dec 13  2006 libdigestmd5.la
-rw-r--r--   1 root  root  43040 Dec 13  2006 libdigestmd5.so
-rw-r--r--   1 root  root  43040 Dec 13  2006 libdigestmd5.so.2
-rw-r--r--   1 root  root  43040 Dec 13  2006 libdigestmd5.so.2.0.22
-rw-r--r--   1 root  root  13482 Dec 13  2006 liblogin.a
-rw-r--r--   1 root  root    835 Dec 13  2006 liblogin.la
-rw-r--r--   1 root  root  13384 Dec 13  2006 liblogin.so
-rw-r--r--   1 root  root  13384 Dec 13  2006 liblogin.so.2
-rw-r--r--   1 root  root  13384 Dec 13  2006 liblogin.so.2.0.22
-rw-r--r--   1 root  root  29300 Dec 13  2006 libntlm.a
-rw-r--r--   1 root  root    829 Dec 13  2006 libntlm.la
-rw-r--r--   1 root  root  28776 Dec 13  2006 libntlm.so
-rw-r--r--   1 root  root  28776 Dec 13  2006 libntlm.so.2
-rw-r--r--   1 root  root  28776 Dec 13  2006 libntlm.so.2.0.22
-rw-r--r--   1 root  root  13818 Dec 13  2006 libplain.a
-rw-r--r--   1 root  root    835 Dec 13  2006 libplain.la
-rw-r--r--   1 root  root  13992 Dec 13  2006 libplain.so
-rw-r--r--   1 root  root  13992 Dec 13  2006 libplain.so.2
-rw-r--r--   1 root  root  13992 Dec 13  2006 libplain.so.2.0.22
-rw-r--r--   1 root  root  21726 Dec 13  2006 libsasldb.a
-rw-r--r--   1 root  root    856 Dec 13  2006 libsasldb.la
-rw-r--r--   1 root  root  17980 Dec 13  2006 libsasldb.so
-rw-r--r--   1 root  root  17980 Dec 13  2006 libsasldb.so.2
-rw-r--r--   1 root  root  17980 Dec 13  2006 libsasldb.so.2.0.22
-rw-r--r--   1 root  root  23576 Dec 13  2006 libsql.a
-rw-r--r--   1 root  root    964 Dec 13  2006 libsql.la
-rw-r--r--   1 root  root  23072 Dec 13  2006 libsql.so
-rw-r--r--   1 root  root  23072 Dec 13  2006 libsql.so.2
-rw-r--r--   1 root  root  23072 Dec 13  2006 libsql.so.2.0.22
-rw-r-----   1 root  root    702 Sep 10 21:18 saslpasswd.conf


Cannot find the smtp_sasl_password_maps parameter in main.cf.
Client-side SMTP AUTH cannot work without this parameter!

achja, hier noch die log:
Code:
Sep 10 21:40:54 pv288 postfix/master[14074]: reload configuration /etc/postfix
Sep 10 21:41:10 pv288 postfix/smtpd[14317]: warning: SASL: Connect to smtpd failed: No such file or directory
Sep 10 21:41:10 pv288 postfix/smtpd[14317]: fatal: no SASL authentication mechanisms
Sep 10 21:41:11 pv288 postfix/master[14074]: warning: process /usr/libexec/postfix/smtpd pid 14317 exit status 1
Sep 10 21:41:11 pv288 postfix/master[14074]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Sep 10 21:42:11 pv288 postfix/smtpd[15868]: warning: SASL: Connect to smtpd failed: No such file or directory
Sep 10 21:42:11 pv288 postfix/smtpd[15868]: fatal: no SASL authentication mechanisms
Sep 10 21:42:12 pv288 postfix/master[14074]: warning: process /usr/libexec/postfix/smtpd pid 15868 exit status 1
Sep 10 21:42:12 pv288 postfix/master[14074]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

ich muss dazusagen, das ich Postfix selber neu kompilieren musste, nachdem ich es deinstalliert hatte. Fragt mich bloß nicht warum ich es deinstalliert habe :D Naja aufjedenfall hab ich es mit Sasl kompiliert...

Hoffe, mir kann jemand helfen...
 
Last edited by a moderator:
"Cannot find the smtp_sasl_password_maps parameter in main.cf.
Client-side SMTP AUTH cannot work without this parameter!"

und bei dir in der main.cf auskommentiert? Mal die Raute entfernen!?

#smtp_sasl_password_maps = hash:/etc/passwd
 
ich weiß ja nicht wo die passwortdatei ist, die passwd datei isset schonmal nciht weil er dann eine passwd.db sucht ;)
 
das war dafür, laut nem Tutorial das sich irgendwas nicht anmelden muss, aber ich hab ja auch schon davor das nicht hinbekommen :-/ Ich guck morgen nochmal und nehme das raus ;)


habs rausgenommen, hilft aber auhc nicht... liegt das vielleicht daran:
Code:
System: Debian GNU/Linux 3.1 \n \l

-- smtp is linked to --

-- active SMTP AUTH and TLS parameters for smtp --

Also das nach smtp is linked to nichts steht?
 
Last edited by a moderator:
Back
Top