SlideShare una empresa de Scribd logo
1 de 3
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
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>
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

Más contenido relacionado

Similar a Configure exim4 with gmail

#include stdio.h#include systypes.h#include syssocket.h
#include stdio.h#include systypes.h#include syssocket.h#include stdio.h#include systypes.h#include syssocket.h
#include stdio.h#include systypes.h#include syssocket.hSilvaGraf83
 
#include stdio.h#include systypes.h#include syssocket.h
#include stdio.h#include systypes.h#include syssocket.h#include stdio.h#include systypes.h#include syssocket.h
#include stdio.h#include systypes.h#include syssocket.hMoseStaton39
 
I use the below scapy code to sniff and then spoof on the IP addresses.pdf
I use the below scapy code to sniff and then spoof on the IP addresses.pdfI use the below scapy code to sniff and then spoof on the IP addresses.pdf
I use the below scapy code to sniff and then spoof on the IP addresses.pdfMattU5mLambertq
 
Linux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiLinux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiUnmesh Baile
 
[Cook book] ansible 4_dell emc networking
[Cook book] ansible 4_dell emc networking[Cook book] ansible 4_dell emc networking
[Cook book] ansible 4_dell emc networkingJo Hoon
 
sms frame work
sms frame worksms frame work
sms frame workArulalan T
 
Hello,Ther is some problem in you codeI made my own programme as.pdf
Hello,Ther is some problem in you codeI made my own programme as.pdfHello,Ther is some problem in you codeI made my own programme as.pdf
Hello,Ther is some problem in you codeI made my own programme as.pdfaradhana9856
 

Similar a Configure exim4 with gmail (9)

#include stdio.h#include systypes.h#include syssocket.h
#include stdio.h#include systypes.h#include syssocket.h#include stdio.h#include systypes.h#include syssocket.h
#include stdio.h#include systypes.h#include syssocket.h
 
#include stdio.h#include systypes.h#include syssocket.h
#include stdio.h#include systypes.h#include syssocket.h#include stdio.h#include systypes.h#include syssocket.h
#include stdio.h#include systypes.h#include syssocket.h
 
Alcatel vm
Alcatel vmAlcatel vm
Alcatel vm
 
Mail
MailMail
Mail
 
I use the below scapy code to sniff and then spoof on the IP addresses.pdf
I use the below scapy code to sniff and then spoof on the IP addresses.pdfI use the below scapy code to sniff and then spoof on the IP addresses.pdf
I use the below scapy code to sniff and then spoof on the IP addresses.pdf
 
Linux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiLinux corporate-training-in-mumbai
Linux corporate-training-in-mumbai
 
[Cook book] ansible 4_dell emc networking
[Cook book] ansible 4_dell emc networking[Cook book] ansible 4_dell emc networking
[Cook book] ansible 4_dell emc networking
 
sms frame work
sms frame worksms frame work
sms frame work
 
Hello,Ther is some problem in you codeI made my own programme as.pdf
Hello,Ther is some problem in you codeI made my own programme as.pdfHello,Ther is some problem in you codeI made my own programme as.pdf
Hello,Ther is some problem in you codeI made my own programme as.pdf
 

Último

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 

Último (20)

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
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