Skip to content

XceptN’s Tech Stuff

All About Tech

mutt / exim4 / GMail

Posted on September 15, 2008 By XceptN No Comments on mutt / exim4 / GMail

Decided to try to access my GMail using mutt ..
A good .muttrc configuration does the mail fetch trick.. I’ll add the details later.

On
Debian we have exim4 can be used synonymously as sendmail .. The
sendmail part is a little bit tricky. Some tls and auth settings in
exim4 configuration and still I am working on it as the route for
e-mail is localhost.localdomain, the GMail SMTP does not accept the
mail..

I’ll put the complete configuration, when I am done.

Finally I managed to do the config mostly manually.

~/.muttrc:
————
# mail check options
set pop_host=”pops://yourgmailname@pop.gmail.com:995″
set pop_last
unset pop_delete
# mail send options
set from='”Your Name” yourself@gmail.com’
set sendmail=’/usr/sbin/sendmail -oem -oi -fyourself@gmail.com’
set sort=threads
# check for new mail on startup
exec fetch-mail

/etc/exim4/exim4.conf.template:
——————————-
Update related part as below:

remote_smtp_smarthost:
debug_print = “T: remote_smtp_smarthost for $local_part@$domain”
driver = smtp
# GMail – begin
hosts_require_auth = smtp.gmail.com
hosts_require_tls = smtp.gmail.com
port = 587
# GMail – end
hosts_try_auth = ${if exists {CONFDIR/passwd.client}{DCsmarthost}{}}
tls_tempfail_tryclear = false
DEBCONFheaders_rewriteDEBCONF
DEBCONFreturn_pathDEBCONF

/etc/exim4/passwd.client:
————————-
Add:

smtp.gmail.com:yourname@gmail.com:
gmail-smtp.l.google.com:yourname@gmail.com:

desktop

Post navigation

Previous Post: Installing Debian 3.1 / DVD / Floppy / SATA and Others
Next Post: Unconditional Shutdown on PC HW

Related Posts

Customer IT Support Business Is All About Communication communication
Adding Java plugin to Firefox desktop
How to Recursively “grep” a Subdirectory for a List of Files desktop
Detected Deskjet 610C Does Not Print desktop
Convert .nrg image to .iso desktop
Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux desktop

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Dipping Toes into Nix Package Manager | Installing Freeplane
  • Fujitsu Workplace Protect Face Recognition Best Practices on Q704
  • Fujitsu STYLISTIC Q704 Fingerprint Scanner Problems
  • Two Generations of Computing Equipment…
  • IBM Model M Keyboard Goes Blank

Recent Comments

  1. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  2. XceptN on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  3. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  4. Kaylee on Mounting an LVM Logical Volume in an Oracle VM Disk Image
  5. Theron Conrey on Open Source Virtualization for Smaller Carbon Footprint

Archives

  • June 2024
  • November 2014
  • October 2014
  • April 2014
  • March 2014
  • December 2012
  • November 2012
  • October 2010
  • April 2010
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008

Categories

  • blogging
  • communication
  • desktop
  • development
  • firmware
  • Fujitsu
  • gprs
  • gps
  • hardware
  • internet
  • java
  • kernel
  • keyboard
  • linux
  • masteryourbiz
  • mms
  • mobile
  • multimedia
  • network
  • OracleVM
  • palm
  • python
  • rokr e6
  • social media networking
  • storage
  • sysadm
  • tablet
  • twitter
  • virtualization
  • wap
  • windows
  • wordpress
  • xen

Copyright © 2025 XceptN’s Tech Stuff.

Powered by PressBook Masonry Dark