You are not logged in.

#1 2014-04-22 18:04:49

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

in need of email implementation theory

i have been avoiding email usage on linux for years because it seems so complicated.  im sure its as simple as the rest, but im not sure i get it, short of seeing a flowchart or something..... 

i would like to set up my lamp server to relay off of our external smtp relay server, or even better use an implemented sendmail smtp server, which i already have 99% implemented, and have it to where the cron job emails that land inside the spool/clientmqueue actually get sent out to my email address.  the whole thing seems a bit cryptic to me.

what daemon or service is in charge of dispatching those emails out, and what could i be missing in my configurations , or what application is it possible that i need installed to get these emails dispatched out via smtp and sent to my email client inbox?   

my email client is on a windows machine, i just want the linux server box to ship out as much of the reporting to my inbox as possible (cron jobs, apache errors, etc..) so that i dont hvae to dig through logs for those.

i have send mail installed, i have send mail configured per the wiki.  i have my alias setup to my email address.  i have cron building emails inside the clientmqueue directory.     

i dont think i hvae figured out yet where to configure the external smtp, which leads me to believe that i probably dont even have the sendmail configured correctly either to use its own smtp server.

where do i start, and can someone give me a (simple) list of all tools that i will need to do this, from start to finish. 


i use cronie 

in short, its not working, and i dont have the flow of these services mapped in my own brain enough to know where to go to troubleshoot.


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#2 2014-04-26 11:49:44

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: in need of email implementation theory

Offline

#3 2014-05-01 04:26:00

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: in need of email implementation theory

Thanks for the response.  That looks like i might be able to use it.

Is there someone who can explain the theory?  there must be scores of users here that know this technology inside and out. I just want to know the theory behind it, this is to say, the tools and equipment needed in broad terms for an email to get from a cron job to an smtp server.  What tools do i need, what elements do i need to configure, what technology does it use.  This will help me solve my problems myself.

Last edited by wolfdogg (2014-05-01 04:33:08)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#4 2014-05-01 04:49:37

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Re: in need of email implementation theory

This may assist you if I understand what you're looking to learn: http://en.kioskea.net/contents/116-how- … ta-mda-mua

Offline

#5 2014-05-01 04:56:05

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: in need of email implementation theory

https://wiki.archlinux.org/index.php/Cr … rs_of_jobs

Basically, when a cronie script prints something to stdout/stderr, cronie will send this output to the specified email address using the configured MTA (mail transfer agent).


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

Board footer

Powered by FluxBB