[Postfixbuch-users] Amavisd-new empfängt, versendet aber nicht

Mel Trends mel.trends at gmx.de
Mo Feb 15 16:32:49 CET 2010


Hi,

ich habe noch einmal ein kleines Problem. Ich habe dem Postfix noch ein Amavis mit Spamassassin und ClamAV angeschlossen.
Das mit dem Empfangen klappt, die Mail swerden gescannt. Nur wenn jetzt jemand Mails versenden will geht das nicht mehr. Dann kommen die Mails so zurück:

"The message WAS NOT relayed to:
  <mel.trends at gmx.de>: [127.0.0.1] said:
   554 5.7.1 Failed, id=04771-11, from MTA([127.0.0.1]:10025): 554 5.7.1 <mel.trends at gmx.de>: Relay access denied

This nondelivery report was generated by the program amavisd-new at host
mail.immoeuro.de. Our internal reference code for your message is
04771-11/hYvRzpd6A7r6

Return-Path: <ercan.topal at immoeuro.de>
Message-ID: <201002151615.16432.ercan.topal at immoeuro.de>
Subject: test"

Wenn ich aus main.cf und master.cf die Amavis-Konfiguration wieder rausnehme geht der Versand wieder.

Meine main.cf:

smtpd_banner = $myhostname ESMTP immoeuro24 says hello to you!
biff = no

append_dot_mydomain = no


readme_directory = no

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
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache


myhostname = mail.immoeuro24.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $mydomain
mydestination =
  $mydomain
  $myhostname
  localhost
  localhost.$mydomain
  immoeuro24.eu
  immoeuro24.net
  immoeuro24.com
  immoeuro24.org
  immoeuro24.com
  immoeuro24.de
relayhost =
mynetworks =
  188.40.80.0/24
  84.161.0.0/16
  84.161.89.0/24
  127.0.0.0/8
  [::ffff:127.0.0.0]/104
  [::1]/128
mailbox_transport = cyrus
mailbox_size_limit = 0
message_size_limit = 20000000
recipient_delimiter = +

address_verify_sender = postmaster@$myorigin

virtual_alias_maps = hash:/etc/postfix/virtual_alias_maps
smtpd_client_message_rate_limit = 50
anvil_rate_time_unit = 60s

content_filter = smtp:[127.0.0.1]:10024

smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth

smtpd_helo_required = yes

smtpd_client_restrictions =
  permit_sasl_authenticated
  check_sender_access hash:/etc/postfix/access
  permit_mynetworks
  permit

header_checks = pcre:/etc/postfix/header_checks

smtpd_recipient_restrictions =
  reject_non_fqdn_recipient
  reject_non_fqdn_sender
  reject_unknown_sender_domain
  reject_unknown_recipient_domain
  permit_sasl_authenticated
  reject_unauth_destination
  permit_mynetworks
  reject_sender_login_mismatch
  check_recipient_access hash:/etc/postfix/roleaccount_exceptions
  reject_multi_recipient_bounce
  reject_non_fqdn_hostname
  reject_invalid_hostname
  check_helo_access pcre:/etc/postfix/helo_checks
  check_sender_access hash:/etc/postfix/common_spam_senderdomains
  check_sender_access regexp:/etc/postfix/common_spam_senderdomain_keywords
  permit

canonical_maps = hash:/etc/postfix/canonical

inet_interfaces = all
inet_protocols = all

Und meine master.cf:

smtp      inet  n       -       -       -       -       smtpd
localhost:10025   inet  n       -       n       -       -       smtpd
   -o content_filter=
   -o smtpd_proxy_filter=

pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
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
relay     unix  -       -       -       -       -       smtp
        -o smtp_fallback_relay=
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
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/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 -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}
cyrus     unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}

Möglicherweise habe ich irgendwo wieder blind hingesehen. Könnt ihr mir weiterhelfen?

Viele Grüße

Melanie
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



Mehr Informationen über die Mailingliste Postfixbuch-users