[Eisfair] mail 1.17.1: fetchmail scheitert am lokalen SMTP

Alexander Dahl lespocky at web.de
Mi Jan 21 09:02:14 CET 2026


Hallo Marcus,

Marcus Röckrath schrieb Mittwoch, 21. Januar 2026, 08:37 (CET):
> Hallo Alexander,
>
> Alexander Dahl wrote:
>
>> habe heute das Update auf mail Paket 1.17.1 gemacht und jetzt bekomme
>> ich im fetchmail log derartige Meldungen:
>> 
>>     │Jan 20 23:55:53 fetchmail: SMTP: authentication requested, but not
>>     offered by server
>>
>>     │Jan 20 23:55:53 fetchmail: SMTP connect to localhost failed
>>
>>     │Jan 20 23:55:53 fetchmail: SMTP transaction error while fetching from
>>     lespocky at pop3.web.de and delivering to SMTP host localhost
>
> Fetchmail kann keine Verbindung zum lokalen smtp (exim) aufbauen, weil 
> fetchmail sich authentifizieren will, der Server jedoch  keine solche 
> anbietet.

So verstehe ich das auch.  Was spannend ist, weil es a) mit der
vorherigen Version ging und b) in /etc/fetchmail.conf Zugangsdaten für
den SMTP eingetragen sind, egal wie SMTP_AUTH_TYPE gesetzt ist (jeweils
die aus SMTP_AUTH_USER/SMTP_AUTH_PASS bei 'server' bzw. die von dem
fetchmail user bei 'user' dann).

SMTP_AUTH_TYPE war zuvor auf 'user' gesetzt und mit dem Passwort, was
ich dann in der fetchmail.conf finde, kann ich mich über ssh mit dem vom
Paket angelegten fetchmail-account auch erfolgreich authentifizieren.

Jetzt habe ich SMTP_AUTH_TYPE auf 'server' gestellt und fetchmail geht
wieder (ist aber erstmal nur eine Notlösung, weil ich dann allerlei
Dinge umstellen muss, Thunderbird, nullmailer, etc.).

> Kannst du mal ein paar Konfigurationsdaten liefern:
>
> MAIL_USER_USE_MAILONLY_PASSWORDS

MAIL_USER_USE_MAILONLY_PASSWORDS='no'

Inwiefern macht das einen Unterschied im Zusammenspiel zwischen
fetchmail und exim?

> Fetchmail-Account
> FETCHMAIL_x_... (ohne Passwort)

nur für den ersten, betrifft aber _alle_ Accounts, auch bei anderen
Hostern:

FETCHMAIL_1_ACTIVE='yes'               # 1. activate fetchmail entry: yes or no
FETCHMAIL_1_COMMENT='web.de lespocky'  #    optional comment to identify entry
FETCHMAIL_1_SERVER='pop3.web.de'       #    mail server to poll
FETCHMAIL_1_USER='lespocky'            #    username and
FETCHMAIL_1_PASS='**********'          #    password for this server
FETCHMAIL_1_AUTH_TYPE=''               #    set a different authentication type
FETCHMAIL_1_FORWARD='alex'             #    local account to forward to
FETCHMAIL_1_SMTPHOST=''                #    smtp host to forward to,
FETCHMAIL_1_IMAP_FOLDER=''             #    imap folders to request, default is 'INBOX'
FETCHMAIL_1_DOMAIN='no'                #    if yes fetchmail gets mail for
FETCHMAIL_1_ENVELOPE='no'              #    if yes, lookup envelope addresses
FETCHMAIL_1_ENVELOPE_HEADER=''         #    look for individual address header
FETCHMAIL_1_SERVER_AKA_N='0'           #    number of dns aliases, default is '0'
FETCHMAIL_1_SERVER_AKA_1=''            #    1. dns alias
FETCHMAIL_1_LOCALDOMAIN_N='0'          #    number of local domains, default is '0'
FETCHMAIL_1_LOCALDOMAIN_1=''           #    1. local domain
FETCHMAIL_1_LOCALDOMAIN_2=''           #    2. local domain
FETCHMAIL_1_PROTOCOL=''                #    set a different protocol
FETCHMAIL_1_PORT=''                    #    set a different ip port, default is 'pop3'
FETCHMAIL_1_ACCEPT_BAD_HEADER='yes'    #    accept bad email headers: yes or no
FETCHMAIL_1_DNS_LOOKUP='yes'           #    if yes dns lookups are performed
FETCHMAIL_1_KEEP='no'                  #    if yes mail is left on the server
FETCHMAIL_1_FETCHALL='yes'             #    if yes all mail is fetched from the server
FETCHMAIL_1_MSG_LIMIT='100'            #    number of messages per session, default '0'
FETCHMAIL_1_SSL_PROTOCOL='auto'        #    ssl protocol: none, ssl3 or tls1
FETCHMAIL_1_SSL_TRANSPORT='yes'        #    enable ssl transport
FETCHMAIL_1_SSL_FINGERPRINT=''         #    ssl fingerprint

> SMTP_SERVER_SSMTP

SMTP_SERVER_SSMTP='no'

> SMTP_AUTH_TYPE

Steht jetzt auf 'server', damit geht es.  Stand vorher auf 'user' und
das klappt nicht mehr.

Lustigerweise ist nur fetchmail betroffen, mit Thunderbird kann ich mich
ganz normal am SMTP authentifizieren.

> Was steht zum obigen Zeitpunkt in den exim-Logs unter /var/spool/exim/log 
> (mainlog, paniclog und rejectlog).

Habe es jetzt nochmal auf 'user' gestellt und neu probiert.
- keine Einträge im main log
- keine Einträge im reject log
- keine Einträge im panic log

Merkwürdig.

Grüße
Alex

-- 
***** http://blog.antiblau.de/ *****************************
GnuPG-FP: C28E E6B9 0263 95CF 8FAF  08FA 34AD CD00 7221 5CC6


Mehr Informationen über die Mailingliste Eisfair