Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: gnus requires to set 'smtpmail-smtp-server'
       [not found] <871xrjxpmt.fsf@speakeasy.net>
@ 2003-12-05 16:26 ` Louis
  0 siblings, 0 replies; only message in thread
From: Louis @ 2003-12-05 16:26 UTC (permalink / raw)


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


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

only message in thread, other threads:[~2003-12-05 16:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <871xrjxpmt.fsf@speakeasy.net>
2003-12-05 16:26 ` gnus requires to set 'smtpmail-smtp-server' Louis

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