Hi,
ich habe gestern nach dem Tutorial http://www.asconix.com/howtos/…er-debian-howto#section-5 den mailserver eingerichtet. Abgesehen von dem SMTP was nicht funktioniert versuche ich mich gerade mit dem Empfang, die Mailbox incl Verzeichnisse sind erstellt und es scheint alles richtig. Aber aus irgendeinem Grund kommt immer ein Reject von meinem Server was ich nicht ganz verstehe.
Würde mich freuen wenn jemand eine Idee hätte
In dem Maillog sieht man ein Versuch von mir wie ich versuche von einem GMail Account an eine auf den Server eingerichtete Adresse zu senden, die Order usw. sind scheinbar korrekt, nur leider wird die Mail immer abgewiesen.
Meine Main.cf.
Code
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP HSP 2.1 Server
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
#Appendix von Tutorial
recipient_delimiter = +
readme_directory = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
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
#Extra aus Tutorial
smtpd_tls_security_level = may
smtpd_tls_auth_only = no
smtpd_tls_received_header = yes
tls_random_source = dev:/dev/urandom
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = v2201106924xxxxx.yourvserver.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost, v2201106924xxxxx.yourvserver.net
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
#Aus tutorial
virtual_mailbox_domains = /etc/postfix/virtual_domains
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_alias_maps = hash:/etc/postfix/virtual_alias
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
mailbox_size_limit = 0
#Aus tutorial
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $mydomain
#Aus tutorial
smtpd_require_helo = yes
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, \
reject_invalid_hostname, reject_unknown_client, reject_rbl_client sbl-xbl.spamhaus.org \
smtpd_sender_restrictions = permit_mynetworks, reject_unknown_address, \
reject_unknown_sender_domain, reject_non_fqdn_sender
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, \
reject_unauth_destination
smtpd_recipient_limit = 250
broken_sasl_auth_clients = yes
Alles anzeigen
Mail.log
Code
u>
Jun 28 08:43:45 v2201106924xxxxx postfix/cleanup[10472]: 41A734E0413: message-id=<20110628084345.41A734E0413@v2201 yourvserver.net>
Jun 28 08:43:45 v2201106924xxxxx postfix/smtpd[10467]: disconnect from euve115xx.server4you.net[85.25.35.xx]
Jun 28 08:43:45 v2201106924xxxxx postfix/qmgr[566]: 41A734E0413: from=<double-bounce@v2201106924xxxxx.yourvserver. 340, nrcpt=1 (queue active)
Jun 28 08:43:45 v2201106924xxxxx postfix/local[10473]: 41A734E0413: to=<root@v2201106924xxxxx.yourvserver.net>, or aster>, relay=local, delay=0.05, delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Jun 28 08:43:45 v2201106924xxxxx postfix/qmgr[566]: 41A734E0413: removed
Jun 28 08:46:27 v2201106924xxxxx postfix/smtpd[5797]: connect from mail-ww0-f48.google.com[74.125.82.48]
Jun 28 08:46:27 v2201106924xxxxx postfix/smtpd[5797]: warning: unknown smtpd restriction: "\"
Jun 28 08:46:27 v2201106924xxxxx postfix/smtpd[5797]: NOQUEUE: reject: RCPT from mail-ww0-f48.google.com[74.125.82 3.5 Server configuration error; from=<xxxxxxx@gmail.com> to=<v3@xxxxxxxx.org> proto=ESMTP helo=<mail-ww0-f48.go
Jun 28 08:46:27 v2201106924xxxxx postfix/cleanup[5978]: 8EE374E0413: message-id=<20110628084627.8EE374E0413@v22011 ourvserver.net>
Jun 28 08:46:27 v2201106924xxxxx postfix/smtpd[5797]: disconnect from mail-ww0-f48.google.com[74.125.82.48]
Jun 28 08:46:27 v2201106924xxxxx postfix/qmgr[566]: 8EE374E0413: from=<double-bounce@v2201106924xxxxx.yourvserver. 336, nrcpt=1 (queue active)
Jun 28 08:46:27 v2201106924xxxxx postfix/local[5988]: 8EE374E0413: to=<root@v2201106924xxxxx.yourvserver.net>, ori ster>, relay=local, delay=0.03, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Jun 28 08:46:27 v2201106924xxxxx postfix/qmgr[566]: 8EE374E0413: removed
Jun 28 08:49:47 v2201106924xxxxx postfix/anvil[10470]: statistics: max connection rate 1/60s for (smtp:85.25.35.20 08:43:45
Jun 28 08:49:47 v2201106924xxxxx postfix/anvil[10470]: statistics: max connection count 1 for (smtp:85.25.35.20) a 43:45
Jun 28 08:49:47 v2201106924xxxxx postfix/anvil[10470]: statistics: max cache size 1 at Jun 28 08:43:45
Alles anzeigen