[Eisfair] SMTP error 530 Authentication required bei Versand nur mit Emailadresse

Rene Hanke Rene.Hanke at gmx.net
Do Jul 30 12:08:33 CEST 2020


Hallo Marcus,

Am 28.07.2020 um 20:31 schrieb Marcus Röckrath:
> 
> Ich würde gerne mal die komplette SMTP-Sektion der Mail-Konfiguration sehen.

Bitteschön. Passwörter sind ersetzt, die Nutzer, die nicht ich bin, 
unkenntlich gemacht.

Genutzt wird derzeit aber nur der Account rhanke / Rene.Hanke at gmx.net.

- - - - - - - - - - -

#------------------------------------------------------------------------------
# smtp: general settings
#------------------------------------------------------------------------------

START_SMTP='yes'                  # start SMTP server: yes or no

SMTP_QUALIFY_DOMAIN='home.lan'    # domain to be added to all unqualified
                                   # addresses
SMTP_HOSTNAME='frox.home.lan'     # canonical hostname of eisfair server
SMTP_QUEUE_INTERVAL='30'          # queueing interval in minutes, usually 30
SMTP_QUEUE_OUTBOUND_MAIL='no'     # set to yes if you are using a dialup ISP
                                   # and you want to queue outbound mail 
until
                                   # next queue run which must be initiated
                                   # manually or by a cron-job
SMTP_QUEUE_ACCEPT_PER_CONNECTION='10'
                                   # msg number to accept in one smtp 
session
SMTP_LISTEN_PORT=''               # one or more port(s), separated by
                                   # whitespace on
                                   # which Exim is listening for inbound 
traffic.
SMTP_MAIL_TO_UNKNOWN_USERS='bounce'
                                   # how to handle mail to unknown mail 
users:
                                   # bounce, copy or forward, default is 
'bounce'
SMTP_ALLOW_EXIM_FILTERS='yes'     # allow exim filters in .forward file: 
yes or
                                   # no

SMTP_CHECK_RECIPIENTS=''          # check that not more than the given 
number
                                   # of
                                   # recipients per mail are addressed 
at once.
                                   # Default is being set to 100
SMTP_CHECK_SPOOL_SPACE=''         #  check if enough disk space for spool
                                   # directory
                                   # is available. Default is being set 
to 10Mb
SMTP_CHECK_SPOOL_INODES=''        # check if enough inodes for spool 
directory
                                   # are available. Default is being set 
to 100

SMTP_LIMIT=''                     # mail size limit. Default is being set to
                                   # 50Mb

SMTP_REMOVE_RECEIPT_REQUEST='no'  # remove external receipt request: yes 
or no

SMTP_SERVER_TRANSPORT='default'   # transport to use: default, tls or both
SMTP_IDENT_CALLBACKS='no'         # enable ident callbacks: yes or no
SMTP_SERVER_TLS_ADVERTISE_HOSTS=''
                                   # advertise STARTLS to these hosts, to
                                   # disable
                                   # this feature set to '' (required 
for tls!)
SMTP_SERVER_TLS_VERIFY_HOSTS=''   # verify tls certs of these hosts, to 
disable
                                   #  this feature set to ''
SMTP_SERVER_TLS_TRY_VERIFY_HOSTS=''
                                   # try to verify tls certs of these 
hosts, to
                                   # disable this feature set to ''

SMTP_SERVER_SSMTP='no'            # start SSMTP server: yes or no
SMTP_SERVER_SSMTP_LISTEN_PORT=''  # port on which Exim is listening for 
inbound
                                   # traffic, default is 'ssmtp'

#------------------------------------------------------------------------------
# smtp: local domains
#------------------------------------------------------------------------------

SMTP_LOCAL_DOMAIN_N='3'           # number of local domains
SMTP_LOCAL_DOMAIN_1='@'           # 1. local domain, @ means SMTP_HOSTNAME
SMTP_LOCAL_DOMAIN_2='localhost'   # 2. local domain
SMTP_LOCAL_DOMAIN_3='home.lan'    # 3. local domain

#------------------------------------------------------------------------------
# smtp: relay to domains
#
# Optional:
#   The folllowing setting specify domains for which your host is an 
incoming
#   relay. If you are not doing any relaying, you should leave the list 
empty.
#   However, if your host is an MX backup or gateway of some kind for some
#   domains, you must set SMTP_RELAY_TO_DOMAIN_x to match those domains.
#------------------------------------------------------------------------------

SMTP_RELAY_TO_DOMAIN_N='0'        # domains for which we are incoming relay
SMTP_RELAY_TO_DOMAIN_1='domain.de'

#------------------------------------------------------------------------------
# smtp: relay from hosts
#
# The following settings specify hosts that can use your host as an
# outgoing relay to any other host on the Internet. Such a setting
# commonly refers to a complete local network as well as the localhost.
#------------------------------------------------------------------------------

SMTP_RELAY_FROM_HOST_N='2'        # hosts/nets from we accept outgoing mails
SMTP_RELAY_FROM_HOST_1='127.0.0.1'
SMTP_RELAY_FROM_HOST_2='192.168.1.0/24'

#------------------------------------------------------------------------------
# smtp: server authentication
#
# Optional:
#   Set the type of server authentication.
#   none   - no authentication
#   user   - each user authenticates himself by his username/password
#   server - all users authenticate themself by sending a global user/pass
#------------------------------------------------------------------------------

SMTP_AUTH_TYPE='user'             # authentication: none, user, server,
                                   # user_light or server_light
SMTP_AUTH_USER=''                 # if server: global username, else empty
SMTP_AUTH_PASS=''                 # if server: global password, else empty

#------------------------------------------------------------------------------
# smtp: smarthosts
#
# Optional:
#   Send all outgoing messages to a smarthost (e.g. mail server of your 
isp).
#------------------------------------------------------------------------------

SMTP_SMARTHOST_ONE_FOR_ALL='no'   # use one smarthost for all accounts:
                                   # if 'yes', the first entry will be read
                                   # if 'no', user specific entries will 
be used
SMTP_SMARTHOST_DOMAINS=''         # if SMTP_SMARTHOST_ONE_FOR_ALL='yes' then
                                   # use it only for these domains 
(separated by ':')
SMTP_SMARTHOST_ROUTE_TYPE='addr'  # if SMTP_SMARTHOST_ONE_FOR_ALL='no' 
then how
                                   # to select smarthost:  by sender 
mail 'addr'essi
                                   # or destination 'domain'

SMTP_SMARTHOST_N='6'              # number of smarthost entries
SMTP_SMARTHOST_1_HOST='mail.gmx.net'
                                   # 1. smart host to send mail to, e.g.
                                   # mail.gmx.net
SMTP_SMARTHOST_1_AUTH_TYPE='plain'
                                   #    'none', 'plain', 'login', 'md5' 
or 'msn'
SMTP_SMARTHOST_1_ADDR='Rene.Hanke at gmx.net'
                                   #    if SMTP_SMARTHOST_ROUTE_TYPE='addr':
                                   # sender mail address
SMTP_SMARTHOST_1_DOMAIN='local.lan'
                                   #    if 
SMTP_SMARTHOST_ROUTE_TYPE='domain':
                                   # destination domain
SMTP_SMARTHOST_1_USER='Rene.Hanke at gmx.net'
                                   #    if authentication required: username
SMTP_SMARTHOST_1_PASS='[MEINPASSWORT]'  #    if authentication required: 
password
SMTP_SMARTHOST_1_FORCE_AUTH='no'  #    set to 'yes' to allow only 
authenticated
                                   # connections
SMTP_SMARTHOST_1_FORCE_TLS='yes'  #    set to 'yes' to allow only secure
                                   # connections
SMTP_SMARTHOST_1_PORT='587'       #    port to use for outgoing connections,
                                   # default is 'smtp'
#------------------------------------------------------------------------------
SMTP_SMARTHOST_2_HOST='smtp.web.de'
                                   # 2. smart host to send mail to, e.g.
                                   # mail.gmx.net
SMTP_SMARTHOST_2_AUTH_TYPE='login'
                                   #    'none', 'plain', 'login', 'md5' 
or 'msn'
SMTP_SMARTHOST_2_ADDR='ReneHanke at web.de'
                                   #    if SMTP_SMARTHOST_ROUTE_TYPE='addr':
                                   # sender mail address
SMTP_SMARTHOST_2_DOMAIN='local.lan'
                                   #    if 
SMTP_SMARTHOST_ROUTE_TYPE='domain':
                                   # destination domain
SMTP_SMARTHOST_2_USER='ReneHanke at web.de'
                                   #    if authentication required: username
SMTP_SMARTHOST_2_PASS='[MEINPASSWORT]'  #    if authentication required: 
password
SMTP_SMARTHOST_2_FORCE_AUTH='no'  #    set to 'yes' to allow only 
authenticated
                                   # connections
SMTP_SMARTHOST_2_FORCE_TLS='yes'  #    set to 'yes' to allow only secure
                                   # connections
SMTP_SMARTHOST_2_PORT='587'       #    port to use for outgoing connections,
                                   # default is 'smtp'
#------------------------------------------------------------------------------
SMTP_SMARTHOST_3_HOST='smtp.web.de'
                                   # 3. smart host to send mail to, e.g.
                                   # mail.gmx.net
SMTP_SMARTHOST_3_AUTH_TYPE='login'
                                   #    'none', 'plain', 'login', 'md5' 
or 'msn'
SMTP_SMARTHOST_3_ADDR='GEHEIM1 at web.de'
                                   #    if SMTP_SMARTHOST_ROUTE_TYPE='addr':
                                   # sender mail address
SMTP_SMARTHOST_3_DOMAIN='local.lan'
                                   #    if 
SMTP_SMARTHOST_ROUTE_TYPE='domain':
                                   # destination domain
SMTP_SMARTHOST_3_USER='GEHEIM1 at web.de'
                                   #    if authentication required: username
SMTP_SMARTHOST_3_PASS='[MEINPASSWORT]'
                                   #    if authentication required: password
SMTP_SMARTHOST_3_FORCE_AUTH='no'  #    set to 'yes' to allow only 
authenticated
                                   # connections
SMTP_SMARTHOST_3_FORCE_TLS='yes'  #    set to 'yes' to allow only secure
                                   # connections
SMTP_SMARTHOST_3_PORT='587'       #    port to use for outgoing connections,
                                   # default is 'smtp'
#------------------------------------------------------------------------------
SMTP_SMARTHOST_4_HOST='mail.gmx.net'
                                   # 4. smart host to send mail to, e.g.
                                   # mail.gmx.net
SMTP_SMARTHOST_4_AUTH_TYPE='plain'
                                   #    'none', 'plain', 'login', 'md5' 
or 'msn'
SMTP_SMARTHOST_4_ADDR='CompuTecS at gmx.net'
                                   #    if SMTP_SMARTHOST_ROUTE_TYPE='addr':
                                   # sender mail address
SMTP_SMARTHOST_4_DOMAIN='local.lan'
                                   #    if 
SMTP_SMARTHOST_ROUTE_TYPE='domain':
                                   # destination domain
SMTP_SMARTHOST_4_USER='CompuTecS at gmx.net'
                                   #    if authentication required: username
SMTP_SMARTHOST_4_PASS='[MEINPASSWORT]'
                                   #    if authentication required: password
SMTP_SMARTHOST_4_FORCE_AUTH='no'  #    set to 'yes' to allow only 
authenticated
                                   # connections
SMTP_SMARTHOST_4_FORCE_TLS='yes'  #    set to 'yes' to allow only secure
                                   # connections
SMTP_SMARTHOST_4_PORT='587'       #    port to use for outgoing connections,
                                   # default is 'smtp'
#------------------------------------------------------------------------------
SMTP_SMARTHOST_5_HOST='mail.gmx.net'
                                   # 5. smart host to send mail to, e.g.
                                   # mail.gmx.net
SMTP_SMARTHOST_5_AUTH_TYPE='plain'
                                   #    'none', 'plain', 'login', 'md5' 
or 'msn'
SMTP_SMARTHOST_5_ADDR='GEHEIM2 at gmx.de'
                                   #    if SMTP_SMARTHOST_ROUTE_TYPE='addr':
                                   # sender mail address
SMTP_SMARTHOST_5_DOMAIN='local.lan'
                                   #    if 
SMTP_SMARTHOST_ROUTE_TYPE='domain':
                                   # destination domain
SMTP_SMARTHOST_5_USER='GEHEIM2 at gmx.de'
                                   #    if authentication required: username
SMTP_SMARTHOST_5_PASS='[MEINPASSWORT]'
                                   #    if authentication required: password
SMTP_SMARTHOST_5_FORCE_AUTH='no'  #    set to 'yes' to allow only 
authenticated
                                   # connections
SMTP_SMARTHOST_5_FORCE_TLS='yes'  #    set to 'yes' to allow only secure
                                   # connections
SMTP_SMARTHOST_5_PORT='587'       #    port to use for outgoing connections,
                                   # default is 'smtp'
#------------------------------------------------------------------------------
SMTP_SMARTHOST_6_HOST='smtp.web.de'
                                   # 6. smart host to send mail to, e.g.
                                   # mail.gmx.net
SMTP_SMARTHOST_6_AUTH_TYPE='login'
                                   #    'none', 'plain', 'login', 'md5' 
or 'msn'
SMTP_SMARTHOST_6_ADDR='GEHEIM2 at web.de'
                                   #    if SMTP_SMARTHOST_ROUTE_TYPE='addr':
                                   # sender mail address
SMTP_SMARTHOST_6_DOMAIN='local.lan'
                                   #    if 
SMTP_SMARTHOST_ROUTE_TYPE='domain':
                                   # destination domain
SMTP_SMARTHOST_6_USER='GEHEIM2 at web.de'
                                   #    if authentication required: username
SMTP_SMARTHOST_6_PASS='[MEINPASSWORT]' #    if authentication required: 
password
SMTP_SMARTHOST_6_FORCE_AUTH='no'  #    set to 'yes' to allow only 
authenticated
                                   # connections
SMTP_SMARTHOST_6_FORCE_TLS='yes'  #    set to 'yes' to allow only secure
                                   # connections
SMTP_SMARTHOST_6_PORT='587'       #    port to use for outgoing connections,
                                   # default is 'smtp'

#------------------------------------------------------------------------------
# smtp: update ignore hosts file
#------------------------------------------------------------------------------

SMTP_UPDATE_IGNORE_HOSTS='no'     # update ignore hosts: yes or no
SMTP_UPDATE_IGNORE_HOSTS_CRON_SCHEDULE='5 1 * * 0'
                                   # cron configuration string

#------------------------------------------------------------------------------
# smtp: aliases
#
# Here you can specify aliases
#
# General format:
#   SMTP_ALIASES_x_ALIAS_y='name: user1[,user2,...]
#
# Example:
#   SMTP_ALIASES_N='2'
#   ...
#   SMTP_ALIASES_2_DOMAIN='2nd.local.lan'
#   SMTP_ALIASES_2_ALIAS_N='1'
#   SMTP_ALIASES_2_ALIAS_1='frank: fm,foo at otherwhere.com'
#
# Mails to frank at domain.de will be delivered to local user fm and to
# user foo at otherwhere.com.
#------------------------------------------------------------------------------

SMTP_ALIASES_N='1'                # number of domains: default: 1
SMTP_ALIASES_1_DOMAIN=''          # 1. domain name: will only be read if
                                   # SMTP_ALIASES_N > 1
                                   #    and not SMTP_ALIASES_1_DOMAIN
SMTP_ALIASES_1_ALIAS_N='2'        #    number of aliases
SMTP_ALIASES_1_ALIAS_1='root:   rhanke'
                                   #    1. alias must be for user 'root'!
SMTP_ALIASES_1_ALIAS_2='faxusers:   rhanke,GEHEIM3'
                                   #    2. alias

#------------------------------------------------------------------------------
# smtp: outgoing addresses
#
# Here you can specify an address translation table which is only available
# if SMTP_SMARTHOST_N has been set to a value greater than 0.
#
# General format:
#   SMTP_OUTGOING_ADDRESSES_x='name: email address'
#
# Example:
#   SMTP_OUTGOING_ADDRESSES_1='fm: frank at domain.de'
#
#   Mail from local user 'fm' will be delivered by using sender address
#   'frank at domain.de'.
#------------------------------------------------------------------------------

SMTP_OUTGOING_ADDRESSES_N='6'
SMTP_OUTGOING_ADDRESSES_1='rhanke:    Rene.Hanke at gmx.net'
SMTP_OUTGOING_ADDRESSES_2='root:      Rene.Hanke at gmx.net'
SMTP_OUTGOING_ADDRESSES_3='hanker:    ReneHanke at web.de'
SMTP_OUTGOING_ADDRESSES_4='GEHEIM3:    GEHEIM2 at web.de'
SMTP_OUTGOING_ADDRESSES_5='wwwrun:    Rene.Hanke at gmx.net'
SMTP_OUTGOING_ADDRESSES_6='computecs: CompuTecS at gmx.net'

#------------------------------------------------------------------------------
# smtp: incoming addresses
#
# Example:
#   SMTP_HEADER_REWRITE_1_SOURCE='*@home.lan'
#   SMTP_HEADER_REWRITE_1_DESTINATION='$1 at domain.de'
#   SMTP_HEADER_REWRITE_1_FLAGS='sF'
#
#   The envelope from address and the sender of an incoming smtp mail from
#   user 'frank at home.lan' will be rewritten to 'frank at domain.de'
#------------------------------------------------------------------------------

SMTP_HEADER_REWRITE_N='6'         # number of rewrite rules
SMTP_HEADER_REWRITE_1_SOURCE='rhanke at home.lan'
                                   # 1. search mask
SMTP_HEADER_REWRITE_1_DESTINATION='Rene.Hanke at gmx.net'
                                   #    replace string
SMTP_HEADER_REWRITE_1_FLAGS='sF'  #    what to rewrite
SMTP_HEADER_REWRITE_2_SOURCE='root at home.lan'
                                   # 2. search mask
SMTP_HEADER_REWRITE_2_DESTINATION='Rene.Hanke at gmx.net'
                                   #    replace string
SMTP_HEADER_REWRITE_2_FLAGS='sF'  #    what to rewrite
SMTP_HEADER_REWRITE_3_SOURCE='hanker at home.lan'
                                   # 3. search mask
SMTP_HEADER_REWRITE_3_DESTINATION='ReneHanke at web.de'
                                   #    replace string
SMTP_HEADER_REWRITE_3_FLAGS='sF'  #    what to rewrite
SMTP_HEADER_REWRITE_4_SOURCE='GEHEIM3 at home.lan'
                                   # 4. search mask
SMTP_HEADER_REWRITE_4_DESTINATION='GEHEIM3 at web.de'
                                   #    replace string
SMTP_HEADER_REWRITE_4_FLAGS='sF'  #    what to rewrite
SMTP_HEADER_REWRITE_5_SOURCE='wwwrun at home.lan'
                                   # 5. search mask
SMTP_HEADER_REWRITE_5_DESTINATION='Rene.Hanke at gmx.net'
                                   #    replace string
SMTP_HEADER_REWRITE_5_FLAGS='sF'  #    what to rewrite
SMTP_HEADER_REWRITE_6_SOURCE='computecs at home.lan'
                                   # 6. search mask
SMTP_HEADER_REWRITE_6_DESTINATION='CompuTecS at gmx.net'
                                   #    replace string
SMTP_HEADER_REWRITE_6_FLAGS='sF'  #    what to rewrite

#------------------------------------------------------------------------------
# smtp: mailing lists
#
# Here you can specify simple mailing lists
#
# Explanation of example below:
#
# A mail to 'eisfair at domain.de' will be delivered to all members in the 
list.
# The reply address will be changed to 'eisfair at domain.de'!
#------------------------------------------------------------------------------

SMTP_LIST_DOMAIN='home.lan'       # domain part of mailing list addrs
SMTP_LIST_ERRORS='frank at home.lan' # send error messages to this address

SMTP_LIST_N='0'                   # number of mailing lists
SMTP_LIST_1_ACTIVE='no'           # 1. activate list: yes or no
SMTP_LIST_1_NAME='eisfair'        #    name of list
SMTP_LIST_1_USER_N='2'            #    number of list members
SMTP_LIST_1_USER_1='frank at home.lan'
                                   #    1. member
SMTP_LIST_1_USER_2='tom at home.lan' #    2. member
#------------------------------------------------------------------------------
SMTP_LIST_2_ACTIVE='no'           # 2. activate list: yes or no
SMTP_LIST_2_NAME='fli4l'          #    name of list
SMTP_LIST_2_USER_N='2'            #    number of list members
SMTP_LIST_2_USER_1='frank at home.lan'
                                   #    1. member
SMTP_LIST_2_USER_2='joe at home.lan' #    2. member

- - - - - - - - - - -

> Mit welcher Absenderadresse wird aus dem Mailclient versendet?
> 
> rene.hanke@????
 >
 > rene@????

Rene.Hanke at gmx.net bzw. rene.hanke at gmx.net . Eines ist roundcube, eines 
BlueMail (Android), beide zeigen sporadisch denselben Fehler.

[SNIP]

> $sender_address_local_part}}lsearch{/etc/exim-addresses}{$value}}}'
>> 18665   search_open: lsearch "/etc/exim-addresses"
>> 18665   search_find: file="/etc/exim-addresses"
>> 18665     key="rene.hanke" partial=-1 affix=NULL starflags=0 opts=NULL
>> 18665   LRU list:
>> 18665     5/etc/exim-addresses
>> 18665     End
>> 18665   internal_search_find: file="/etc/exim-addresses"
>> 18665     type=lsearch key="rene.hanke" opts=NULL
>> 18665   file lookup required for rene.hanke
>> 18665     in /etc/exim-addresses
>> 18665   lookup failed
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
>> 18665 direct command after expansion:
>> 18665   argv[0] = /usr/bin/exim_transport_filter.sh
>> 18665   argv[1] = --both
>> 18665   argv[2] = home.lan
>> 18665   argv[3] =
>> 18665   SMTP>> MAIL FROM:<Rene.Hanke at gmx.net> SIZE=608
>> 18665 cmd buf flush 41 bytes
>> 18665 tls_write(0x8247728, 41)
>> 18665 SSL_write(0x824f190, 0x8247728, 41)
>> 18665 outbytes=41 error=0
>> 18665 Calling SSL_read(0x824f190, 0x8246728, 4096)
>> 18665 read response data: size=29
>> 18665   SMTP<< 530 Authentication required
> 
> IMHO verbirgt sich in dem Abschnitt das Problem.
> 

Bömische Dörfer meinerseits.  ¯\_(ツ)_/¯


Lieber Gruß, sollte ich die kommende Woche nicht antworten bitte nicht 
wundern. ;-)

René


Mehr Informationen über die Mailingliste Eisfair