12-07-2012
Rename mailx and put a shell script in its place that sends mail to you? What about other mail clients that talk to sendmail or port 25 or connect off host to some other system port 25? You probably need a rewrite rule, at least for your local sendmail daemon.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi friends,
i have seen the following line in some unix shell script .
can some one explain me what exactly the statement is meant for ?
=========================================================
mailx -s " Master Data Transmission Report for $TODAY at $TIME " < /etc/tr/tmp/$tmplog... (5 Replies)
Discussion started by: sveera
5 Replies
2. UNIX for Advanced & Expert Users
Hi,
mailx -s "hi" -r "abc@yahoo.com" aaa@yahoo.com<<EOF
Hi,
~<!uuencode a.txt a.txt
EOF
the above code is sending mails, but attachment is not going instead i just get like below
~<!uuencode a.txt a.txt
Thanks. (3 Replies)
Discussion started by: shahnazurs
3 Replies
3. Shell Programming and Scripting
Dear All,
I need to send a mail to a group ( the address of which is in a .profile file)..My basic mailing functionality isn't working. When i try to run
mailx -s "Hello" abc@xyz.com the command does not return to the prompt an runs infinitely.
Request you to help me out here along with... (3 Replies)
Discussion started by: kaushikraman
3 Replies
4. UNIX for Advanced & Expert Users
hi,
i want to pass a unix variable as the subject of the mail alongwith a string. My part of code is as below..
week_end_dt=`sqlplus -s rsamart@martdev.world/rsamart<<EOF
SET FEED OFF;
SET TIMING OFF;
SET HEADING OFF;
SET PAGESIZE 500;
SET LINESIZE 1000;
select... (14 Replies)
Discussion started by: Jalkukdi@10
14 Replies
5. Shell Programming and Scripting
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies
6. Solaris
HI All,
I have an unix server , where sendmail command works for sending mail.
But if i use mailx command it is not working.
Is there any specific settings needed for this.
Kindly help.
Thanks and Regards
Rj (1 Reply)
Discussion started by: jegaraman
1 Replies
7. Solaris
Dear all,
Every time if i use mailx it is asking for entering the From Address.
I want to set it in some place, So that it will take it by default whenever we send mails.
Pl help on this.
Regards
JeganR (2 Replies)
Discussion started by: jegaraman
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am seeing that this command is sending mail even when the nawk command in untrue ( does not have any output ). I only want it to send mail, where it goes above the threshold, and has some output.
nawk -F'(MOD dn="uid=)|(DEL dn="uid=)|' '/(MOD dn="uid=)|(DEL dn="uid=)/... (2 Replies)
Discussion started by: john_prince
2 Replies
9. UNIX for Dummies Questions & Answers
How can i override options of rm command ??
and how can i implement my own options
when we delete file using rm commad it will not delete file it has to move some folder....plz suggest some solution. (10 Replies)
Discussion started by: arun508.gatike
10 Replies
10. HP-UX
I need to do below in mailx :
1. to list
2. CC list (I am using tilde command for this)
3. -r option
4. attach .csv file
Below is the command i am using :
( echo '~c abc@xyz.com'; cat mailtext.txt; uuencode attach.csv attach.csv) | mailx -s "${SUBJECT}" -r "abc@xyz.com" -m ${MAIL_LIST}... (4 Replies)
Discussion started by: ManOfSteel
4 Replies
LEARN ABOUT DEBIAN
sensible-mda
SENSIBLE-MDA(8) System Manager's Manual SENSIBLE-MDA(8)
NAME
sensible-mda - a generic local MDA router for Debian systems
SYNOPSIS
sensible-mda from to detail client-addr
DESCRIPTION
sensible-mda is used to simplify the installation and configuration of sendmail(8) , or other MTAs for use on Debian systems. With sensi-
ble-mda, sendmail can support a plethora of MDAs (procmail, maildrop, deliver, etc.) without having pick any one of them as required.
FUNCTION
sensible-mda is called by sendmail as a local mailer when the following exists in sendmail.mc:
define(`LOCAL_MAILER_ARGS', `sensible-mda $g $u $h ${client_addr}')dnl
sensible-mda will look for the following MDAs (in this order), and pass the mail on to the first SUID MDA found (Or first found MDA, if run
w/euid=root): procmail(1), maildrop(1), deliver(8), mail.local(8)
OPTIONS
Available command line options are the following:
from The sender of this email (sendmail $g variable)
to The recipient of this email (sendmail $u variable)
detail The detail portion of the recipient userid (sendmail $h variable) - ie:
cowboy+sendmail@debian.org
client-addr
TCP/IP address of the sender (sendmail ${client_addr} variable) Not used (for the nonce)
FILES
/etc/mail/sendmail.mc
sendmail m4 input to generate sendmail.cf
/etc/mail/sendmail.cf
actual sendmail configuration file (treated as a binary file)
SEE ALSO
sendmail(8), procmail(1), maildrop(1), deliver(8), mail.local(8)
BUGS
None known so far.
AUTHOR
Richard Nelson <cowboy@debian.org>
HISTORY
4th Berkeley Distribution October 21 1999 SENSIBLE-MDA(8)