[Postfixbuch-users] Problem mit Postfix und MySQL: Ein Email-Empfang von außen

postfix at wicker-klinik.de postfix at wicker-klinik.de
Do Aug 19 14:42:20 CEST 2004


Hallo,

schon wieder habe ich ein Problem mit Postfix in Verbindung mit MySQL. Wenn ich auf der Shell des Servers eine Email an den Benutzer edv at praxis-gercke-graul.de schicke funktioniert das einwandfrei:


Aug 19 13:48:00 linuxcom postfix/pickup[5433]: 5084A117647: uid=0 from=<root>
Aug 19 13:48:00 linuxcom postfix/cleanup[5459]: 5084A117647: message-id=<20040819114800.GA5454 at linuxcom>
Aug 19 13:48:00 linuxcom postfix/qmgr[5434]: 5084A117647: from=<root at linuxcom.praxis-gercke-graul.de>, size=449, nrcpt=1 (queue active)
Aug 19 13:48:00 linuxcom postfix/virtual[5464]: 5084A117647: to=<edv at praxis-gercke-graul.de>, relay=virtual, delay=0, status=sent (delivered to maildir)
Aug 19 13:48:00 linuxcom postfix/qmgr[5434]: 5084A117647: removed
Aug 19 13:48:00 linuxcom postfix/pickup[5433]: 5084A117647: uid=0 from=<root>
Aug 19 13:48:00 linuxcom postfix/cleanup[5459]: 5084A117647: message-id=<20040819114800.GA5454 at linuxcom>
Aug 19 13:48:00 linuxcom postfix/qmgr[5434]: 5084A117647: from=<root at linuxcom.praxis-gercke-graul.de>, size=449, nrcpt=1 (queue active)
Aug 19 13:48:00 linuxcom postfix/virtual[5464]: 5084A117647: to=<edv at praxis-gercke-graul.de>, relay=virtual, delay=0, status=sent (delivered to maildir)
Aug 19 13:48:00 linuxcom postfix/qmgr[5434]: 5084A117647: removed


Schicke ich aber von einem anderen Mailserver aus eine Email an edv at praxis-gercke-graul.de bekomme 
ich folgende Fehlermeldung im Log:


Aug 19 13:49:52 linuxcom postfix/smtpd[5467]: warning: smtpd_peer_init: 192.168.1.5: address not listed for hostname localhost
Aug 19 13:49:52 linuxcom postfix/smtpd[5467]: connect from unknown[192.168.1.5]
Aug 19 13:49:52 linuxcom postfix/smtpd[5467]: NOQUEUE: reject: RCPT from unknown[192.168.1.5]: 550 <edv at praxis-gercke-graul.de>: Recipient address rejected: User unknown in local recipient table; from=<Administrator at Wicker-Klinik.de> to=<edv at praxis-gercke-graul.de> proto=SMTP helo=<wckhvmxrelay.wicker.de>
Aug 19 13:49:52 linuxcom postfix/smtpd[5467]: disconnect from unknown[192.168.1.5]


Kann mir jemand weiterhelfen. Hier noch die Konfiguration des Servers:

linuxcom:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command =
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain, localhost, locahost.$mydomain
mydomain = praxis-gercke-graul.de
myhostname = linuxcom.praxis-gercke-graul.de
mynetworks = 192.168.128.0/24, 127.0.0.0/8
recipient_delimiter = +
relay_domains = $mydestination, praxis-gercke-graul.de
relayhost = 192.168.1.5
smtpd_banner = $myhostname ESMTP
transport_maps = hash:/etc/postfix/transport
virtual_gid_maps = mysql:/etc/postfix/ids.mysql
virtual_mailbox_base = /var/spool/maildirs
virtual_mailbox_maps = mysql:/etc/postfix/mailbox.mysql
virtual_minimum_uid = 5000
virtual_uid_maps = mysql:/etc/postfix/ids.mysql
linuxcom:~#

linuxcom:~# cat /etc/postfix/master.cf
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
#submission inet n      -       n       -       -       smtpd
#       -o smtpd_etrn_restrictions=reject
#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       oqmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
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
anvil     unix  -       -       n       -       1       anvil
#
# 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}
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -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}

# only used by postfix-tls
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
#smtps    inet  n       -       n       -       -       smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587      inet  n       -       n       -       -       smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes


Gruß,
Andreas

==============================
Wicker-Klinik Bad Wildungen
Andreas Brück
Fürst-Friedrich-Str. 2-4
34537 Bad Wildungen

Tel 05621-792 605
Fax 05621-792 9102
Email: Brueck at Wicker-Klinik.de
==============================
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listi.jpberlin.de/pipermail/postfixbuch-users/attachments/20040819/a3f3b059/attachment.html>


Mehr Informationen über die Mailingliste Postfixbuch-users