Sponsored Content
Operating Systems Linux Ubuntu Sendemail... is there a receivemail? Post 302903111 by fpmurphy on Saturday 24th of May 2014 01:28:03 PM
Old 05-24-2014
sendmail is a MTA (Mail Transfer Agent). You need a MDA (Mail Delivery Agent) to handle incoming email. An MDA accepts mail from an MTA and performs the actual delivery to a user's mailbox. A user then uses a MUA (Mail User Agent) to read their mailbox.

There are many MDAs available. procmail is a very common one.
This User Gave Thanks to fpmurphy For This Post:
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sendEmail: Script and Array

I have a script that send email using sendEmail (CentOS shell) script is: sendEmail -vvv -u "TestCompany, Inc.: USB Added" -f user@domain.com -t To@domain.com -s ASPMX.L.GOOGLE.com -m "USB Activity" -o tls=aut o username=user3@domain.com password=password So far this works fine. Now i... (5 Replies)
Discussion started by: kashif.live
5 Replies

2. Solaris

Solaris 10 Sendemail with Attachment

Hello I need your kind help for configuring email on Solaris 10 so I can send reports from the system to my management and my colleagues. I have the IP address of the email server of my company and the port 2525. I went through many documents online with no luck. Can any one help me... (4 Replies)
Discussion started by: samer.odeh
4 Replies

3. Shell Programming and Scripting

SendEmail - Script reading database file with sleep command

Hello, I would like to send email message to my mail list. I have been running linux based server and I submitted this process manually up to now. I would like to send each individual with a shell script. In ssh panel, I tested below command and it works smoothly. sendEmail -t... (1 Reply)
Discussion started by: baris35
1 Replies

4. Solaris

Send multi content email using sendemail utility

Hi Guys, I am trying to send email from solaris server using sendemail utility. I want to send multi content email. For example, i want to send email body with html file and a attachment of txt file. I using below code but the html not render correctly in email body. ( echo "To:... (2 Replies)
Discussion started by: tharmendran
2 Replies

5. UNIX for Dummies Questions & Answers

Sendemail Error - Authentication... failed

SCO Unix OpenServer v6. We use the script below for sending mass emails with attachments. sendemail -f $From_user -o message-file=/u/fg4/data/EmailDefaultBody.html -u $su bj -s $MAIL_SRVR -xu $MAIL_USER -xp $MAIL_PSWD -a $emlname.pdf -t $MAILTO MAIL_SVR=SMPTOUT.SECURESERVER.NET ... (0 Replies)
Discussion started by: jet47
0 Replies

6. Shell Programming and Scripting

SendEmail and Variable

Hi everyone, I try to send an email with "sendemail", I created four variables for do cleaner but it doesn't work :( below : #!/bin/bash sender=$(X@x.com) recipient=$(x@x.com) subject=$(Files Copy) server=$(x.x.x.x) /usr/bin/sendemail -f $sender -t $recipient -u $subject -m blablabla... (2 Replies)
Discussion started by: Arnaudh78
2 Replies

7. Shell Programming and Scripting

Sendemail how to send an email with a subject variable

Hi,:) I try this : #!/bin/bash sender="me@example.com" recipient="you@example.com" subject="TEST FILE" server="0.0.0.0" file=$(cat file.txt) /usr/bin/sendemail -f $sender -t $recipient -u $subject -m $file My file.txt: BLABLALA BLABLABLA (7 Replies)
Discussion started by: Arnaudh78
7 Replies
MAILWRAPPER(8)						    BSD System Manager's Manual 					    MAILWRAPPER(8)

NAME
mailwrapper -- invoke appropriate MTA software based on configuration file SYNOPSIS
Special. See below. DESCRIPTION
Once upon time, the only Mail Transfer Agent (MTA) software easily available was ``sendmail''. This famous MTA was written by Eric Allman and first appeared in 4.1BSD. The legacy of this MTA affected most Mail User Agents (MUAs) such as mail(1); the path and calling conventions expected by ``sendmail'' were compiled in. But times changed. On a modern NetBSD system, the administrator may wish to use one of several available MTAs. It would be difficult to modify all MUA software typically available on a system, so most of the authors of alternative MTAs have written their front end message submission programs that may appear in the place of /usr/sbin/sendmail, but still follow the same calling conventions as ``sendmail''. The ``sendmail'' MTA also typically has aliases named mailq(1) and newaliases(1) linked to it. The program knows to behave differently when its argv[0] is ``mailq'' or ``newaliases'' and behaves appropriately. Typically, replacement MTAs provide similar functionality, either through a program that also switches behavior based on calling name, or through a set of programs that provide similar functionality. Although having replacement programs that plug replace ``sendmail'' helps in installing alternative MTAs, it essentially makes the configura- tion of the system depend on hand installing new programs in /usr. This leads to configuration problems for many administrators, since they may wish to install a new MTA without altering the system provided /usr. (This may be, for example, to avoid having upgrade problems when a new version of the system is installed over the old.) They may also have a shared /usr among several machines, and may wish to avoid placing implicit configuration information in a read-only /usr. The mailwrapper program is designed to replace /usr/sbin/sendmail and to invoke an appropriate MTA based on configuration information placed in /etc/mailer.conf. This permits the administrator to configure which MTA is to be invoked on the system at run time. EXIT STATUS
mailwrapper exits 0 on success, and >0 if an error occurs. FILES
Configuration for mailwrapper is kept in /etc/mailer.conf. /usr/sbin/sendmail is typically set up as a symlink to mailwrapper which is not usually invoked on its own. DIAGNOSTICS
mailwrapper will print a diagnostic if its configuration file is missing or malformed, or does not contain a mapping for the name under which it was invoked. SEE ALSO
mail(1), mailq(1), newaliases(1), postfix(1), mailer.conf(5) HISTORY
The mailwrapper program appeared in NetBSD 1.4. AUTHORS
Perry E. Metzger <perry@piermont.com> BUGS
The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the ``behave differently if invoked with a different name'' behavior of things like mailq(1) should go away. BSD
April 10, 2010 BSD
All times are GMT -4. The time now is 02:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy