welcome: please sign in

The following 218 words could not be found in the dictionary of 7 words (including 7 LocalSpellingWords) and are highlighted below:
above   account   add   address   An   and   any   anything   are   as   auth   authenticated   authentication   authinfo   avoid   be   before   Browsing   but   by   can   case   Category   choose   client   clients   computer   conf   config   configtype   configuration   connection   contains   Contents   Coop   covered   credentials   daemon   dc   debug   described   difficult   doing   domain   domains   dpkg   driver   editing   else   Emacs   Email   email   endif   ensure   entry   etc   example   examples   Exim   exim4   eximconfig   exists   explains   false   file   Finally   First   following   follows   for   Force   form   format   function   Gnus   goes   handy   hcoop   headers   here   hide   host   hostname   hostnames   hosts   how   if   If   ifdef   important   in   In   info   information   interfaces   into   is   it   known   less   line   lines   local   localdelivery   login   lookup   machine   mail   mailname   make   Manual   mapping   Member   message   minimaldns   missed   mode   modify   most   name   Needs   net   netrc   nets   nil   not   nwildlsearch   Of   of   oh   on   only   optional   or   other   our   packages   page   part   particular   passwd   password   path   plain   Please   port   print   Put   read   readable   readhost   reconfigure   relay   remote   Replace   require   return   rewrite   run   satellite   section   send   Sending   sending   server   servers   service   set   setq   should   smarthost   smtp   smtpmail   some   something   split   spool   starttls   supply   supported   sure   Table   tempfail   that   The   the   then   Then   This   through   tld   tls   to   To   transport   true   tryclear   up   update   use   user   username   uses   using   various   vmail   what   which   will   with   won   Work   work   working   wrong   you   your   yourname  

Clear message

MemberManual / Email / SMTPClients

This page contains some examples of how to set up various email clients and mail servers to send mail through the HCoop SMTP server.


This particular section explains only how to send email using HCoop's mail server with Emacs. Browsing email with most Emacs mail packages is not covered here, and should be less difficult. Please read the Sending email section of the MemberManual/Email page before doing what is described here.

To send mail through HCoop using Emacs's smtpmail you can use the following configuration.

(require 'smtpmail)
(setq message-send-mail-function 'smtpmail-send-it
      smtpmail-smtp-server "mail.hcoop.net"
      smtpmail-smtp-service 25
      smtpmail-starttls-credentials '(("mail.hcoop.net" 25 nil nil))
      smtpmail-debug-info t ; optional, but handy in case something goes wrong
      smtpmail-auth-supported '(plain))

Put your authentication information into ~/.authinfo which is in the netrc(5) format (make sure to supply port 25 or else smtpmail won't read the entry), and ensure that it is readable only by your user. An example of a netrc line follows. Replace $YOURNAME with your HCoop login name, $YOURPASSWORD with your password.

machine mail.hcoop.net login $YOURNAME password $YOURPASSWORD port 25

If you are using a vmail account, then use the form "yourname@domain.tld" for $YOURNAME in the above.

This will work for any mail client that uses message-mode for editing and sending mail (e.g. Gnus).

Exim smarthost

This section explains how to set up a local Exim daemon on your computer to use our mail server as a smarthost.

First, run dpkg-reconfigure exim4 and choose to use mail.hcoop.net. In case you missed anything, here is a known working /etc/exim4/update-exim4.conf.conf file. $HOSTNAME is the hostname of your local machine.


Then, modify the /etc/exim4/passwd.client file to add a mapping for your HCoop username and password.


Finally, modify /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost as follows. The hosts_require_auth and tls_tempfail_tryclear lines are the most important.

  debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
  driver = smtp
  # NOTE: Force the connection to be authenticated.
  hosts_require_auth = <; ${if exists{CONFDIR/passwd.client} \
        {} \
  # NOTE: Force the connection to use TLS.
  tls_tempfail_tryclear = false

CategoryMemberManual CategoryNeedsWork

MemberManual/Email/SMTPClients (last edited 2013-01-14 09:16:31 by ClintonEbadi)