Six Myths about Ontologies: The Basics of Formal Ontology
Configure exim4 with gmail
1. configure /etc/exim4/update-exim4.conf.conf: (NOTE: ".conf.conf" is correct..!!)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
"dc_other_hostnames" - email address you wish to use for exim4
add to "dc_local_interfaces" your SMTP email server address
to find out ip address, type:
- "ping smtp.googlemail.com" [OUT]
- "ping pop.googlemail.com" [IN]
"dc_smarthost" port number is 995 for SSL/TLS, by default exim will connect to
port 110 (STARTTLS)
dc_eximconfig_configtype='smarthost'
dc_other_hostnames='verwijs.pc@gmail.com'
dc_local_interfaces='127.0.0.1 ; ::1 ; 173.194.65.16'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='pop.googlemail.com:995'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
Configuration in you email client:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Incomming:
Server: pop.googlemail.com
Port: 995
connection type: SSL/TLS
Authentication Method: Normal password (PLAIN)
Outgoing:
Server: smtp.googlemail.com
Port: 465
connection type: SSL/TLS
Authentication Method: Normal password (PLAIN)
configure /etc/exim4/passwd.client
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*:username@gmail.com:PassWord
2. cofigure /etc/email-addresses
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user: username@gmail.com
otheruser: user@yourips.com
not sure if exim looks at this, but set it anyway...
run following command
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rroot@Debian-Jessie:/home/verwijs# exim -v recipient@emailaddress.com
from: your-emial@gmail.com
subject: test exim4
test exim4
.
NOTE:
- replace "recipient@emailaddress.com" for recipient email address
- replace "your-emial@gmail.com" for email address for (out going) email address
configured in exim4 configuration
send email by typing "." (dot) and hit ENTER
Output...
~~~~~~~~~~~~~~~
LOG: MAIN
<= root@debian-jessie U=root P=local S=342
root@Debian-Jessie:/home/verwijs# delivering 1UlcQX-0006L9-DF
R: smarthost for info@verwijs-pc.nl
T: remote_smtp_smarthost for info@verwijs-pc.nl
Connecting to googlemail-pop.l.google.com [173.194.78.16]:25 ... connected
SMTP<< 220 mx.google.com ESMTP dz8sm940696wib.11 - gsmtp
SMTP>> EHLO Debian-Jessie.zeelandnet
SMTP<< 250-mx.google.com at your service, [82.176.33.51]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
SMTP>> STARTTLS
SMTP<< 220 2.0.0 Ready to start TLS
SMTP>> EHLO Debian-Jessie.zeelandnet
SMTP<< 250-mx.google.com at your service, [82.176.33.51]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH XOAUTH2
250 ENHANCEDSTATUSCODES
SMTP>> AUTH PLAIN ************************************************
SMTP<< 235 2.7.0 Accepted
SMTP>> MAIL FROM:<root@debian-jessie> SIZE=1375 AUTH=root@debian-jessie
SMTP<< 250 2.1.0 OK dz8sm940696wib.11 - gsmtp
SMTP>> RCPT TO:<info@verwijs-pc.nl>
3. SMTP<< 250 2.1.5 OK dz8sm940696wib.11 - gsmtp
SMTP>> DATA
SMTP<< 354 Go ahead dz8sm940696wib.11 - gsmtp
SMTP>> writing message and terminating "."
SMTP<< 250 2.0.0 OK 1370772087 dz8sm940696wib.11 - gsmtp
SMTP>> QUIT
LOG: MAIN
=> info@verwijs-pc.nl R=smarthost T=remote_smtp_smarthost H=googlemail-
pop.l.google.com [173.194.78.16] X=TLS1.2:RSA_ARCFOUR_SHA1:128
DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=smtp.googlemail.com"
LOG: MAIN
Completed