Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


gmail_as_a_relay_on_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
gmail_as_a_relay_on_linux [2015/11/04 18:16] – created juckinsgmail_as_a_relay_on_linux [2015/11/04 18:37] juckins
Line 1: Line 1:
 Directions [[http://mhawthorne.net/posts/postfix-configuring-gmail-as-relay.html|based on this page by Matthew Hawthorne]] worked: \\ Directions [[http://mhawthorne.net/posts/postfix-configuring-gmail-as-relay.html|based on this page by Matthew Hawthorne]] worked: \\
  
-1. Make a backup copy of /etc/postfix/main.cf+1A. Make sure /etc/ssmtp/ssmtp.conf is the distro version (no changes) 
 + 
 +1B. Make a backup copy of /etc/postfix/main.cf
  
 2. Edit /etc/postfix/main.cf to have these settings: 2. Edit /etc/postfix/main.cf to have these settings:
Line 65: Line 67:
 </code> </code>
  
-8. Check mutt configuration for proper "Fromsettings.  +8. Edit ~/.muttrc for each user as appropriate: \\ 
 + 
 +<code> 
 +#set from = $USER@$HOSTNAME 
 +#set from = username@HOSTNAME_OR_ALIAS.domain 
 +#set realname="juckins@lightning" 
 +set realname=$USER@$HOSTNAME 
 +</code>
  
 Other links:\\ Other links:\\
gmail_as_a_relay_on_linux.txt · Last modified: 2024/01/01 12:40 by juckins