Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* still smtp-problems with the second mail-account
@ 2004-04-26  7:14 Fabian Braennstroem
       [not found] ` <iluvfjiwmfg.fsf@latte.josefsson.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Braennstroem @ 2004-04-26  7:14 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: still smtp-problems with the second mail-account
       [not found] ` <iluvfjiwmfg.fsf@latte.josefsson.org>
@ 2004-05-03  5:49   ` Fabian Braennstroem
  0 siblings, 0 replies; 2+ messages in thread
From: Fabian Braennstroem @ 2004-05-03  5:49 UTC (permalink / raw)


Hello Simon,

Simon Josefsson <jas@extundo.com> writes:

> Fabian Braennstroem <f.braennstroem@gmx.de> writes:
>
>> What does this 'Mechanism nil not implemeted' want to say me? Does anyone have
>> a hint?
>
> Are you sure you are using the latest smtpmail.el + sendmail.el?  I
> recall that a fix for a problem similar to that was installed some
> time ago.

No, I am not sure. I thought that those packages are implemented by default; I
am using Emacs 21.3.1 on ArchLinux (by the way, it is a very nice distro) which
should be pretty fresh. I tried out to use the packages from Debian Sid; 
this did not work, maybe because these are byte-compiled!?
Now I looking for the latest sources; but I have no idea for what version
number I have to look for and which one I use right now. 
Could you give me any version-number or url?

Thanks and Greetings!
-- 
Fabian Braennstroem
Berlin / Duesseldorf


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-03  5:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-26  7:14 still smtp-problems with the second mail-account Fabian Braennstroem
     [not found] ` <iluvfjiwmfg.fsf@latte.josefsson.org>
2004-05-03  5:49   ` Fabian Braennstroem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).