info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

still smtp-problems with the second mail-account


From: Fabian Braennstroem
Subject: still smtp-problems with the second mail-account
Date: Mon, 26 Apr 2004 09:14:09 +0200
User-agent: Gnus/5.110001 (No Gnus v0.1) Emacs/21.3 (gnu/linux)

Hello,

I have still some problems with my second mail account. I am not able to send
mail with it; receiving is no problem. My code for sending mail with this
server looks like this:

(defun fs-change-smtp ()
 "Change the SMTP server according to the current from  line."
   (save-excursion
     (let ((from
            (save-restriction
              (message-narrow-to-headers)
              (message-fetch-field "from"))))
       (cond
       .....
       GMX-Settings
       ....
       ....
 ((string-match "Fabian Braennstroem <fabian.braennstroem@tu-berlin.de>" from)
  (setq smtpmail-smtp-server "smtp.zrz.TU-BERLIN.DE")
  (setq user-mail-address "fabian.braennstroem@tu-berlin.de")
  (setq message-send-mail-function 'smtpmail-send-it)
  (setq send-mail-function 'smtpmail-send-it)
  (setq gnus-agent-send-mail-function 'message-smtpmail-send-it)
  (setq smtpmail-default-smtp-server "smtp.zrz.TU-BERLIN.DE")
  (setq smtpmail-smtp-server "smtp.zrz.TU-BERLIN.DE")
  (setq smtpmail-default-smtp-user "username")
  (setq smtpmail-debug-info t)
  (setq smtpmail-auth-login-username "username")
  (setq smtpmail-auth-credentials
        '(("smtp.zrz.TU-BERLIN.DE" "username" "password"))))

 ))))

(add-hook 'message-send-hook 'fs-change-smtp)

        

This doesn't look nice, but it works for my GMX-mails. My from line in the
header says this:

From: Fabian Braennstroem <fabian.braennstroem@tu-berlin.de>

But somehow Gnus (No Gnus v0.1 and Gnus 5.10.6) complains:

Sending...
Sending via mail...
Loading smtpmail...done
Loading mailalias...done
220 mailbox.TU-Berlin.DE - ESMTP (exim-4.32) ready at Mon, 26 Apr 2004 09:03:29 
+0200
250-mailbox.tu-berlin.de Hello tfdpc12.tfd.chalmers.se [129.16.64.95]
250-SIZE
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
unknown extension pipelining
unknown extension starttls
221 mailbox.tu-berlin.de closing connection
byte-code: Mechanism nil not implemented

What does this 'Mechanism nil not implemeted' want to say me? Does anyone have
a hint?

Greetings!
-- 
Fabian Braennstroem
Berlin / Duesseldorf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]