Hallo Sandy, Hallo @all,
hab jetzt alles soweit angepasst, wie du mir geraten. Allerdings noch kommen keine E-Mails am
Laptop an. Zumindest ist aber die Fehlermeldung jetzt eine andere.
Hier nun die relevanten Configs:
1.) PC
reni:~ # postconf -n
alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
defer_transports =
delay_warning_time = 1h
disable_dns_lookups = no
disable_mime_output_conversion = no
html_directory = /usr/share/doc/packages/postfix-doc/html
inet_interfaces = localhost
inet_protocols = ipv4
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 0
message_strip_characters = \0
mydestination =
mydomain = leoni.daheim
myhostname = reni.leoni.daheim
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
relay_domains = $mydestination, hash:/etc/postfix/relay
relayhost = smtp:[192.168.0.6]
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix-doc/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_enforce_tls = no
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual
/etc/hosts angepasst:
127.0.0.1 localhost
192.168.0.6 reni2.leoni.daheim reni2
192.168.0.1 reni.leoni.daheim reni
Auszug aus nsswitch.conf:
hosts: files dns
networks: files dns
Meldung in /var/log/mail.info beim Verschicken einer Testmail:
Nov 22 19:32:14 reni postfix/pickup[3401]: C33D21405B3: uid=1000 from=<admine>
Nov 22 19:32:14 reni postfix/cleanup[3605]: C33D21405B3:
message-id=<20111122183214.C33D21405B3@reni.leoni.daheim>
Nov 22 19:32:14 reni postfix/qmgr[3402]:C33D21405B3: from=, size=442, nrcpt=1
(queue active)
Nov 22 19:32:14 reni postfix/smtp[3607]: fatal: unknown service: [192.168.0.6]/tcp
Nov 22 19:32:15 reni postfix/qmgr[3402]: warning: private/smtp socket: malformed response
Nov 22 19:32:15 reni postfix/qmgr[3402]: warning: transport smtp failure -- see a previous
warning/fatal/panic logfile record for the problem description
Nov 22 19:32:15 reni postfix/master[3400]: warning: process /usr/lib/postfix/smtp pid 3607 exit
status 1
Nov 22 19:32:15 reni postfix/master[3400]: warning: /usr/lib/postfix/smtp: bad command startup --
throttling
Nov 22 19:32:15 reni postfix/error[3608]: C33D21405B3: to=, relay=none,
delay=1.2, delays=0.12/1/0/0.08, dsn=4.3.0, status=deferred (unknown mail transport error)
2.) Jetzt zum Laptop:
reni2:~ # postconf -n
alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
defer_transports =
delay_warning_time = 1h
disable_dns_lookups = no
disable_mime_output_conversion = no
html_directory = /usr/share/doc/packages/postfix-doc/html
inet_interfaces = all
inet_protocols = ipv4
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 0
message_strip_characters = \0
mydestination = $mydomain, $myhostname, localhost.$mydomain
mydomain = leoni.daheim
myhostname = reni2.leoni.daheim
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
relay_domains = $mydestination, hash:/etc/postfix/relay
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix-doc/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_enforce_tls = no
smtp_sasl_auth_enable = no
smtp_tls_session_cache_database = btree:/var/lib/postfix/smtpd_tls_session_cache
smtp_tls_session_cache_timeout = 3600s
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual
/etc/hosts angepasst:
127.0.0.1 localhost
192.168.0.6 reni2.leoni.daheim reni2
192.168.0.1 reni.leoni.daheim reni
/etc/nsswitch.conf sieht aus, wie am PC
Nach Änderungen der main.cf hab ich an beiden Rechnern den postfix neu gestartet.
Übrigens sehe ich alle mails in der Queue!
admine@reni:~> mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
532B81404AA 476 Tue Nov 22 19:30:11 root@leoni.daheim
(unknown mail transport error)
root@leoni.daheim
09BDA1404F2 442 Tue Nov 22 19:16:00 admine@leoni.daheim
(unknown mail transport error)
admine@reni2.leoni.daheim
C33D21405B3 442 Tue Nov 22 19:32:14 admine@leoni.daheim
(unknown mail transport error)
admine@reni2.leoni.daheim
492551405A2 442 Tue Nov 22 19:25:20 admine@leoni.daheim
(unknown mail transport error)
admine@reni2.leoni.daheim
-- 2 Kbytes in 4 Requests.
Jetzt scheint es am Transport zu liegen.
Die gestern angelegte /etc/postfix/transport habe ich deaktiviert und auch "postmap transport"
ausgeführt.
Und was ich eben auch gemacht habe:
admine@reni:~> telnet reni2.leoni.daheim 25
Trying 192.168.0.6...
Connected to reni2.leoni.daheim.
Escape character is '^]'.
220 reni2.leoni.daheim ESMTP Postfix
helo localhost
250 reni2.leoni.daheim
mail from: admine@reni.leoni.daheim
250 2.1.0 Ok
rcpt to: admine@reni2.leoni.daheim
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
das ist meine Testnachricht ... los jetzt! Komm an!
.
250 2.0.0 Ok: queued as ED88012038A
quit
221 2.0.0 Bye
Connection closed by foreign host.
Und was soll ich sagen. Diese Mail kommt an!
Wo könnte es noch hakeln?
Gruß Renate
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@opensuse.org
Um den Listen Administrator zu erreichen, schicken
Sie eine Mail an: opensuse-de+owner@opensuse.org