* posting "some" mail through a different server?
@ 2004-04-07 16:53 Wes Hardaker
2004-04-09 16:21 ` Jesper Harder
2004-04-09 20:27 ` James Felix Black
0 siblings, 2 replies; 11+ messages in thread
From: Wes Hardaker @ 2004-04-07 16:53 UTC (permalink / raw)
How come this doesn't work as group parameters:
(smtpmail-smtp-server "localhost")
(smtpmail-smtp-service 1125)
(message-send-mail-function 'smtpmail-send-it)
Specifically, I'm trying to send some of my mail through a ssh port
forwarded tunnel (through port 1125). This doesn't seem to work
though and it still tries to go through my local sendmail. I know the
-default versions of the variables shouldn't be used but I'd think the
above settings should be ok. Apparently not?
--
"In the bathtub of history the truth is harder to hold than the soap,
and much more difficult to find." -- Terry Pratchett
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: posting "some" mail through a different server?
2004-04-07 16:53 posting "some" mail through a different server? Wes Hardaker
@ 2004-04-09 16:21 ` Jesper Harder
2004-04-09 17:13 ` Wes Hardaker
2004-04-09 20:27 ` James Felix Black
1 sibling, 1 reply; 11+ messages in thread
From: Jesper Harder @ 2004-04-09 16:21 UTC (permalink / raw)
Wes Hardaker <wes@hardakers.net> writes:
> How come this doesn't work as group parameters:
>
> (smtpmail-smtp-server "localhost")
> (smtpmail-smtp-service 1125)
> (message-send-mail-function 'smtpmail-send-it)
Just guessing: Because the Message buffer (or whatever buffer is
current at the appropriate time) doesn't inherit buffer-local values
from the Summary buffer?
--
Jesper Harder <http://purl.org/harder/>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: posting "some" mail through a different server?
2004-04-09 16:21 ` Jesper Harder
@ 2004-04-09 17:13 ` Wes Hardaker
2004-04-09 17:20 ` Arne Jørgensen
2004-04-09 17:59 ` Jesper Harder
0 siblings, 2 replies; 11+ messages in thread
From: Wes Hardaker @ 2004-04-09 17:13 UTC (permalink / raw)
>>>>> On Fri, 09 Apr 2004 18:21:55 +0200, Jesper Harder <harder@ifa.au.dk> said:
Jesper> Wes Hardaker <wes@hardakers.net> writes:
>> How come this doesn't work as group parameters:
>>
>> (smtpmail-smtp-server "localhost")
>> (smtpmail-smtp-service 1125)
>> (message-send-mail-function 'smtpmail-send-it)
Jesper> Just guessing: Because the Message buffer (or whatever buffer
Jesper> is current at the appropriate time) doesn't inherit
Jesper> buffer-local values from the Summary buffer?
Probably.
sigh.
Anyone have thoughts on how to make it work?
--
"In the bathtub of history the truth is harder to hold than the soap,
and much more difficult to find." -- Terry Pratchett
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: posting "some" mail through a different server?
2004-04-09 17:13 ` Wes Hardaker
@ 2004-04-09 17:20 ` Arne Jørgensen
2004-04-10 13:59 ` Wes Hardaker
2004-04-09 17:59 ` Jesper Harder
1 sibling, 1 reply; 11+ messages in thread
From: Arne Jørgensen @ 2004-04-09 17:20 UTC (permalink / raw)
Wes Hardaker <wes@hardakers.net> writes:
>>>>>> On Fri, 09 Apr 2004 18:21:55 +0200, Jesper Harder <harder@ifa.au.dk> said:
>
> Jesper> Wes Hardaker <wes@hardakers.net> writes:
>>> How come this doesn't work as group parameters:
>>>
>>> (smtpmail-smtp-server "localhost")
>>> (smtpmail-smtp-service 1125)
>>> (message-send-mail-function 'smtpmail-send-it)
>
> Jesper> Just guessing: Because the Message buffer (or whatever buffer
> Jesper> is current at the appropriate time) doesn't inherit
> Jesper> buffer-local values from the Summary buffer?
>
> Probably.
>
> sigh.
>
> Anyone have thoughts on how to make it work?
gnus-newsgroup-variables?
Kind regards,
--
Arne Jørgensen
Valby Langgade 272, 1. tv., DK-2500 Valby, Denmark
phone: +45 36 44 18 03, mobile: +45 21 65 01 13
email: arne@arnested.dk, <http://arnested.dk/>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: posting "some" mail through a different server?
2004-04-09 17:13 ` Wes Hardaker
2004-04-09 17:20 ` Arne Jørgensen
@ 2004-04-09 17:59 ` Jesper Harder
2004-04-10 13:52 ` Wes Hardaker
1 sibling, 1 reply; 11+ messages in thread
From: Jesper Harder @ 2004-04-09 17:59 UTC (permalink / raw)
Wes Hardaker <wes@hardakers.net> writes:
>>>>>> On Fri, 09 Apr 2004 18:21:55 +0200, Jesper Harder <harder@ifa.au.dk> said:
>
> Jesper> Wes Hardaker <wes@hardakers.net> writes:
>>> How come this doesn't work as group parameters:
>>>
>>> (smtpmail-smtp-server "localhost")
>>> (smtpmail-smtp-service 1125)
>>> (message-send-mail-function 'smtpmail-send-it)
>
> Jesper> Just guessing: Because the Message buffer (or whatever buffer
> Jesper> is current at the appropriate time) doesn't inherit
> Jesper> buffer-local values from the Summary buffer?
>
> Anyone have thoughts on how to make it work?
In your `gnus-posting-styles'. Maybe.
--
Jesper Harder <http://purl.org/harder/>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: posting "some" mail through a different server?
2004-04-07 16:53 posting "some" mail through a different server? Wes Hardaker
2004-04-09 16:21 ` Jesper Harder
@ 2004-04-09 20:27 ` James Felix Black
2004-04-10 13:49 ` Wes Hardaker
1 sibling, 1 reply; 11+ messages in thread
From: James Felix Black @ 2004-04-09 20:27 UTC (permalink / raw)
Cc: ding
I'm no gnus expert, but I got this to work in my peculiar situation by
using gnus-group-parameters:
http://my.gnus.org/node/view/278
I have a vanity domain (as well as several other email sources) that's
collected and split into a local courier-imap setup. This way, I can
make sure that replies go out through the correct SMTP server.
'jfb
--
Many Shubs and Zuuls knew what it was like to be roasted in the depths
of a Sloar that day, I can tell you!
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: posting "some" mail through a different server?
2004-04-09 20:27 ` James Felix Black
@ 2004-04-10 13:49 ` Wes Hardaker
0 siblings, 0 replies; 11+ messages in thread
From: Wes Hardaker @ 2004-04-10 13:49 UTC (permalink / raw)
Cc: ding
>>>>> On Fri, 09 Apr 2004 13:27:21 -0700, James Felix Black <jfb@visi.com> said:
James> I'm no gnus expert, but I got this to work in my peculiar situation by
James> using gnus-group-parameters:
James> http://my.gnus.org/node/view/278
James> I have a vanity domain (as well as several other email sources)
James> that's collected and split into a local courier-imap setup.
James> This way, I can make sure that replies go out through the
James> correct SMTP server.
Thanks for the example. I'll definitely consider that.
--
"In the bathtub of history the truth is harder to hold than the soap,
and much more difficult to find." -- Terry Pratchett
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: posting "some" mail through a different server?
2004-04-09 17:59 ` Jesper Harder
@ 2004-04-10 13:52 ` Wes Hardaker
2004-04-10 14:01 ` Jesper Harder
0 siblings, 1 reply; 11+ messages in thread
From: Wes Hardaker @ 2004-04-10 13:52 UTC (permalink / raw)
>>>>> On Fri, 09 Apr 2004 19:59:37 +0200, Jesper Harder <harder@ifa.au.dk> said:
Jesper> In your `gnus-posting-styles'. Maybe.
That's probably the right way to do it, but unfortunately it doesn't
support setting of random variables, which would mean doing it inside
a setq inside a function defining a value for something else.
Maybe we should add support for (variable . value) in
gnus-posting-styles that would auto-create a local variable and
set it. That of course is backwards from group parameters, where
variables are supposed to be (name value) and attributes are (name
. value) which is disappointing from a consistency point of view...
--
"In the bathtub of history the truth is harder to hold than the soap,
and much more difficult to find." -- Terry Pratchett
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: posting "some" mail through a different server?
2004-04-09 17:20 ` Arne Jørgensen
@ 2004-04-10 13:59 ` Wes Hardaker
0 siblings, 0 replies; 11+ messages in thread
From: Wes Hardaker @ 2004-04-10 13:59 UTC (permalink / raw)
Cc: ding
>>>>> On Fri, 09 Apr 2004 19:20:39 +0200, Arne Jørgensen <arne@arnested.dk> said:
Jesper> Wes Hardaker <wes@hardakers.net> writes:
>>>> How come this doesn't work as group parameters:
>>>>
>>>> (smtpmail-smtp-server "localhost")
>>>> (smtpmail-smtp-service 1125)
>>>> (message-send-mail-function 'smtpmail-send-it)
>>
Jesper> Just guessing: Because the Message buffer (or whatever buffer
Jesper> is current at the appropriate time) doesn't inherit
Jesper> buffer-local values from the Summary buffer?
>>
>> Probably.
>>
>> sigh.
>>
>> Anyone have thoughts on how to make it work?
Arne> gnus-newsgroup-variables?
Also would work, but would cause problems when entering multiple
groups (which I do sometimes) as it forces the variable to be global.
--
"In the bathtub of history the truth is harder to hold than the soap,
and much more difficult to find." -- Terry Pratchett
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: posting "some" mail through a different server?
2004-04-10 13:52 ` Wes Hardaker
@ 2004-04-10 14:01 ` Jesper Harder
2004-04-13 20:25 ` Wes Hardaker
0 siblings, 1 reply; 11+ messages in thread
From: Jesper Harder @ 2004-04-10 14:01 UTC (permalink / raw)
Wes Hardaker <wes@hardakers.net> writes:
>>>>>> Jesper Harder <harder@ifa.au.dk> said:
>
> Jesper> In your `gnus-posting-styles'. Maybe.
>
> That's probably the right way to do it, but unfortunately it doesn't
> support setting of random variables, which would mean doing it
> inside a setq inside a function defining a value for something else.
It does have `eval'. E.g.
(setq gnus-posting-styles
'((".*"
(eval (set (make-local-variable 'foo) 'bar)))))
--
Jesper Harder <http://purl.org/harder/>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: posting "some" mail through a different server?
2004-04-10 14:01 ` Jesper Harder
@ 2004-04-13 20:25 ` Wes Hardaker
0 siblings, 0 replies; 11+ messages in thread
From: Wes Hardaker @ 2004-04-13 20:25 UTC (permalink / raw)
>>>>> On Sat, 10 Apr 2004 16:01:13 +0200, Jesper Harder <harder@ifa.au.dk> said:
Jesper> In your `gnus-posting-styles'. Maybe.
>>
>> That's probably the right way to do it, but unfortunately it doesn't
>> support setting of random variables, which would mean doing it
>> inside a setq inside a function defining a value for something else.
Jesper> It does have `eval'. E.g.
Missed that in the docs. Thanks.
Of course, that doesn't work either. sigh.
I suspect that when the message-send-mail-function is called its not
in the buffer in question and is a different processing buffer (I'm
guessing. I haven't looked at the internals). I've verified that in
the article I'm writing the variables are set up and local, but they
don't affect the sending of the mail....
--
"In the bathtub of history the truth is harder to hold than the soap,
and much more difficult to find." -- Terry Pratchett
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-04-13 20:25 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-07 16:53 posting "some" mail through a different server? Wes Hardaker
2004-04-09 16:21 ` Jesper Harder
2004-04-09 17:13 ` Wes Hardaker
2004-04-09 17:20 ` Arne Jørgensen
2004-04-10 13:59 ` Wes Hardaker
2004-04-09 17:59 ` Jesper Harder
2004-04-10 13:52 ` Wes Hardaker
2004-04-10 14:01 ` Jesper Harder
2004-04-13 20:25 ` Wes Hardaker
2004-04-09 20:27 ` James Felix Black
2004-04-10 13:49 ` Wes Hardaker
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).