pibi
28.02.15, 13:45
Hallo zusammen
Meine Umgebung ist openSuSI 13.1 und sendmail 8.14.
Bis anhin habe ich ueber meinen Server ausgasmtp.mail.hostpoint.chehende Mails entweder direkt verschickt oder -wenn dies wegen meiner dyn. IP vom Empfaenger geblockt wurde- ueber einen Freund, der mir das Relaying erlaubt hat. Das hat ueber Jahre prima funktioniert.
Nun gibt aber mein Freund seinen Server auf und ich muss daher umkonfigurieren. Alle Mail will ich nun ueber meinen Registrar verschicken. Dessen Settings fuer SMTP sehen so (https://support.hostpoint.ch/index.php?page=ArticleDetailPage&navigation=6&article=8#toc7) aus. Ich versuche jetzt seit zwei Stunden, mittels YaST alles umzubiegen, aber ich bekomme immer dieses:
Final-Recipient: RFC822; xxxx.yyyyy@blabla.ch
Action: failed
Status: 5.0.0
Diagnostic-Code: SMTP; 550-You are not authenticated. Try to activate SMTP Authentication in your mail
Last-Attempt-Date: Sat, 28 Feb 2015 14:06:17 +0100
Mein /etc/mail/auth/auth-info habe ich so erstellt:
# /etc/mail/auth/auth-info
#
# Author: Werner Fink
# Please send feedback to http://www.suse.de/feedback/
#
# Description:
#
# Fill in the rulesets for smtp authentication
#
# Note:
#
# This is only useful if SMTP_AUTH_MECHANISMS in /etc/sysconfig/sendmail
# has an appropiate authentication mechanism filled in.
#
# Format:
#
# The RHS for an AuthInfo entry in the map should consists of a
# list of tokens, each of which has the form: "T[:=]string" (including
# the quotes). `T' is a tag which describes the item, followed by
# either `:' for simple text or `=' for a base64 encoded string.
# Valid values for the tag are:
# U user (authorization) id
# I authentication id
# P password
# R realm
# M list of mechanisms delimited by spaces (overwrite default)
# User or authentication id must exist as well as the password. All other entries
# have default values. If one of user or authentication id is missing, the existing
# value is used for the missing item. Replace `<...>' (including the brackets!) with
# the correct value accordingly your needs
#
#AuthInfo:<server_name.dom> "U:<user>" "I:<user_id>" "P:<secret>" "R:<server_name.dom>" "M:DIGEST-MD5"
#AuthInfo:<server_name.dom> "U:<user>" "P=<base64_encoded_secret>"
Auth-Info:asmtp.mail.hostpoint.ch "U:<mein login>" "P:<mein passwort>"
Alles natuerlich ohne die "<" und ">". Die Einstellungen aus /etc/sysconfig/sendmail:
SENDMAIL_SMARTHOST="asmtp.mail.hostpoint.ch"
SENDMAIL_LOCALHOST="localhost"
SENDMAIL_ALLMASQUERADE="no"
SENDMAIL_RELAY=""
SENDMAIL_LUSER=""
USE_ACCESS_DB="yes"
SENDMAIL_ARGS="-L sendmail -Am -bd -q30m -om"
SENDMAIL_CLIENT_ARGS="-L sendmail-client -Ac -qp1m"
SENDMAIL_EXPENSIVE="no"
SENDMAIL_NOCANONIFY="no"
NULLCLIENT=""
NODNS="no"
DIALUP="no"
SENDMAIL_GENERICS_DOMAIN=""
MASQUERADE_DOMAINS=""
MASQUERADE_ENTIRE_DOMAIN="no"
DOMAINTABLE="no"
SMTP_AUTH_MECHANISMS="plain"
SMTP_AUTH_SERVER="plain"
STARTTLS=""
SENDMAIL_DB_FOLD="yes"
SENDMAIL_DNSRBL=""
SENDMAIL_UUCP_MAX_MSG="2000000"
SENDMAIL_MTA_PORT="25"
Was habe ich vergessen? Neustart von sendmail nach jeder Aenderung habe ich natuerlich gemacht.
Gruss Pit.
Meine Umgebung ist openSuSI 13.1 und sendmail 8.14.
Bis anhin habe ich ueber meinen Server ausgasmtp.mail.hostpoint.chehende Mails entweder direkt verschickt oder -wenn dies wegen meiner dyn. IP vom Empfaenger geblockt wurde- ueber einen Freund, der mir das Relaying erlaubt hat. Das hat ueber Jahre prima funktioniert.
Nun gibt aber mein Freund seinen Server auf und ich muss daher umkonfigurieren. Alle Mail will ich nun ueber meinen Registrar verschicken. Dessen Settings fuer SMTP sehen so (https://support.hostpoint.ch/index.php?page=ArticleDetailPage&navigation=6&article=8#toc7) aus. Ich versuche jetzt seit zwei Stunden, mittels YaST alles umzubiegen, aber ich bekomme immer dieses:
Final-Recipient: RFC822; xxxx.yyyyy@blabla.ch
Action: failed
Status: 5.0.0
Diagnostic-Code: SMTP; 550-You are not authenticated. Try to activate SMTP Authentication in your mail
Last-Attempt-Date: Sat, 28 Feb 2015 14:06:17 +0100
Mein /etc/mail/auth/auth-info habe ich so erstellt:
# /etc/mail/auth/auth-info
#
# Author: Werner Fink
# Please send feedback to http://www.suse.de/feedback/
#
# Description:
#
# Fill in the rulesets for smtp authentication
#
# Note:
#
# This is only useful if SMTP_AUTH_MECHANISMS in /etc/sysconfig/sendmail
# has an appropiate authentication mechanism filled in.
#
# Format:
#
# The RHS for an AuthInfo entry in the map should consists of a
# list of tokens, each of which has the form: "T[:=]string" (including
# the quotes). `T' is a tag which describes the item, followed by
# either `:' for simple text or `=' for a base64 encoded string.
# Valid values for the tag are:
# U user (authorization) id
# I authentication id
# P password
# R realm
# M list of mechanisms delimited by spaces (overwrite default)
# User or authentication id must exist as well as the password. All other entries
# have default values. If one of user or authentication id is missing, the existing
# value is used for the missing item. Replace `<...>' (including the brackets!) with
# the correct value accordingly your needs
#
#AuthInfo:<server_name.dom> "U:<user>" "I:<user_id>" "P:<secret>" "R:<server_name.dom>" "M:DIGEST-MD5"
#AuthInfo:<server_name.dom> "U:<user>" "P=<base64_encoded_secret>"
Auth-Info:asmtp.mail.hostpoint.ch "U:<mein login>" "P:<mein passwort>"
Alles natuerlich ohne die "<" und ">". Die Einstellungen aus /etc/sysconfig/sendmail:
SENDMAIL_SMARTHOST="asmtp.mail.hostpoint.ch"
SENDMAIL_LOCALHOST="localhost"
SENDMAIL_ALLMASQUERADE="no"
SENDMAIL_RELAY=""
SENDMAIL_LUSER=""
USE_ACCESS_DB="yes"
SENDMAIL_ARGS="-L sendmail -Am -bd -q30m -om"
SENDMAIL_CLIENT_ARGS="-L sendmail-client -Ac -qp1m"
SENDMAIL_EXPENSIVE="no"
SENDMAIL_NOCANONIFY="no"
NULLCLIENT=""
NODNS="no"
DIALUP="no"
SENDMAIL_GENERICS_DOMAIN=""
MASQUERADE_DOMAINS=""
MASQUERADE_ENTIRE_DOMAIN="no"
DOMAINTABLE="no"
SMTP_AUTH_MECHANISMS="plain"
SMTP_AUTH_SERVER="plain"
STARTTLS=""
SENDMAIL_DB_FOLD="yes"
SENDMAIL_DNSRBL=""
SENDMAIL_UUCP_MAX_MSG="2000000"
SENDMAIL_MTA_PORT="25"
Was habe ich vergessen? Neustart von sendmail nach jeder Aenderung habe ich natuerlich gemacht.
Gruss Pit.