[Novalug] Clearly opaque emacs configuration

Alvin Smith mezzenger@gmail.com
Fri May 2 22:52:46 EDT 2008


How do I use mail with Emacs?

You do not need to do much to use mail with Emacs under Windows, but
you do need to be able to communicate with local mail daemons and mail
servers (they do most of the work) to both receive and send mail from
your system. These daemons and servers are typically running on the
machines in your local network that are already handling mail for you
and/or other users on other systems.
Outgoing

For outgoing mail, you need to use smtpmail.el, which enables Emacs to
talk SMTP with mail daemons (smtpmail.el was originally written by
Tomoji Kagatani <kagatani@rbc.ncl.omron.co.jp> and is now included in
the Emacs distribution). You also need to add the following to your
startup file (be sure to customize for you and your system):

    (setq user-full-name "Your full name")
    (setq user-mail-address "Your email address")

    (setq smtpmail-default-smtp-server "Domain name of machine with
SMTP server")
    (setq smtpmail-local-domain nil)
    (setq send-mail-function 'smtpmail-send-it)

    (load-library "smtpmail")


---------------------------------------------------------------------------------------
;; Here is what we have
(setq user-mail-address "myuser@shentel.net")
(setq mail-default-reply-to "myuser@shentel.net")
(setq send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "smtp.shentel.net")
;;(setq smtpmail-smtp-service "smtp")
(setq smtpmail-local-domain "your-local-domain")
(load-library "smtpmail")
-------------------------------------------------------------------------------------
Would the lack of   (setq smtpmail-local-domain nil)  cause my issue?


On Fri, May 2, 2008 at 8:36 PM, Don E. Groves, Jr. <dgrovesjr@gmail.com> wrote:
> What "Mail Transport Agent" (mail-transport-agent) are you using and
>  how is it configured?
>
>   Debian "Etch(stable)" provides 13+ such class packages
>   <http://packages.debian.org/etch/mail-transport-agent>
>  and the one that you are using effects how you go about configuring it.
>
>  IOW  vm doesn't send the mail directly itself, but instead passes that
>  job onto another agent.
>
>  --
>   Donjr
>
>
>
>  On Fri, May 2, 2008 at 8:06 PM, Alvin Smith <mezzenger@gmail.com> wrote:
>  > Several years ago I set up a computer to run a CD based Linux distro
>  > called Oralux for a blind gentleman.  The primary application was
>  > Emacspeak, Emacs that run a screen reader.  The user ran w3m for web
>  > browsing and vm for email.  All was well until the hard drive that he
>  > stored his configuration files and "persistent home directory" began
>  > to fail.
>  >
>  > Oralux (Knoppix based) is now a dead project.  So, my solution was to
>  > replace the failing hard drive, load a straight Debian system
>  > including Emacspeak, transferring the .emacs and other relevant dot
>  > files over to the new system.  All seemed to be fine until we found
>  > that vm would not send email using the expected smtpmail.
>  >
>  > So the system seems to be using the local email system instead of the
>  > configured pop3 and smtp servers.  I am stumped.  The user stated that
>  > the old .emacs configuration file "worked".  BTW he has a dialup ISP.
>  > w3m surfs like a champ.  But vm (which he configured himself the first
>  > time with the help of a third party) refuses to send mail.
>  >
>  > Oh, it does retrieve mail from the POP3 server, but it will not send
>  > mail.  So, vm reads the dot file as it pertains to incoming but not
>  > outgoing mail.  Does anyone have suggestions?
>  >
>  > Thanks,
>  > -- Alvin
>
>  --
>  --
>  Don E. Groves, Jr.
>
>  Tag it's your turn now... ... ....
>



More information about the Novalug mailing list