hello,
danke für deine idee aber es hat leider nicht geklappt - ich habe die main.cf nun mal so umgestellt (kommentare hab ich mal rausgemacht damit es kürzer hier im forum wird) :
#myorigin = /etc/mailname
#smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
#delay_warning_time = 4h
#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:${queue_directory}/smtpd_scache
#smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
myhostname=mail.XXXXXXXX.net
mydomain=XXXXXXX.net
alias_maps=hash:/etc/aliases
alias_database=hash:/etc/aliases
myorigin=/etc/mailname
mydestination=$myhostname, localhost.$mydomain, $mydomain
smtpd_banner=$myhostname ESMTP Mailserver
mailbox_size_limit=20971520
message_size_limit=10240000
smtpd_helo_required=yes
smtpd_helo_restrictions=reject_invalid_hostname
smtpd_recipient_restrictions=permit_mynetworks, permit_sasl_authenticated, reject_unknown_recipient_domain, reject_unauth_destination
#check_policy_service inet:127.0.0.1:12525 (für policy-weightd)
smtpd_sender_restrictions=reject_unknown_address
smtpd_client_restrictions=reject_invalid_hostname
strict_rfc821_envelopes=yes
home_mailbox=mails/
smtpd_tls_cert_file=/etc/postfix/mail.cert
smtpd_tls_key_file=/etc/postfix/mail.key
smtpd_use_tls=yes
smtpd_enforce_tls=no
smtpd_tls_auth_only=yes
smtpd_sasl_auth_enable=yes
smtpd_sasl_type=dovecot
smtpd_sasl_path=private/auth
smtpd_sasl_security_options=noanonymous
smtpd_sasl_local_domain=
broken_sasl_auth_clients=yes
virtual_alias_domains=XXXXXXXXX.net
virtual_alias_maps=hash:/etc/postfix/virtual_domains
virtual_mailbox_limit=20971520
#relayhost =
mynetworks = 127.0.0.0/8
#mailbox_size_limit = 0
#recipient_delimiter = +
inet_interfaces = all
Hier noch ein Auszug aus meinem Syslog wenn ich mails schicke lokal und dann an eine öffentliche mail addresse :
Apr 2 09:10:48 mail dovecot: Dovecot v1.0.rc15 starting up
Apr 2 09:10:53 mail dhclient: DHCPREQUEST on eth0 to 87.106.137.250 port 67
Apr 2 09:10:58 mail postfix/master[4243]: daemon started -- version 2.3.8, configuration /etc/postfix
Apr 2 09:11:30 mail dovecot: imap-login: Login: user=<nmoenks>, method=PLAIN, rip=213.221.101.108, lip=87.106.184.210, TLS
Apr 2 09:11:30 mail dovecot: imap-login: Login: user=<nmoenks>, method=PLAIN, rip=213.221.101.108, lip=87.106.184.210, TLS
Apr 2 09:11:50 mail postfix/smtpd[4256]: warning: 213.221.101.108: hostname static-sDSL-cus-101-108.de.clara.net verification failed: Name or service not known
Apr 2 09:11:50 mail postfix/smtpd[4256]: connect from unknown[213.221.101.108]
Apr 2 09:11:51 mail postfix/smtpd[4256]: 0EFC1140021D: client=unknown[213.221.101.108]
Apr 2 09:11:51 mail postfix/cleanup[4261]: 0EFC1140021D: message-id=<20080402091151.0EFC1140021D@mail.XXXXXXXXXX.ne t>
Apr 2 09:11:51 mail postfix/qmgr[4249]: 0EFC1140021D: from=<nmoenks@XXXXXXXXX.net>, size=7494, nrcpt=1 (queue active)
Apr 2 09:11:51 mail postfix/local[4262]: 0EFC1140021D: to=<nmoenks@XXXXXXXXX.net>, relay=local, delay=0.18, delays=0.14/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
Apr 2 09:11:51 mail postfix/qmgr[4249]: 0EFC1140021D: removed
Apr 2 09:11:53 mail postfix/smtpd[4256]: disconnect from unknown[213.221.101.108]
Apr 2 09:12:12 mail dovecot: IMAP(nmoenks): Disconnected: Logged out
Apr 2 09:13:08 mail postfix/smtpd[4256]: warning: 213.221.101.108: hostname static-sDSL-cus-101-108.de.clara.net verification failed: Name or service not known
Apr 2 09:13:08 mail postfix/smtpd[4256]: connect from unknown[213.221.101.108]
Apr 2 09:13:08 mail postfix/smtpd[4256]: NOQUEUE: reject: RCPT from unknown[213.221.101.108]: 554 5.7.1 <nono@othermailbox.com>: Relay access denied; from=<nmoenks@XXXXXXXX.net> to=<nono@othermailbox.com> proto=ESMTP helo=<munnono>
Apr 2 09:13:11 mail postfix/smtpd[4256]: disconnect from unknown[213.221.101.108]
Apr 2 09:16:31 mail postfix/anvil[4259]: statistics: max connection rate 1/60s for (smtp:213.221.101.108) at Apr 2 09:11:50
Apr 2 09:16:31 mail postfix/anvil[4259]: statistics: max connection count 1 for (smtp:213.221.101.108) at Apr 2 09:11:50
Apr 2 09:16:31 mail postfix/anvil[4259]: statistics: max cache size 1 at Apr 2 09:11:50
TLS scheint ja zu klappen - ich schätze das irgendwas mit SASL nicht klappt aber ich bekomme leider nicht mal ne fehlermeldung zurück
Lesezeichen