nachdem ich in meiner Testumgebung schon einiges gebastelt und ausprobiert habe, habe ich mich eben dazu entschlossen das ganze jetzt auch auf meinem produktivsever zu machen... Und siehe da. Doch noch 'nen Fehler gefunden, auf bei dem ich nicht weiter komme. Vielleicht hat ja einer von Euch den rettenden Tipp für mich.
Lange Rede kurzer Sinn. Wenn ich amavis aus der master.cf raus nehme, geht alles. Wenn es drinn ist, kann ich nicht mit smtp_auth über den Server relayen. Als Antwort bekomme ich ne schöne Mail von einem der sich MAILER-DAEMON nennt :( Ich habe auch schon ein mit der mynetworks Variable gespielt, aber alles was ich bei google gefunden habe hat nicht mit smtp_auth zu tun, sondern mit festen IPs.
Code: Select all
Sep 19 21:29:30 mail postfix/smtpd[8992]: B21F7A3B21: client=p50830A28.dip0.t-ipconnect.de[80.131.10.40], sasl_method=PLAIN, sasl_username=jochen@bigblade.de
Sep 19 21:29:30 mail postfix/cleanup[9001]: B21F7A3B21: message-id=<451045C8.5020408@bigblade.de>
Sep 19 21:29:30 mail postfix/qmgr[8981]: B21F7A3B21: from=<jochen@bigblade.de>, size=544, nrcpt=1 (queue active)
Sep 19 21:29:31 mail postfix/smtpd[8992]: disconnect from p50830A28.dip0.t-ipconnect.de[80.131.10.40]
Sep 19 21:29:31 mail amavis[8917]: (08917-01) WARN: all primary virus scanners failed, considering backups
Sep 19 21:29:31 mail postfix/smtpd[9004]: connect from localhost[127.0.0.1]
Sep 19 21:29:31 mail postfix/smtpd[9004]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <snowfun81@gmx.de>: Relay access denied; from=<jochen@bigblade.de> to=<snowfun81@gmx.de> proto=ESMTP helo=<localhost>
Sep 19 21:29:31 mail amavis[8917]: (08917-01) mail_via_smtp: DATA skipped, no valid recips, 0
Sep 19 21:29:31 mail postfix/smtpd[9004]: disconnect from localhost[127.0.0.1]
Sep 19 21:29:31 mail amavis[8917]: (08917-01) mail_via_smtp: 554 5.7.1 <snowfun81@gmx.de>: Relay access denied
Sep 19 21:29:31 mail amavis[8917]: (08917-01) Blocked CLEAN, [80.131.10.40] <jochen@bigblade.de> -> <snowfun81@gmx.de>, Message-ID: <451045C8.5020408@bigblade.de>, Hits: -, 177 ms
Sep 19 21:29:31 mail postfix/smtp[9003]: B21F7A3B21: to=<snowfun81@gmx.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.55, delays=0.35/0.01/0.02/0.17, dsn=5.7.1, status=bounced (host 127.0.0.1[127.0.0.1] said: 554 5.7.1 <snowfun81@gmx.de>: Relay access denied (in reply to end of DATA command))
Sep 19 21:29:31 mail postfix/cleanup[9001]: 6274CA3B28: message-id=<20060919192931.6274CA3B28@mail.dieler.ws>
Sep 19 21:29:31 mail postfix/qmgr[8981]: 6274CA3B28: from=<>, size=2409, nrcpt=1 (queue active)
Sep 19 21:29:31 mail postfix/bounce[9006]: B21F7A3B21: sender non-delivery notification: 6274CA3B28
Sep 19 21:29:31 mail postfix/qmgr[8981]: B21F7A3B21: removed
Sep 19 21:29:31 mail postfix/virtual[9007]: 6274CA3B28: to=<jochen@bigblade.de>, relay=virtual, delay=0.3, delays=0.11/0.01/0/0.17, dsn=2.0.0, status=sent (delivered to maildir)
Code: Select all
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_dns_lookups = no
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 0
mydestination = $myhostname, localhost.$mydomain
myhostname = mail.dieler.ws
mynetworks = host
myorigin = mail.dieler.ws
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unauth_destination, reject_unauth_pipelining, reject_rbl_client opm.blitzed.org, reject_rbl_client list.dsbl.org, reject_rbl_client bl.spamcop.net, reject_rbl_client sbl-xbl.spamhaus.org
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = cyrus
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 0
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001
Danke schonmal.
Cheers,
Jochen