Hallo ich habe postfix mit smtpauth so eingerichtet, wie es hier im Forum beschrieben wurde. Leider kommen keine E-Mails an.
Nachdem ich gemailt habe gibt der Befehl: "tail -f /var/log/mail" folgende Meldung aus:
__________________________________________________________
Jun 16 14:55:46 amd2000 postfix/smtp[17068]: 2FD276E6B2: to=<dddim100@gmx.de>, r elay=smtp.1und1.de[212.227.15.167], delay=2, status=deferred (host smtp.1und1.de [212.227.15.167] said: 421 dns lookup failed for sender domain (in reply to MAIL FROM command))
Jun 16 14:59:06 amd2000 postfix/scache[17069]: statistics: start interval Jun 16 14:54:48
Jun 16 14:59:06 amd2000 postfix/scache[17069]: statistics: domain lookup hits=0 miss=4 success=0%
Jun 16 14:59:06 amd2000 postfix/scache[17069]: statistics: address lookup hits=0 miss=8 success=0%
Jun 16 14:59:06 amd2000 postfix/scache[17069]: statistics: max simultaneous domains=1 addresses=2 connection=4
____________________________________________________________
Meine main.cf sieht so aus:
_____________________________________________________________
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb = $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_classes = envelope_sender, header_sender, header_recipient
#so heisst mein Rechner wie bei der Konfiguration der Netzwerkkarte vergeben
myhostname = amd2000
mydomain = ihme-handel.de
mydestination = $myhostname,$mydomain, localhost, localhost.$mydomain
#Dieser Eintrag deckt den Bereich von 192.168.0.0 - 192.168.0.255,
#also könen jetzt alle Rechner in diesem Bereich Mails über unseren Server per SMTP senden.
#Sonst bitte an euer Netzwerk anpassen! z.B. 192.168.1.0/24
mynetworks = 192.168.178.20/24, 127.0.0.1/8
smtpd_banner = $myhostname ESMTP
#IP vom Router
proxy_interfaces = 192.168.178.1
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = $mydomain
masquerade_exceptions = root
defer_transports =
disable_dns_lookups = no
#mein smtp Ausgang smtp Server vom Internetdienstanbieter
relayhost = smtp.1und1.de
mailbox_command =
mailbox_transport =
strict_rfc821_envelopes = no
smtp_use_tls = no
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = no
#smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
#Wer darf senden?
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_use_tls = no
broken_sasl_auth_clients = yes
#SMTPD Sicherheit
smtpd_junk_command_limit = 100
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_limit = 50
smtpd_timeout = 300s
alias_maps = hash:/etc/aliases
bounce_size_limit = 100000
# max. Groesse einer Mail 10MB
message_size_limit = 10000000
# max. Groesse einer Mailqueue 200MB
mailbox_size_limit = 200000000
# 100MB - mindestens freier Plattenplatz
queue_minfree = 100000000
append_dot_mydomain = no
queue_directory = /var/spool/postfix
mail_owner = postfix
double_bounce_sender = 3394-927@online.de
empty_address_recipient = 3394-927@online.de
relay_domains = $mydestination
relay_domains_reject_code = 554
___________________________________________________________
Kann mir jemand weiterhelfen?
Gruß Sid1968
Nachdem ich gemailt habe gibt der Befehl: "tail -f /var/log/mail" folgende Meldung aus:
__________________________________________________________
Jun 16 14:55:46 amd2000 postfix/smtp[17068]: 2FD276E6B2: to=<dddim100@gmx.de>, r elay=smtp.1und1.de[212.227.15.167], delay=2, status=deferred (host smtp.1und1.de [212.227.15.167] said: 421 dns lookup failed for sender domain (in reply to MAIL FROM command))
Jun 16 14:59:06 amd2000 postfix/scache[17069]: statistics: start interval Jun 16 14:54:48
Jun 16 14:59:06 amd2000 postfix/scache[17069]: statistics: domain lookup hits=0 miss=4 success=0%
Jun 16 14:59:06 amd2000 postfix/scache[17069]: statistics: address lookup hits=0 miss=8 success=0%
Jun 16 14:59:06 amd2000 postfix/scache[17069]: statistics: max simultaneous domains=1 addresses=2 connection=4
____________________________________________________________
Meine main.cf sieht so aus:
_____________________________________________________________
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb = $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_classes = envelope_sender, header_sender, header_recipient
#so heisst mein Rechner wie bei der Konfiguration der Netzwerkkarte vergeben
myhostname = amd2000
mydomain = ihme-handel.de
mydestination = $myhostname,$mydomain, localhost, localhost.$mydomain
#Dieser Eintrag deckt den Bereich von 192.168.0.0 - 192.168.0.255,
#also könen jetzt alle Rechner in diesem Bereich Mails über unseren Server per SMTP senden.
#Sonst bitte an euer Netzwerk anpassen! z.B. 192.168.1.0/24
mynetworks = 192.168.178.20/24, 127.0.0.1/8
smtpd_banner = $myhostname ESMTP
#IP vom Router
proxy_interfaces = 192.168.178.1
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = $mydomain
masquerade_exceptions = root
defer_transports =
disable_dns_lookups = no
#mein smtp Ausgang smtp Server vom Internetdienstanbieter
relayhost = smtp.1und1.de
mailbox_command =
mailbox_transport =
strict_rfc821_envelopes = no
smtp_use_tls = no
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = no
#smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
#Wer darf senden?
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_use_tls = no
broken_sasl_auth_clients = yes
#SMTPD Sicherheit
smtpd_junk_command_limit = 100
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_limit = 50
smtpd_timeout = 300s
alias_maps = hash:/etc/aliases
bounce_size_limit = 100000
# max. Groesse einer Mail 10MB
message_size_limit = 10000000
# max. Groesse einer Mailqueue 200MB
mailbox_size_limit = 200000000
# 100MB - mindestens freier Plattenplatz
queue_minfree = 100000000
append_dot_mydomain = no
queue_directory = /var/spool/postfix
mail_owner = postfix
double_bounce_sender = 3394-927@online.de
empty_address_recipient = 3394-927@online.de
relay_domains = $mydestination
relay_domains_reject_code = 554
___________________________________________________________
Kann mir jemand weiterhelfen?
Gruß Sid1968