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

Convert .nrg image to .iso desktop
HOWTO: Extract WINMAIL.DAT on Linux desktop
ALSA and Intel HDA desktop
Multi-Desktop KDE and Applications to be Displayed on All of the Desktops ALWAYS desktop
Where is the application menu files on EL desktop
Darn! Scanned Document into PDF but Need to Rotate desktop

Leave a Reply Cancel reply

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

Recent Posts

  • Monitoring Govee H5074 Hygrometers with a Raspberry Pi, Prometheus and Grafana
  • Typing a Timestamp With One Shortcut on Ubuntu 24.04 Wayland
  • Analyzing Memory Usage on Linux 6.19
  • Enabling “real-time-protection” with ClamAV on Ubuntu 24.04 Desktop for Palo Alto Networks Global Protect (PanGP) VPN
  • Dipping Toes into Nix Package Manager | Installing Freeplane

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

  • October 2026
  • August 2026
  • April 2026
  • September 2025
  • 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 © 2026 XceptN’s Tech Stuff.

Powered by PressBook Masonry Dark