04-09-2008
I am not authorized to check mailq.
we are using SMTP as MTA. Please let me know how to configure it.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
What are all the things that should be configured in order to send a mail from Unix box.
An eg. program of sending a mail will help me a lot!!!!!!
Thanks in advance
-Om (5 Replies)
Discussion started by: Omkumar
5 Replies
2. Shell Programming and Scripting
I have automated some checks - and I want to send a email when there is an issue.
This is fine and I can send the email.
However - I want to generate the email in html format so I can highlight any issues to a reader..
ie. If there is a disk space issue - then the email will highlight the... (2 Replies)
Discussion started by: frustrated1
2 Replies
3. UNIX for Dummies Questions & Answers
Hello everybody.
Is it possible in unix to send a mail to my acount like (abcd@xyz.com)
if yes then how ??
Thank You !! (6 Replies)
Discussion started by: hellotosatish
6 Replies
4. UNIX for Dummies Questions & Answers
i am sending mails from my unix server to my mail id
i used sendmail option
previously it ran successfully
now it is not sending mails
what might be the problem
this is the message i am getting in /var/mail/abcdev file
how to rectify this?
----- The following addresses had permanent... (1 Reply)
Discussion started by: trichyselva
1 Replies
5. Programming
Hi Frnds,
I have a task in my project wherein i have to send out a mail from my C++ code.With some file attachements.Please help me in this.
At a higher level wat i can tell is my code generated 3 csv file and i have to send these files as attachement.
My code is executed in unix... (6 Replies)
Discussion started by: electroon
6 Replies
6. UNIX for Dummies Questions & Answers
Hi people
Can u help me aorund on this
cat $DISTRIBUTION_LIST | tail -1 | read mailtolist
test -s $INOVOICES.dat
if
then
echo " Sales Report generted" | read subject
mailx -ms "${subject}." $mailtolist
RET_CODE=$?
if ; then
echo "Messaging Failed." >> $LOG_FILE
exit 1
fi
else... (2 Replies)
Discussion started by: bobprabhu
2 Replies
7. Shell Programming and Scripting
Dear Friends,
I have a shell script where the mail is being sent like this:
/usr/lib/sendmail -v ${CPA_ADMIN}
CPA_ADMIN="xx@abc.com"
Can we specify more than one email ids in this variable?
Is ther eany limit to the number of email ids I can specify in this variable, to whom the mail... (3 Replies)
Discussion started by: Radhe
3 Replies
8. UNIX for Dummies Questions & Answers
HI
i usually send an a file attachment in a mail from unix like following.
mailx -s 'Job Success' someoner@gmail.com < attachment.log
But I have observed in several threads that we can also use uuencode and uudecode.
What are they? when should we use uudecode and uuencode
... (1 Reply)
Discussion started by: rajesh_tns
1 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I want to send an email from unix. I tried following commands:
mailx -s "hello" manish.xxx@xxx.com < echo_manish
and
echo "Testing Mail" | mailx -s "hello" manish.xxx@xxx.com
but in both the commands nothing is happening. I mean it is neither giving any error nor I am receiving... (7 Replies)
Discussion started by: manishdivs
7 Replies
10. Shell Programming and Scripting
Need assistance . I have a cvs file which i changed to html file but when i try to send mail to outlook its indent goes wrong. any idea is appreciated .
below are some commands i tried using
Converting csv to html
#!/bin/sh
nawk 'BEGIN{
FS=","
print "MIME-Version: 1.0"
print ... (7 Replies)
Discussion started by: ajayram_arya
7 Replies
WHOM(1) [nmh-1.5] WHOM(1)
NAME
whom - report to whom a message would go
SYNOPSIS
whom [-alias aliasfile] [-check | -nocheck] [-draftfolder +folder] [-draftmessage msg] [-nodraftfolder] [-server servername] [-port port-
name/number] [-sasl] [-saslmech mechanism] [-snoop] [-user username] [-tls] [-notls] [file] [-draft] [-version] [-help]
DESCRIPTION
Whom is used to expand the headers of a message into a set of addresses and optionally verify that those addresses are deliverable at that
time (if -check is given).
The -draftfolder +folder and -draftmessage msg switches invoke the nmh draft folder facility. This is an advanced (and highly useful) fea-
ture. Consult the mh-draft(5) man page for more information.
If nmh is using the SMTP MTA, the -server and the -port switches can be used to override the default mail server (defined by the
/etc/nmh/mts.conf servers entry). The -snoop switch can be used to view the SMTP transaction. (Beware that the SMTP transaction may con-
tain authentication information either in plaintext or easily decoded base64.)
If nmh has been compiled with SASL support, the -sasl switch will enable the use of SASL authentication with the SMTP MTA. Depending on
the SASL mechanism used, this may require an additional password prompt from the user (but the ".netrc" file can be used to store this
password). -saslmech switch can be used to select a particular SASL mechanism, and the the -user switch can be used to select a authoriza-
tion userid to provide to SASL other than the default.
If SASL authentication is successful, nmh will attempt to negotiate a security layer for session encryption. Encrypted data is labelled
with `(encrypted)' and `(decrypted)' when viewing the SMTP transaction with the -snoop switch. The -saslmaxssf switch can be used to
select the maximum value of the Security Strength Factor. This is an integer value and the exact meaning of this value depends on the
underlying SASL mechanism. A value of 0 disables encryption.
If nmh has been compiled with TLS support, the -tls and -notls switches will require and disable the negotiation of TLS support when con-
necting to the SMTP MTA. Encrypted data is labelled with `(tls-encrypted)' and `(tls-decrypted)' when viewing the SMTP transction with the
-snoop switch.
The files specified by the profile entry "Aliasfile:" and any additional alias files given by the -alias aliasfile switch will be read
(more than one file, each preceded by -alias, can be named). See mh-alias(5) for more information.
FILES
$HOME/.mh_profile The user profile
PROFILE COMPONENTS
Path: To determine the user's nmh directory
Draft-Folder: To find the default draft-folder
Aliasfile: For a default alias file
postproc: Program to post the message
SEE ALSO
mh-alias(5), post(8)
DEFAULTS
`file' defaults to <mh-dir>/draft
`-nocheck'
`-alias' defaults to /etc/nmh/MailAliases
CONTEXT
None
BUGS
With the -check option, whom makes no guarantees that the addresses listed as being ok are really deliverable, rather, an address being
listed as ok means that at the time that whom was run the address was thought to be deliverable by the transport service. For local
addresses, this is absolute; for network addresses, it means that the host is known; for uucp addresses, it (often) means that the UUCP
network is available for use.
MH.6.8 11 June 2012 WHOM(1)