<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Atlmcw</id>
	<title>LinuxMCE - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Atlmcw"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php/Special:Contributions/Atlmcw"/>
	<updated>2026-07-21T17:31:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Postfix_configured_with_Gmail_SMTP&amp;diff=24320</id>
		<title>Postfix configured with Gmail SMTP</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Postfix_configured_with_Gmail_SMTP&amp;diff=24320"/>
		<updated>2010-07-08T15:46:09Z</updated>

		<summary type="html">&lt;p&gt;Atlmcw: /* Manual Install and Configure Postfix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Configure Postfix to send mail using Gmail SMTP servers ==&lt;br /&gt;
&lt;br /&gt;
For those who want to send email from LinuxMCE, you can configure postfix to forward mail through your gmail account.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Confirmed working with 810 ===&lt;br /&gt;
&lt;br /&gt;
== Automatic Install and Configure Postfix ==&lt;br /&gt;
&lt;br /&gt;
I have created scripts that can be ingegrated ino linuxmce, or run in interactive mode.&lt;br /&gt;
&lt;br /&gt;
Go to the console of your core as root.&lt;br /&gt;
&lt;br /&gt;
Get the scripts:&lt;br /&gt;
  wget http://donpaul.info/configure_postfix.tar&lt;br /&gt;
&lt;br /&gt;
Untar the scripts:&lt;br /&gt;
  cd /usr/pluto/bin ; tar -xvf /root/configure_postfix.tar&lt;br /&gt;
&lt;br /&gt;
Run the interactive script:&lt;br /&gt;
  /usr/pluto/bin/Configure_Postfix_interactive.sh&lt;br /&gt;
 &lt;br /&gt;
== Manual Install and Configure Postfix ==&lt;br /&gt;
&lt;br /&gt;
If you prefer to do things yourself...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;* make sure you replace &amp;quot;Full Name&amp;quot; with your name, and &amp;quot;user@gmail.com&amp;quot; with your actual gmail address. *&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Install postfix&lt;br /&gt;
&lt;br /&gt;
  apt-get install postfix&lt;br /&gt;
&lt;br /&gt;
Create the CA:&lt;br /&gt;
&lt;br /&gt;
  /usr/lib/ssl/misc/CA.pl -newca&lt;br /&gt;
&lt;br /&gt;
  CA certificate filename (or enter to create)&lt;br /&gt;
  &lt;br /&gt;
  Making CA certificate ...&lt;br /&gt;
  Generating a 1024 bit RSA private key&lt;br /&gt;
  .............++++++&lt;br /&gt;
  ..++++++&lt;br /&gt;
  writing new private key to &#039;./demoCA/private/cakey.pem&#039;&lt;br /&gt;
  Enter PEM pass phrase:&lt;br /&gt;
  Verifying - Enter PEM pass phrase:&lt;br /&gt;
  -----&lt;br /&gt;
  You are about to be asked to enter information that will be incorporated&lt;br /&gt;
  into your certificate request.&lt;br /&gt;
  What you are about to enter is what is called a Distinguished Name or a DN.&lt;br /&gt;
  There are quite a few fields but you can leave some blank&lt;br /&gt;
  For some fields there will be a default value,&lt;br /&gt;
  If you enter &#039;.&#039;, the field will be left blank.&lt;br /&gt;
  -----&lt;br /&gt;
  Country Name (2 letter code) [AU]:US&lt;br /&gt;
  State or Province Name (full name) [Some-State]:North Carolina&lt;br /&gt;
  Locality Name (eg, city) []:&lt;br /&gt;
  Organization Name (eg, company) [Internet Widgits Pty Ltd]:LinuxMCE&lt;br /&gt;
  Organizational Unit Name (eg, section) []:&lt;br /&gt;
  Common Name (eg, YOUR name) []:Full Name&lt;br /&gt;
  Email Address []:email@gmail.com&lt;br /&gt;
  &lt;br /&gt;
  Please enter the following &#039;extra&#039; attributes&lt;br /&gt;
  to be sent with your certificate request&lt;br /&gt;
  A challenge password []:&lt;br /&gt;
  An optional company name []:&lt;br /&gt;
  Using configuration from /usr/lib/ssl/openssl.cnf&lt;br /&gt;
  Enter pass phrase for ./demoCA/private/cakey.pem:&lt;br /&gt;
  Check that the request matches the signature&lt;br /&gt;
  Signature ok&lt;br /&gt;
  Certificate Details:&lt;br /&gt;
          Serial Number:&lt;br /&gt;
              9d:29:da:d3:76:20:17:10&lt;br /&gt;
          Validity&lt;br /&gt;
              Not Before: Mar 31 01:01:29 2009 GMT&lt;br /&gt;
              Not After : Mar 30 01:01:29 2012 GMT&lt;br /&gt;
          Subject:&lt;br /&gt;
             countryName               = US&lt;br /&gt;
             stateOrProvinceName       = North Carolina&lt;br /&gt;
              organizationName          = LinuxMCE&lt;br /&gt;
              commonName                = Full Name&lt;br /&gt;
              emailAddress              = usrer@gmail.com&lt;br /&gt;
        X509v3 extensions:&lt;br /&gt;
            X509v3 Subject Key Identifier:&lt;br /&gt;
                A0:79:00:CA:90:00:E4:81:12:00:2A:73:00:00:CA:BD:54:08:03:7B&lt;br /&gt;
            X509v3 Authority Key Identifier:&lt;br /&gt;
                keyid:A0:79:00:CA:90:00:E4:81:12:00:2A:73:00:00:CA:BD:54:08:03:7B&lt;br /&gt;
                DirName:/C=US/ST=North Carolina/O=LinuxMCE/CN=Full name/emailAddress=user@gmail.com&lt;br /&gt;
                serial:90:20:0A:03:06:00:17:10&lt;br /&gt;
  &lt;br /&gt;
            X509v3 Basic Constraints:&lt;br /&gt;
                CA:TRUE&lt;br /&gt;
  Certificate is to be certified until Mar 30 01:01:29 2012 GMT (1095 days)&lt;br /&gt;
  &lt;br /&gt;
  Write out database with 1 new entries&lt;br /&gt;
  Data Base Updated&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Extend the key for 10 years&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -in demoCA/cacert.pem -days 3650 -out cacert.pem -signkey demoCA/private/cakey.pem&lt;br /&gt;
&lt;br /&gt;
Copy the extended key&lt;br /&gt;
&lt;br /&gt;
  cp cacert.pem demoCA&lt;br /&gt;
&lt;br /&gt;
Generate private key&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -nodes -subj &#039;/CN=dcerouter/C=US/ST=North Carolina/O=LinuxMCE/CN=Full Name/emailAddress=user@gmail.com&#039; -keyout key.pem -out req.pem -days 3650&lt;br /&gt;
&lt;br /&gt;
Sign private key&lt;br /&gt;
&lt;br /&gt;
  openssl ca -out cert.pem -infiles req.pem&lt;br /&gt;
&lt;br /&gt;
Copy to the postfix directory&lt;br /&gt;
&lt;br /&gt;
  cp demoCA/cacert.pem /etc/postfix&lt;br /&gt;
  cp key.pem /etc/postfix&lt;br /&gt;
  cp cert.pem /etc/postfix&lt;br /&gt;
  chmod 644 /etc/postfix/cert.pem &lt;br /&gt;
  chmod 644 /etc/postfix/cacert.pem&lt;br /&gt;
  chmod 400 /etc/postfix/key.pem&lt;br /&gt;
&lt;br /&gt;
Install the CA Certificates&lt;br /&gt;
&lt;br /&gt;
  apt-get install ca-certificates&lt;br /&gt;
&lt;br /&gt;
Add Equifax certificate&lt;br /&gt;
 &lt;br /&gt;
  cat /etc/ssl/certs/Equifax_Secure_CA.pem &amp;gt;&amp;gt; cacert.pem&lt;br /&gt;
&lt;br /&gt;
Create transport file:&lt;br /&gt;
&lt;br /&gt;
  # Contents of /etc/postfix/transport&lt;br /&gt;
  #&lt;br /&gt;
  # This sends mail to Gmail&lt;br /&gt;
  *               smtp:[smtp.gmail.com]:587&lt;br /&gt;
  #local mail delivered local&lt;br /&gt;
  dcerouter       relay:[dcerouter]&lt;br /&gt;
&lt;br /&gt;
Create generic file&lt;br /&gt;
  touch /etc/postfix/generic&lt;br /&gt;
&lt;br /&gt;
Create sasl_passwd file:&lt;br /&gt;
&lt;br /&gt;
  # Contents of /etc/postfix/sasl_passwd&lt;br /&gt;
  #&lt;br /&gt;
  [smtp.gmail.com]:587             user@gmail.com:password&lt;br /&gt;
&lt;br /&gt;
Be sure to hash the files:&lt;br /&gt;
&lt;br /&gt;
  postmap sasl_passwd&lt;br /&gt;
  postmap transport&lt;br /&gt;
  postmap generic&lt;br /&gt;
&lt;br /&gt;
Add these lines to the bottom of /etc/postfix/main.cf&lt;br /&gt;
&lt;br /&gt;
    ## TLS Settings&lt;br /&gt;
    smtp_tls_loglevel = 1&lt;br /&gt;
    smtp_enforce_tls = yes&lt;br /&gt;
    smtp_tls_CAfile = /etc/postfix/cacert.pem&lt;br /&gt;
    smtp_tls_cert_file = /etc/postfix/cert.pem&lt;br /&gt;
    smtp_tls_key_file = /etc/postfix/key.pem&lt;br /&gt;
    smtp_tls_session_cache_database = btree:/var/run/smtp_tls_session_cache&lt;br /&gt;
    smtp_use_tls = yes&lt;br /&gt;
    smtpd_tls_CAfile = /etc/postfix/cacert.pem&lt;br /&gt;
    smtpd_tls_cert_file = /etc/postfix/cert.pem&lt;br /&gt;
    smtpd_tls_key_file = /etc/postfix/key.pem&lt;br /&gt;
    smtpd_tls_received_header = yes&lt;br /&gt;
    smtpd_tls_session_cache_database = btree:/var/run/smtpd_tls_session_cache&lt;br /&gt;
    smtpd_use_tls = yes&lt;br /&gt;
    tls_random_source = dev:/dev/urandom&lt;br /&gt;
     &lt;br /&gt;
    ##  SASL Settings&lt;br /&gt;
    # This is going in to THIS server&lt;br /&gt;
    smtpd_sasl_auth_enable = no&lt;br /&gt;
    # We need this&lt;br /&gt;
    smtp_sasl_auth_enable = yes&lt;br /&gt;
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd&lt;br /&gt;
    smtpd_sasl_local_domain = $myhostname&lt;br /&gt;
    smtp_sasl_security_options = noanonymous&lt;br /&gt;
    #smtp_sasl_security_options =&lt;br /&gt;
    smtp_sasl_tls_security_options = noanonymous&lt;br /&gt;
    smtpd_sasl_application_name = smtpd&lt;br /&gt;
     &lt;br /&gt;
    ## Gmail Relay&lt;br /&gt;
    relayhost = [smtp.gmail.com]:587&lt;br /&gt;
    &lt;br /&gt;
    # Disable DNS Lookups&lt;br /&gt;
    disable_dns_lookups = yes&lt;br /&gt;
    #&lt;br /&gt;
    # Great New feature Address Mapping &lt;br /&gt;
    #  for example may mchirico@localhost to mchirico@gmail.com&lt;br /&gt;
    smtp_generic_maps = hash:/etc/postfix/generic&lt;br /&gt;
    #&lt;br /&gt;
    # &lt;br /&gt;
    transport_maps = hash:/etc/postfix/transport&lt;br /&gt;
&lt;br /&gt;
restart postfix&lt;br /&gt;
&lt;br /&gt;
  /etc/init.d/postfix restart&lt;br /&gt;
&lt;br /&gt;
install mailx&lt;br /&gt;
&lt;br /&gt;
  apt-get install mailx&lt;br /&gt;
&lt;br /&gt;
test forward&lt;br /&gt;
&lt;br /&gt;
  mailx -s &amp;quot;testing from linuxmce&amp;quot; youremail@domain.com &amp;lt; /etc/hosts&lt;br /&gt;
&lt;br /&gt;
View log&lt;br /&gt;
&lt;br /&gt;
  tail /var/log/mail.log&lt;br /&gt;
&lt;br /&gt;
You should see your message &amp;quot;Sent&amp;quot;&lt;/div&gt;</summary>
		<author><name>Atlmcw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Postfix_configured_with_Gmail_SMTP&amp;diff=24319</id>
		<title>Postfix configured with Gmail SMTP</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Postfix_configured_with_Gmail_SMTP&amp;diff=24319"/>
		<updated>2010-07-08T15:41:37Z</updated>

		<summary type="html">&lt;p&gt;Atlmcw: /* Manual Install and Configure Postfix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Configure Postfix to send mail using Gmail SMTP servers ==&lt;br /&gt;
&lt;br /&gt;
For those who want to send email from LinuxMCE, you can configure postfix to forward mail through your gmail account.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Confirmed working with 810 ===&lt;br /&gt;
&lt;br /&gt;
== Automatic Install and Configure Postfix ==&lt;br /&gt;
&lt;br /&gt;
I have created scripts that can be ingegrated ino linuxmce, or run in interactive mode.&lt;br /&gt;
&lt;br /&gt;
Go to the console of your core as root.&lt;br /&gt;
&lt;br /&gt;
Get the scripts:&lt;br /&gt;
  wget http://donpaul.info/configure_postfix.tar&lt;br /&gt;
&lt;br /&gt;
Untar the scripts:&lt;br /&gt;
  cd /usr/pluto/bin ; tar -xvf /root/configure_postfix.tar&lt;br /&gt;
&lt;br /&gt;
Run the interactive script:&lt;br /&gt;
  /usr/pluto/bin/Configure_Postfix_interactive.sh&lt;br /&gt;
 &lt;br /&gt;
== Manual Install and Configure Postfix ==&lt;br /&gt;
&lt;br /&gt;
If you prefer to do things yourself...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;* make sure you replace &amp;quot;Full Name&amp;quot; with your name, and &amp;quot;user@gmail.com&amp;quot; with your actual gmail address. *&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Install postfix&lt;br /&gt;
&lt;br /&gt;
  apt-get install postfix&lt;br /&gt;
&lt;br /&gt;
Create the CA:&lt;br /&gt;
&lt;br /&gt;
  /usr/lib/ssl/misc/CA.pl -newca&lt;br /&gt;
&lt;br /&gt;
  CA certificate filename (or enter to create)&lt;br /&gt;
  &lt;br /&gt;
  Making CA certificate ...&lt;br /&gt;
  Generating a 1024 bit RSA private key&lt;br /&gt;
  .............++++++&lt;br /&gt;
  ..++++++&lt;br /&gt;
  writing new private key to &#039;./demoCA/private/cakey.pem&#039;&lt;br /&gt;
  Enter PEM pass phrase:&lt;br /&gt;
  Verifying - Enter PEM pass phrase:&lt;br /&gt;
  -----&lt;br /&gt;
  You are about to be asked to enter information that will be incorporated&lt;br /&gt;
  into your certificate request.&lt;br /&gt;
  What you are about to enter is what is called a Distinguished Name or a DN.&lt;br /&gt;
  There are quite a few fields but you can leave some blank&lt;br /&gt;
  For some fields there will be a default value,&lt;br /&gt;
  If you enter &#039;.&#039;, the field will be left blank.&lt;br /&gt;
  -----&lt;br /&gt;
  Country Name (2 letter code) [AU]:US&lt;br /&gt;
  State or Province Name (full name) [Some-State]:North Carolina&lt;br /&gt;
  Locality Name (eg, city) []:&lt;br /&gt;
  Organization Name (eg, company) [Internet Widgits Pty Ltd]:LinuxMCE&lt;br /&gt;
  Organizational Unit Name (eg, section) []:&lt;br /&gt;
  Common Name (eg, YOUR name) []:Full Name&lt;br /&gt;
  Email Address []:email@gmail.com&lt;br /&gt;
  &lt;br /&gt;
  Please enter the following &#039;extra&#039; attributes&lt;br /&gt;
  to be sent with your certificate request&lt;br /&gt;
  A challenge password []:&lt;br /&gt;
  An optional company name []:&lt;br /&gt;
  Using configuration from /usr/lib/ssl/openssl.cnf&lt;br /&gt;
  Enter pass phrase for ./demoCA/private/cakey.pem:&lt;br /&gt;
  Check that the request matches the signature&lt;br /&gt;
  Signature ok&lt;br /&gt;
  Certificate Details:&lt;br /&gt;
          Serial Number:&lt;br /&gt;
              9d:29:da:d3:76:20:17:10&lt;br /&gt;
          Validity&lt;br /&gt;
              Not Before: Mar 31 01:01:29 2009 GMT&lt;br /&gt;
              Not After : Mar 30 01:01:29 2012 GMT&lt;br /&gt;
          Subject:&lt;br /&gt;
             countryName               = US&lt;br /&gt;
             stateOrProvinceName       = North Carolina&lt;br /&gt;
              organizationName          = LinuxMCE&lt;br /&gt;
              commonName                = Full Name&lt;br /&gt;
              emailAddress              = usrer@gmail.com&lt;br /&gt;
        X509v3 extensions:&lt;br /&gt;
            X509v3 Subject Key Identifier:&lt;br /&gt;
                A0:79:00:CA:90:00:E4:81:12:00:2A:73:00:00:CA:BD:54:08:03:7B&lt;br /&gt;
            X509v3 Authority Key Identifier:&lt;br /&gt;
                keyid:A0:79:00:CA:90:00:E4:81:12:00:2A:73:00:00:CA:BD:54:08:03:7B&lt;br /&gt;
                DirName:/C=US/ST=North Carolina/O=LinuxMCE/CN=Full name/emailAddress=user@gmail.com&lt;br /&gt;
                serial:90:20:0A:03:06:00:17:10&lt;br /&gt;
  &lt;br /&gt;
            X509v3 Basic Constraints:&lt;br /&gt;
                CA:TRUE&lt;br /&gt;
  Certificate is to be certified until Mar 30 01:01:29 2012 GMT (1095 days)&lt;br /&gt;
  &lt;br /&gt;
  Write out database with 1 new entries&lt;br /&gt;
  Data Base Updated&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Extend the key for 10 years&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -in demoCA/cacert.pem -days 3650 -out cacert.pem -signkey demoCA/private/cakey.pem&lt;br /&gt;
&lt;br /&gt;
Copy the extended key&lt;br /&gt;
&lt;br /&gt;
  cp cacert.pem demoCA&lt;br /&gt;
&lt;br /&gt;
Generate private key&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -nodes -subj &#039;/CN=dcerouter/C=US/ST=North Carolina/O=LinuxMCE/CN=Full Name/emailAddress=user@gmail.com&#039; -keyout key.pem -out req.pem -days 3650&lt;br /&gt;
&lt;br /&gt;
Sign private key&lt;br /&gt;
&lt;br /&gt;
  openssl ca -out cert.pem -infiles req.pem&lt;br /&gt;
&lt;br /&gt;
Copy to the postfix directory&lt;br /&gt;
&lt;br /&gt;
  cp demoCA/cacert.pem /etc/postfix&lt;br /&gt;
  cp key.pem /etc/postfix&lt;br /&gt;
  cp cert.pem /etc/postfix&lt;br /&gt;
  chmod 644 /etc/postfix/cert.pem &lt;br /&gt;
  chmod 644 /etc/postfix/cacert.pem&lt;br /&gt;
  chmod 400 /etc/postfix/key.pem&lt;br /&gt;
&lt;br /&gt;
Install the CA Certificates&lt;br /&gt;
&lt;br /&gt;
  apt-get install ca-certificates&lt;br /&gt;
&lt;br /&gt;
Add thawte certificate&lt;br /&gt;
 &lt;br /&gt;
  cat /etc/ssl/certs/Equifax_Secure_CA.pem &amp;gt;&amp;gt; cacert.pem&lt;br /&gt;
&lt;br /&gt;
Create transport file:&lt;br /&gt;
&lt;br /&gt;
  # Contents of /etc/postfix/transport&lt;br /&gt;
  #&lt;br /&gt;
  # This sends mail to Gmail&lt;br /&gt;
  *               smtp:[smtp.gmail.com]:587&lt;br /&gt;
  #local mail delivered local&lt;br /&gt;
  dcerouter       relay:[dcerouter]&lt;br /&gt;
&lt;br /&gt;
Create generic file&lt;br /&gt;
  touch /etc/postfix/generic&lt;br /&gt;
&lt;br /&gt;
Create sasl_passwd file:&lt;br /&gt;
&lt;br /&gt;
  # Contents of /etc/postfix/sasl_passwd&lt;br /&gt;
  #&lt;br /&gt;
  [smtp.gmail.com]:587             user@gmail.com:password&lt;br /&gt;
&lt;br /&gt;
Be sure to hash the files:&lt;br /&gt;
&lt;br /&gt;
  postmap sasl_passwd&lt;br /&gt;
  postmap transport&lt;br /&gt;
  postmap generic&lt;br /&gt;
&lt;br /&gt;
Add these lines to the bottom of /etc/postfix/main.cf&lt;br /&gt;
&lt;br /&gt;
    ## TLS Settings&lt;br /&gt;
    smtp_tls_loglevel = 1&lt;br /&gt;
    smtp_enforce_tls = yes&lt;br /&gt;
    smtp_tls_CAfile = /etc/postfix/cacert.pem&lt;br /&gt;
    smtp_tls_cert_file = /etc/postfix/cert.pem&lt;br /&gt;
    smtp_tls_key_file = /etc/postfix/key.pem&lt;br /&gt;
    smtp_tls_session_cache_database = btree:/var/run/smtp_tls_session_cache&lt;br /&gt;
    smtp_use_tls = yes&lt;br /&gt;
    smtpd_tls_CAfile = /etc/postfix/cacert.pem&lt;br /&gt;
    smtpd_tls_cert_file = /etc/postfix/cert.pem&lt;br /&gt;
    smtpd_tls_key_file = /etc/postfix/key.pem&lt;br /&gt;
    smtpd_tls_received_header = yes&lt;br /&gt;
    smtpd_tls_session_cache_database = btree:/var/run/smtpd_tls_session_cache&lt;br /&gt;
    smtpd_use_tls = yes&lt;br /&gt;
    tls_random_source = dev:/dev/urandom&lt;br /&gt;
     &lt;br /&gt;
    ##  SASL Settings&lt;br /&gt;
    # This is going in to THIS server&lt;br /&gt;
    smtpd_sasl_auth_enable = no&lt;br /&gt;
    # We need this&lt;br /&gt;
    smtp_sasl_auth_enable = yes&lt;br /&gt;
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd&lt;br /&gt;
    smtpd_sasl_local_domain = $myhostname&lt;br /&gt;
    smtp_sasl_security_options = noanonymous&lt;br /&gt;
    #smtp_sasl_security_options =&lt;br /&gt;
    smtp_sasl_tls_security_options = noanonymous&lt;br /&gt;
    smtpd_sasl_application_name = smtpd&lt;br /&gt;
     &lt;br /&gt;
    ## Gmail Relay&lt;br /&gt;
    relayhost = [smtp.gmail.com]:587&lt;br /&gt;
    &lt;br /&gt;
    # Disable DNS Lookups&lt;br /&gt;
    disable_dns_lookups = yes&lt;br /&gt;
    #&lt;br /&gt;
    # Great New feature Address Mapping &lt;br /&gt;
    #  for example may mchirico@localhost to mchirico@gmail.com&lt;br /&gt;
    smtp_generic_maps = hash:/etc/postfix/generic&lt;br /&gt;
    #&lt;br /&gt;
    # &lt;br /&gt;
    transport_maps = hash:/etc/postfix/transport&lt;br /&gt;
&lt;br /&gt;
restart postfix&lt;br /&gt;
&lt;br /&gt;
  /etc/init.d/postfix restart&lt;br /&gt;
&lt;br /&gt;
install mailx&lt;br /&gt;
&lt;br /&gt;
  apt-get install mailx&lt;br /&gt;
&lt;br /&gt;
test forward&lt;br /&gt;
&lt;br /&gt;
  mailx -s &amp;quot;testing from linuxmce&amp;quot; youremail@domain.com &amp;lt; /etc/hosts&lt;br /&gt;
&lt;br /&gt;
View log&lt;br /&gt;
&lt;br /&gt;
  tail /var/log/mail.log&lt;br /&gt;
&lt;br /&gt;
You should see your message &amp;quot;Sent&amp;quot;&lt;/div&gt;</summary>
		<author><name>Atlmcw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Talk:Postfix_configured_with_Gmail_SMTP&amp;diff=24318</id>
		<title>Talk:Postfix configured with Gmail SMTP</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Talk:Postfix_configured_with_Gmail_SMTP&amp;diff=24318"/>
		<updated>2010-07-08T15:40:34Z</updated>

		<summary type="html">&lt;p&gt;Atlmcw: Change required to instructions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Google changed their certificates. The following change needs to be made in the script and manual instructions.&lt;br /&gt;
&lt;br /&gt;
Remove:&lt;br /&gt;
cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem &amp;gt;&amp;gt; cacert.pem&lt;br /&gt;
&lt;br /&gt;
Add:&lt;br /&gt;
cat /etc/ssl/certs/Equifax_Secure_CA.pem &amp;gt;&amp;gt; cacert.pem&lt;/div&gt;</summary>
		<author><name>Atlmcw</name></author>
	</entry>
</feed>