Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Louis <usenet26@ossh.com>
Subject: Re: gnus requires to set 'smtpmail-smtp-server'
Date: Fri, 05 Dec 2003 16:26:04 GMT	[thread overview]
Message-ID: <hhzne7w7gl.fsf@ossh.com> (raw)
In-Reply-To: <871xrjxpmt.fsf@speakeasy.net>

Anupam Kapoor <anupamkNO@speakeasySPAM.netPLEASE> writes:

> hi all,
>
> i am running 'Gnus v5.10.2' on a cvs emacs (GNU Emacs 21.3.50.2)and
> have the following lines in my .gnus:
>
> (setq sendmail-program "/usr/sbin/ssmtp") 
> (setq send-mail-function 'smtpmail-send-it)
> (setq message-send-mail-function 'smtpmail-send-it)
> (setq user-mail-address real-mail-address)
>

<snip>

> however, if i have this 
> (setq smtpmail-smtp-server "mail.speakeasy.net") 
>
> in my .gnus everything works fine.
>
> since i want to use 'ssmtp' to send mail, i am not sure why the
> 'smtpmail-smtp-server' variable is required. 
>
> any ideas ?

Can you send mail without Gnus by either using 'C-x m' or another MUA
(mutt, mozilla)? If you cant send mail with another MUA with ssmtp
then you have not properly configured your ssmtp.conf file. 

There should be a '/usr/sbin/sendmail' alias to /usr/sbin/ssmtp (or
wherever it's located) which should more than likely fix your problem
without the need of using the '(setq ... )' lines you posted above
within your ~/.gnus.

-- 
LCC


           reply	other threads:[~2003-12-05 16:26 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <871xrjxpmt.fsf@speakeasy.net>]

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=hhzne7w7gl.fsf@ossh.com \
    --to=usenet26@ossh.com \
    /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).