Email to a process

beginners, email, process


Thread Tools Search this Thread
# 1  
Old 09-10-2002
Email to a process


I want to send a mail to a unix process.Is that possible if so what will be the email id assuming my process name is "sampleprocess".
Also when do we normally send mails to a process
# 2  
Old 09-10-2002
well there are 2 ways to get mail to software.

1) the software is listening for communication on a port.
2) the software is setup to read all incomming mail for USERX and will strip out all the needed info for processing.
# 3  
Old 09-10-2002
Many people simply pipe mail received by either an MTA or MUA to a process. An MTA, such as sendmail, can receive mail and pipe it to a process. Often, mail is received by an MTA and sent to a user mailbox via a local MUA, and the MUA forwards the mail, via a pipe, to the standard-in.

Often, in a .forward file in a user directory has something like,


Or, in a file like the sendmail aliases file:

joe.user: "|/home/user/bin/myprocess"

There are many reasons to do this, a person can simply send mail to a host and in the message have embedded tokens that could be used for anything imaginable... for example, you could send a message to a user aliase and have an embedded command (with embedded security) telling your home computer to turn off the lights in your house (if you had a interface to your home lighting)....

You can literally do anything you can imagine by sending mail to a process.... your imagination is the limit.... you could send mail to our home computer and with an embedded token that could be used by a process to activate a video camera, another example.

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Script to send email if Java process was done Nageswara Reddy Shell Programming and Scripting 1 09-12-2016 04:25 AM
Getting email output in single line with out space in email mirwasim Shell Programming and Scripting 6 08-03-2016 08:52 AM
Send outgoing email to my GroupWise email JDBA SuSE 0 04-03-2015 04:27 PM
Using top command to email if process is exceeding 25% and sending an email alert if so jay02 Shell Programming and Scripting 8 03-02-2012 12:36 PM
Trying to email text, getting blank email BG_JrAdmin Shell Programming and Scripting 3 11-23-2011 06:25 PM
Script to Send Email to a user when an admin kills process JoeGazz84 Shell Programming and Scripting 2 09-02-2011 11:57 AM
send email to email id which is having # symbol latika Shell Programming and Scripting 3 08-29-2011 05:31 AM
new to ldap, send email to a ou or group, and see a list from email client V4705 UNIX for Dummies Questions & Answers 0 01-27-2011 10:49 PM
Send an email from Solaris using Linux email server aflores Solaris 1 02-10-2010 12:57 AM
sending email as background process satnamx Shell Programming and Scripting 3 08-18-2009 05:39 AM
Email Question - two email addresses jyoung Shell Programming and Scripting 5 08-04-2008 02:00 PM
Send email where # is in the email address - Using Unix jingi1234 UNIX for Dummies Questions & Answers 1 05-23-2005 12:23 PM
Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win) Vetrivela UNIX for Advanced & Expert Users 2 02-15-2005 10:43 AM