Hallo,
ich arbeite mit OpenSuse 13.2, KDE 4.14.3 und möchte mit sendmail über konsole emails versenden (und habe Basis-Linux Kenntnisse).
sendmail recipient@elsewhere.com
From: you@example.com
Subject: Test mail
This is a test email
.
recipient@elsewhere.com => gültige Mailadresse
you@example.com => user@server1.selflinux.de
nach einer Odyssee glaube ich nicht mehr an den E-Mail Versand:
journalctl -r liefert:
Code
-- Logs begin at Fri 2015-01-09 18:12:51 CET, end at Wed 2015-01-28 23:00:52 CET. --
Jan 28 23:00:52 server1 postfix/smtp[10714]: 3543F91C: to=<recipient@elsewhere.com>, relay=smtp.mail.yahoo.com[xxx.xxx.xx.xx]:587, delay=0.62, delays=0.12/0.02/0.39/0.08, dsn=
Jan 28 23:00:52 server1 postfix/qmgr[10625]: EB1D1919: removed
Jan 28 23:00:52 server1 postfix/smtp[10710]: EB1D1919: to=<recipient@elsewhere.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=19, delays=19/0.01/0/0.23, dsn=2.0.0, status=sent
Jan 28 23:00:52 alpha amavis[2206]: (02206-09) Passed CLEAN {RelayedOpenRelay}, <TestKontoYahoo@yahoo.de> -> <recipient@elsewhere.com>, Message-ID: <20150128220051.EB1D1919@s
Jan 28 23:00:52 server1 postfix/qmgr[10625]: 3543F91C: from=<TestKontoYahoo@yahoo.de>, size=778, nrcpt=1 (queue active)
Jan 28 23:00:52 server1 postfix/smtpd[10713]: disconnect from localhost[127.0.0.1]
Jan 28 23:00:52 server1 postfix/cleanup[10706]: 3543F91C: message-id=<20150128220051.EB1D1919@server1.selflinux.de>
Jan 28 23:00:52 server1 postfix/smtpd[10713]: 3543F91C: client=localhost[127.0.0.1]
Jan 28 23:00:52 server1 postfix/smtpd[10713]: connect from localhost[127.0.0.1]
Jan 28 23:00:52 server1 postfix/qmgr[10625]: EB1D1919: from=<TestKontoYahoo@yahoo.de>, size=313, nrcpt=1 (queue active)
Jan 28 23:00:51 server1 postfix/cleanup[10706]: EB1D1919: message-id=<20150128220051.EB1D1919@server1.selflinux.de>
Jan 28 23:00:51 server1 postfix/pickup[10624]: EB1D1919: uid=0 from=<root>
Jan 28 23:00:24 server1 postfix/qmgr[10625]: E3A0B8FD: removed
Jan 28 23:00:24 server1 postfix/qmgr[10625]: B89728F7: removed
Jan 28 23:00:24 server1 postfix/qmgr[10625]: E3A0B8FD: from=<>, size=2781, nrcpt=1 (queue active)
Jan 28 23:00:24 server1 postfix/qmgr[10625]: B89728F7: from=<>, size=2918, nrcpt=1 (queue active)
Jan 28 23:00:24 server1 postfix/master[10623]: daemon started -- version 2.11.0, configuration /etc/postfix
Jan 28 23:00:24 server1 postfix/postfix-script[10621]: starting the Postfix mail system
Jan 28 23:00:23 server1 echo[10535]: Starting mail service (Postfix)
Jan 28 23:00:23 server1 postfix/master[5070]: terminating on signal 15
Jan 28 23:00:23 server1 postfix/postfix-script[10519]: stopping the Postfix mail system
Alles anzeigen
Die Testmail kommt nicht an
main.cf
Code
mydomain = selflinux.de
myorigin = $myhostname
relay_domains = $mydestination, hash:/etc/postfix/relay
biff = no
content_filter = amavis:[127.0.0.1]:10024
delay_warning_time = 1h
disable_dns_lookups = no
disable_mime_output_conversion = no
disable_vrfy_command = yes
#inet_interfaces = localhost
inet_interfaces = all
inet_protocols = ipv4
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
mydestination = $myhostname,localhost.$mydomain,$mydomain
myhostname = server1.selflinux.de
mynetworks_style = host
#mynetworks_style = subnet
relayhost = [smtp.mail.yahoo.com]:587
alias_maps = hash:/etc/aliases
canonical_maps = hash:/etc/postfix/canonical
relocated_maps = hash:/etc/postfix/relocated
sender_canonical_maps = hash:/etc/postfix/sender_canonical
transport_maps = hash:/etc/postfix/transport
mail_spool_directory = /var/mail
message_strip_characters = \0
defer_transports =
mailbox_command =
mailbox_transport =
mailbox_size_limit = 0
message_size_limit = 0
strict_8bitmime = no
strict_rfc821_envelopes = no
smtpd_delay_reject = yes
smtpd_helo_required = no
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
# SASL stuff
############################################################
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_sasl_path = private/auth
#smtpd_sasl_type = dovecot
Alles anzeigen
Kann jemand helfen?
ayla