Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: HowTo use different smtp-servers
       [not found] <3f2ebe08@e-post.inode.at>
@ 2003-08-06 23:14 ` Jesper Harder
  0 siblings, 0 replies; only message in thread
From: Jesper Harder @ 2003-08-06 23:14 UTC (permalink / raw)


Buchleitner Martin <this@chaosfactory.org> writes:


> I have to use 2 different smtp servers for 2 domains because the smtp
> servers does not allow relaying. How may i configure my gnus to handle
> this?
> At the moment I am using different posting-styles ... but how to
> configure different smtp servers??

Maybe something like this in you posting styles works [untested!]:

(condition-for-domain1
  (from "me@domain1.com)
  (bogus (progn (setq smtpmail-smtp-server "domain1.com") nil)))
(condition-for-domain2
  (from "me@domain2.com")
  (bogus (progn (setq smtpmail-smtp-server "domain1.com") nil)))


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-06 23:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3f2ebe08@e-post.inode.at>
2003-08-06 23:14 ` HowTo use different smtp-servers Jesper Harder

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