From: David Engster <deng@randomsample.de>
To: ding@gnus.org
Subject: Re: Multiple SMTP servers with Gnus?
Date: Mon, 14 Feb 2011 10:42:19 +0100 [thread overview]
Message-ID: <m2mxlzar5w.fsf@randomsample.de> (raw)
In-Reply-To: <878vxjic8e.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 13 Feb 2011 18:25:21 -0800")
Lars Ingebrigtsen writes:
> Bruno Tavernier <tavernier.bruno@gmail.com> writes:
>
>> I wrote this simple piece of elisp code to automatically choose the smtp
>> parameters depending on the content (regexp) in the From header.
>
> [...]
>
>> ((string-match "gmail" (message-field-value "From"))
>> ; SMTP address and port
>> (setq smtpmail-smtp-server "smtp.gmail.com")
>
> This seems nice... but why would one use different outgoing SMTP
> servers?
Thanks to SPF [1], not using the correct SMTP server for your address
can easily result in your mails getting rejected or scored up by
spamassassin.
To be on topic: my solution is here
http://www.randomsample.de/dru5/node/63
-David
[1] http://en.wikipedia.org/wiki/Sender_Policy_Framework
next prev parent reply other threads:[~2011-02-14 9:42 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 17:39 Robert Pluim
2011-02-09 17:46 ` Richard Riley
2011-02-09 18:06 ` Wes Hardaker
2011-02-09 18:48 ` Richard Riley
2011-02-09 22:23 ` Wes Hardaker
2011-02-09 23:27 ` Richard Riley
2011-02-09 20:17 ` Bruno Tavernier
2011-02-11 21:28 ` Robert Pluim
2011-02-14 2:25 ` Lars Ingebrigtsen
2011-02-14 7:45 ` David Edmondson
2011-02-14 8:34 ` Robert Pluim
2011-02-14 9:42 ` David Engster [this message]
2011-02-14 11:26 ` Richard Riley
2011-02-14 20:09 ` Lars Ingebrigtsen
2011-02-14 20:13 ` Lars Ingebrigtsen
2011-02-14 21:08 ` Ted Zlatanov
2011-02-14 21:23 ` Lars Ingebrigtsen
2011-02-16 16:12 ` Johnny
2011-02-16 16:28 ` Ted Zlatanov
2011-02-16 16:45 ` Johnny
2011-02-16 19:06 ` Ted Zlatanov
2011-02-16 20:41 ` Johnny
2011-02-16 23:17 ` Leo
2011-02-17 17:04 ` Ted Zlatanov
2011-02-17 20:33 ` Broken split-fancy upon updating gnus (Re: Multiple SMTP servers with Gnus?) Johnny
2011-02-17 22:38 ` Lars Ingebrigtsen
2011-02-18 20:27 ` Ted Zlatanov
2011-02-18 23:09 ` Lars Ingebrigtsen
2011-02-21 20:25 ` Ted Zlatanov
2011-02-19 10:54 ` Johnny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2mxlzar5w.fsf@randomsample.de \
--to=deng@randomsample.de \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).