[Postfixbuch-users] postfix/error[12065] relay=none, status=deferred (mail transport unavailable)

jan gerlach stuijg at googlemail.com
Di Mai 26 14:30:47 CEST 2009


Hallo,

für meine Abschlussarbeit habe ich mir einen RelayServer ausgesucht.
Also ich habe soweit alles was ich wollte integriert.

Der Server nimmt Mails an und leitet sie nach der Prüfung zu einem
Dominomailserver weiter,
der verteilt die Mails dann.

Eingebaut sind amavis-new, spamassassin mit sql, clamav und f-secure.
Der Mailverkehr von Intern, also von Lotus Notes über den Server
funktioniert und
es kommen Mail bei z.b. Googlemail an.

Von Extern zu Intern funktioniert das nicht. es kommt immer die
Meldung (aus mail.info):

May 26 10:51:32 ns postfix/error[21999]: B56E55A65E5:
to=<jan.xyz at reboot.de>, relay=none, delay=810, delays=809/0.07/0/0.07,
dsn=4.3.0, status=deferred (mail transport unavailable)

Die Mailqueue wächst und wächst. Ein postfix flush gibt immer die Fehler an.

Diese Meldung eigt mir, dass Postfix wenigstens arbeitet:

May 26 10:49:53 ns postfix/smtpd[17886]: NOQUEUE: reject: RCPT from
88-199-92-2.tktelekom.pl[88.199.92.2]: 554 5.7.1 Service unavailable;
Client host [88.199.92.2] blocked using zen.spamhaus.org;
http://www.spamhaus.org/query/bl?ip=88.199.92.2;
from=<dwpeboaqerp at brackensusa.com> to=<ch.mohr at domain.de> proto=ESMTP
helo=<88-199-92-2.tktelekom.pl>

in Mail.info stehen nur solche Meldungen.
keine Einträge in mail.err
syslog sagt auch nur


Hier die Konfiguration von postconf -n (Firmenname wurde durch
"domain" ersetzt):

alias_database = btree:/etc/aliases
alias_maps = btree:/etc/aliases
append_dot_mydomain = no
biff = no
bounce_notice_recipient = postmaster at domain.de
bounce_size_limit = 4096
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
default_database_type = btree
local_transport = local
mail_owner = postfix
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 204800000
mydestination = domain.de, domain-gmbh.de, ns.domain.de, localhost,
mydomain = domain.de
myhostname = ns.domain.de
myorigin = /etc/mailname
recipient_delimiter = +
setgid_group = postdrop
smtpd_banner = reboot ESMTP Server
smtpd_client_restrictions =
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_limit = 10
smtpd_recipient_restrictions = check_helo_access
btree:/etc/postfix/helo_access,	check_sender_access
btree:/etc/postfix/access,	reject_non_fqdn_sender,
	reject_non_fqdn_recipient,	reject_unknown_sender_domain,	reject_unknown_recipient_domain,	permit_sasl_authenticated,	permit_mynetworks,	reject_rbl_client
zen.spamhaus.org,	reject_rbl_client
ix.dnsbl.manitu.net,	reject_rbl_client
bl.spamcop.net,	reject_rbl_client dnsbl.njabl.org,	reject_rbl_client
list.dsbl.org,	reject_unauth_destination,	reject_unauth_pipelining,	permit
smtpd_sender_restrictions =
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls = yes
transport_maps = btree:/etc/postfix/transport
unknown_local_recipient_reject_code = 450

Die Master.cf

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
   -o content_filter=localhost:10024

localhost:10025	inet	n	-	-	-	-	smtpd
   -o content_filter=
   -o smtpd_proxy_filter=
   -o smtpd_authorized_xforward_hosts=127.0.0.0/8
   -o smtpd_client_restrictions=
   -o smtpd_helo_restrictions=
   -o smtpd_sender_restrictions=
   -o smtpd_recipient_restrictions=permit_mynetworks,reject
   -o smtpd_data_restrictions=
   -o mynetworks=127.0.0.0/8
   -o receive_override_options=no_unknown_recipient_checks
#submission inet n       -       -       -       -       smtpd
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps     inet  n       -       -       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#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
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       -       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
	-o smtp_fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
retry     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}
#
# 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}


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

Die transportmap:

ns.domain.de	local
domain.de	smtp:[213.217.121.158]
domain-gmbh.de	smtp:[213.217.121.158]

Über Netstat kommt:

tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN

Amavis antwortet per telnet 10024 postfix antwortet per telnet 10025





Danke schon im voraus

-- 
Gruß Jan Gerlach



Mehr Informationen über die Mailingliste Postfixbuch-users