Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* SMTP send problem from at home
@ 2007-01-25  9:51 Torben Knudsen
  2007-01-25 10:48 ` Tassilo Horn
       [not found] ` <mailman.3564.1169722163.2155.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Torben Knudsen @ 2007-01-25  9:51 UTC (permalink / raw)
  To: info-gnus-english

Below you see my .gnus which works for email and news at work
(university).  However at home I get an error:
Sending...
Sending via mail...
Loading smtpmail...done
Loading mailalias...done
smtpmail-send-it: Sending failed; SMTP protocol error   <----------

I think our smtp server needs user and password.
Can anyone help?

; Use smtpmail not sendmail for mail sending
; (require 'smtpmail) ; Not necessary 
(setq send-mail-with-sendmail nil)
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "smtp.control.aau.dk")
;; If your SMTP server requires a username/password to authenticate, as
;; many do nowadays, set them like this:
(setq smtpmail-auth-credentials  ; or use ~/.authinfo
 	'(("smtp.control.aau.dk" 587 "" "")))
;	'(("smtp.control.aau.dk" 587 "*******" "*******")))
;	'(("smtp.control.aau.dk" 25 "" "")))
; Perhaps the following can be of use
; smtpmail-auth-credentials '(("smtp.googlemail.com" 465 "*******" "*******"))
; smtpmail-starttls-credentials '(("smtp.googlemail.com" 465 nil nil))

-- 
Associate Prof. Ph.D Torben Knudsen	Phone	: (+45) 9635 8670
Section of Automation and Control,	Email	: tk@es.aau.dk
Department of Electronic Systems,
Aalborg University 
Fredrik Bajersvej 7 
DK-9220 Aalborg Ø
Denmark 

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

* Re: SMTP send problem from at home
  2007-01-25  9:51 SMTP send problem from at home Torben Knudsen
@ 2007-01-25 10:48 ` Tassilo Horn
       [not found] ` <mailman.3564.1169722163.2155.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Tassilo Horn @ 2007-01-25 10:48 UTC (permalink / raw)
  To: info-gnus-english

Torben Knudsen <tk@es.aau.dk> writes:

Hi Torben,

> Below you see my .gnus which works for email and news at work
> (university).  However at home I get an error:
> Sending...
> Sending via mail...
> Loading smtpmail...done
> Loading mailalias...done
> smtpmail-send-it: Sending failed; SMTP protocol error   <----------

Hm, that's not quite much information. Try to get more informations by
setting those variables.

(setq smtpmail-debug-info t
      smtpmail-debug-verb t)

Bye,
Tassilo
-- 
> Negerkuss
Rassist! Das heisst jetzt Farbigenliebkosung.
                     - Ulf Rund in de.talk.jokes -

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

* Re: SMTP send problem from at home
       [not found] ` <mailman.3564.1169722163.2155.info-gnus-english@gnu.org>
@ 2007-01-25 14:30   ` Torben Knudsen
  2007-01-25 18:56     ` Tassilo Horn
       [not found]     ` <mailman.3590.1169751411.2155.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Torben Knudsen @ 2007-01-25 14:30 UTC (permalink / raw)
  To: info-gnus-english

>>>>> "Tassilo" == Tassilo Horn <tassilo@member.fsf.org> writes:

Tassilo> Torben Knudsen <tk@es.aau.dk> writes: Hi Torben,

>> Below you see my .gnus which works for email and news at work
>> (university).  However at home I get an error: Sending...  Sending
>> via mail...  Loading smtpmail...done Loading mailalias...done
>> smtpmail-send-it: Sending failed; SMTP protocol error <----------

Tassilo> Hm, that's not quite much information. Try to get more
Tassilo> informations by setting those variables.

Tassilo> (setq smtpmail-debug-info t smtpmail-debug-verb t)

I did that and then it suddenly works with sending even though I
haven't changed anything (I think).

Thanks 

And here is some of the debug output if you are interested anyway.


.
050 "|exec /dist/bin/procmail -Y  -f-||exit 75 #tk"... Connecting to prog...
050 "|exec /dist/bin/procmail -Y  -f-||exit 75 #tk"... Sent
250 2.0.0 l0PEMGW1011846 Message accepted for delivery
QUIT
221 2.0.0 orc.control.auc.dk closing connection



Tassilo> Bye, Tassilo --
>> Negerkuss
Tassilo> Rassist! Das heisst jetzt Farbigenliebkosung.  - Ulf Rund in
Tassilo> de.talk.jokes -




-- 
Associate Prof. Ph.D Torben Knudsen	Phone	: (+45) 9635 8670
Section of Automation and Control,	Email	: tk@es.aau.dk
Department of Electronic Systems,
Aalborg University 
Fredrik Bajersvej 7 
DK-9220 Aalborg Ø
Denmark 

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

* Re: SMTP send problem from at home
  2007-01-25 14:30   ` Torben Knudsen
@ 2007-01-25 18:56     ` Tassilo Horn
       [not found]     ` <mailman.3590.1169751411.2155.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Tassilo Horn @ 2007-01-25 18:56 UTC (permalink / raw)
  To: info-gnus-english

Torben Knudsen <tk@es.aau.dk> writes:

Hello Torben,

> Tassilo> (setq smtpmail-debug-info t smtpmail-debug-verb t)
>
> I did that and then it suddenly works with sending even though I
> haven't changed anything (I think).

Strange, but maybe the server had troubles when you tried to send the
first time.

Bye,
Tassilo
-- 
     My software never has bugs. It just develops random features.

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

* Re: SMTP send problem from at home
       [not found]     ` <mailman.3590.1169751411.2155.info-gnus-english@gnu.org>
@ 2007-01-26 19:41       ` Torben Knudsen
  2007-01-26 22:02         ` Tassilo Horn
  0 siblings, 1 reply; 6+ messages in thread
From: Torben Knudsen @ 2007-01-26 19:41 UTC (permalink / raw)
  To: info-gnus-english

>>>>> "Tassilo" == Tassilo Horn <tassilo@member.fsf.org> writes:

Tassilo> Torben Knudsen <tk@es.aau.dk> writes: Hello Torben,

Tassilo> (setq smtpmail-debug-info t smtpmail-debug-verb t)
>>  I did that and then it suddenly works with sending even though I
>> haven't changed anything (I think).

Tassilo> Strange, but maybe the server had troubles when you tried to
Tassilo> send the first time.

Today I had problems again and here is the debug file

220 orc.control.auc.dk ESMTP Sendmail 8.13.6/8.13.6; Fri, 26 Jan 2007 09:48:45 +0100 (CET)
EHLO tk-laptop
250-orc.control.auc.dk Hello 0x55515faa.adsl.cybercity.dk [85.81.95.170], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH LOGIN PLAIN
250-STARTTLS
250-DELIVERBY
250 HELP
VERB
250 2.0.0 Verbose mode
MAIL FROM: <tk@es.aau.dk> SIZE=1322
250 2.1.0 <tk@es.aau.dk>... Sender ok
RCPT TO: <PBC@vestas.com>
550 5.7.1 <PBC@vestas.com>... Relaying denied. Proper authentication required.
QUIT
221 2.0.0 orc.control.auc.dk closing connection

-- 
Associate Prof. Ph.D Torben Knudsen	Phone	: (+45) 9635 8670
Section of Automation and Control,	Email	: tk@es.aau.dk
Department of Electronic Systems,
Aalborg University 
Fredrik Bajersvej 7 
DK-9220 Aalborg Ø
Denmark 

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

* Re: SMTP send problem from at home
  2007-01-26 19:41       ` Torben Knudsen
@ 2007-01-26 22:02         ` Tassilo Horn
  0 siblings, 0 replies; 6+ messages in thread
From: Tassilo Horn @ 2007-01-26 22:02 UTC (permalink / raw)
  To: info-gnus-english

Torben Knudsen <tk@es.aau.dk> writes:

Hi Torben,

> 250 2.0.0 Verbose mode
> MAIL FROM: <tk@es.aau.dk> SIZE=1322
> 250 2.1.0 <tk@es.aau.dk>... Sender ok
> RCPT TO: <PBC@vestas.com>
> 550 5.7.1 <PBC@vestas.com>... Relaying denied. Proper authentication required.
                                ^^^^^^^^^^^^^^^

That's no fault of gnus. Your university's smtp server forbids relaying,
which means you can only send mail to other university email addresses
if you're outside the university. 

My university does the same, so I always use the smtp server of my email
provider, who has no such restrictions.

Bye,
Tassilo
-- 
VI VI VI - The Roman Number Of The Beast

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

end of thread, other threads:[~2007-01-26 22:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-25  9:51 SMTP send problem from at home Torben Knudsen
2007-01-25 10:48 ` Tassilo Horn
     [not found] ` <mailman.3564.1169722163.2155.info-gnus-english@gnu.org>
2007-01-25 14:30   ` Torben Knudsen
2007-01-25 18:56     ` Tassilo Horn
     [not found]     ` <mailman.3590.1169751411.2155.info-gnus-english@gnu.org>
2007-01-26 19:41       ` Torben Knudsen
2007-01-26 22:02         ` Tassilo Horn

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).