05-23-2013
There is a serious problem with connection to your SMTP server.
Search for the root cause, and get it fixed!
A work-around might have drawbacks.
After reading "man sendmail" I have to add that sendmail when invoked by mailx will use submit.cf, that by defaults connects to localhost, connecting to the sendmail daemon (that uses sendmail.cf).
If your server admins modified submit.cf or sendmail.cf or decided to not run the sendmail daemon at all, they need to do the root cause analysis.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am a novice Unix scripter and need a little advice/help on a script I've written that's causing some problems. We are using Solaris 9 on a Sun box and the script is invoked with the korn shell. I have a two-part question: I wrote a shell script that calls and executes 3 separate sql scripts,... (3 Replies)
Discussion started by: E2004
3 Replies
2. Shell Programming and Scripting
Hi all,
I have a KSH script which is kicking off an sql scripts as follows:
/usr/local/installs/instantclient_10_2/sqlplus -s username/password @$sql_path/sql_query.sql > $tmp_path/sql_query_results
The problem I have is that sometimes the 10g Oracle Database spits out an error saying... (4 Replies)
Discussion started by: Donkey25
4 Replies
3. Shell Programming and Scripting
Hi,
I am sending mail inside my script based on various conditions.
Here is the problem,
when there are more than one condion at a time, the mailx adds the messages into one ( at the time of the second mail)
example:
inner_fn ()
{
if ; then
echo "inner function mail" | mailx... (3 Replies)
Discussion started by: shellwell
3 Replies
4. 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
5. IP Networking
Hi,
I'm running CentOS 5 as guest using VMware player. My host is Windows Xp. I'm running tftp server in CentOS. I have disabled firewall in both windows and CentOS. I use two different networks with different netmasks on CentOS. I'm able to ping the Centos (tftp server) from another Linux machine... (1 Reply)
Discussion started by: suryaemlinux
1 Replies
6. Shell Programming and Scripting
Hi guys
I am trying to send an email using mailx function and want the message body to appear on different lines.
My code is :
WT=`echo "Tapes are : $x Holder are : $y" `
echo $WT|mailx -s "Alert" xyx@abc.com
I want to receive the email like this:
Tapes are :2
Holders are... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies
7. HP-UX
I have telnet configured in /etc/inetd.conf as below:
telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd -b /etc/issue -n20
When i restart the service telnetd shows with only the -b option:
ps -ef|grep telnetd|grep -v grep
root 24397 1 0 10:42:35 pts/ta 0:00... (1 Reply)
Discussion started by: Tommyk
1 Replies
8. Shell Programming and Scripting
Hi All,
Im facing a problem with sending tar file via mailx command. Your help would be much appreciated.
Im trying to tar a set of CSV files in a folder using the below command
tar cvf Report.tar.gz *_03172016.CSV
and sending this tar file using mailx command as mentioned below
... (2 Replies)
Discussion started by: anijan
2 Replies
9. Shell Programming and Scripting
Hi,
I am trying to send an email using mailx command in Linux terminal. Though I give invalid address it is giving response as Recipient ok and sent message. My command is here. Not sure what is wrong. Can anyone please assist?
echo -e 'New User'| mailx -v -s 'New User' y@gggg.com
... (1 Reply)
Discussion started by: yuvi
1 Replies
10. Shell Programming and Scripting
Hello,
I am facing an issue with email in Linux. I am using mailx command to send email.
When I give invalid domain address then it is taking both sender and recipient as sender email and trying to send email.
Below is my command
echo -e "${EMAIL_TEXT}" | mailx -v -s "${SUBJECT}" -r... (5 Replies)
Discussion started by: yuvi
5 Replies
LEARN ABOUT DEBIAN
sendmailconfig
SENDMAILCONFIG(8) System Manager's Manual SENDMAILCONFIG(8)
NAME
sendmailconfig - configure sendmail for Debian systems
SYNOPSIS
sendmailconfig [--no-reload]
DESCRIPTION
sendmailconfig is used to simplify the configuration of sendmail(8) for use on Debian systems.
In the simplest case, you may run this program to (re)configure sendmail for your Debian system at any time. It will modify the file
/etc/mail/sendmail.mc in order to create a working sendmail configuration which will be written to the file /etc/mail/sendmail.cf.
For advanced configurations, you can modify the sendmail.mc file before generating sendmail.cf. Future invokations of sendmailconfig will
preserve these changes provided they are made at the end of the file.
Normally sendmailconfig will ask if you want to reload sendmail after making changes to its configuration. The --no-reload option will
avoid this question.
FILES
/etc/mail/sendmail.mc
sendmail m4 input to generate sendmail.cf
/etc/mail/sendmail.cf
actual sendmail configuration file
/etc/mail/sendmail.cw
names for which we will accept mail in the standard configuration
/etc/mail/sendmail.ct
names of trusted users in the standard configuration
SEE ALSO
sendmail(8)
AUTHOR
Robert Leslie <rob@mars.org>
21-Jan-1997 SENDMAILCONFIG(8)