Can anyone help me out how to send the email without the word success
while sending to the recipient.
echo "success" | mailx -s "webshell instance has been started noiw" implementation@tkcl.com
Can anyone help me out how to send the email without the word success
while sending to the recipient.
echo "success" | mailx -s "webshell instance has been started noiw" implementation@tkcl.com
Perhaps you could be a little more specific about what you do want to send in the email.
Maybe you want something like:
echo "failure" | mailx -s "webshell instance has been started noiw" implementation@tkcl.com
or:
mailx -s "webshell instance has been started noiw" implementation@tkcl.com < /dev/null
thanks a lot don. It works now.
any emails which I sent through unix whetehr it will be stored in any of the folders in unix.
Hello Ramkumar15,
check /var/log/maillog
or /var/log/messages
if you're on *nixOr, on *nix, look in /etc/syslog.conf
to see where else those log messages might be getting sent to, hope this may be helpful to you.
Thanks,
R. Singh
hi ravinder. thanks a lot. it works now.
Currently, I have one more issue, where one of the user alone not receiving the email while sending email from unix servers.
Apart from everyone receieves the email. do you have any idea what would be the cause.
---------- Post updated at 07:27 AM ---------- Previous update was at 07:16 AM ----------
error :
Mar 23 07:19:46 us890 sendmail[28636]: kifdsh@jus.com, delay=00:00:02, mailer=relay, relay=[reno], stat=Transient parse error -- message queue
[/FONT][/COLOR]
Hello Ramkumar15,
Could you please let us know how is resolv.conf setup ?? Or nsswitch.conf too.
Thanks,
R. Singh
cat nsswitch.conf
#
# /etc/nsswitch.compat:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: files [NOTFOUND=continue] nis
group: files [NOTFOUND=continue] nis
hosts: files [NOTFOUND=continue] dns nis
#hosts: files [NOTFOUND=continue] dns [NOTFOUND=continue] nis
networks: files [NOTFOUND=continue] nis
protocols: files [NOTFOUND=continue] nis
rpc: files [NOTFOUND=continue] nis
publickey: files [NOTFOUND=continue] nis
netgroup: files [NOTFOUND=continue] nis
automount: files [NOTFOUND=continue] nis
aliases: files [NOTFOUND=continue] nis
services: files [NOTFOUND=continue] nis
Hello ramkumar15,
Could you please post following 2 command's result too.
1- dig your_domain_name eg(dig cpfc.org mx)
2- cat /etc/resolv.conf
Not sure but there may be a chance we can find out some clue from these files too, let us know the details.
Thanks,
R. Singh
hi ravi,
dig command doesn't work.
cat /etc/resolv.conf
search tctl.com
nameserver 10.106.2.215
nameserver 10.106.3.9
#retry 1
#retrans 1000
I am getting the below message.
Delivery is delayed to these recipients or groups:
delivery@tctl.us
Subject: testemail
This message hasn't been delivered yet. Delivery will continue to be attempted.
[/FONT][/COLOR]
Usually there was no problem while sending email to the mentioned id. currently we are facing this issue problem now.
---------- Post updated at 06:22 AM ---------- Previous update was at 03:14 AM ----------
I believe there is some problem in the receiver end.
---------- Post updated at 06:22 AM ---------- Previous update was at 06:22 AM ----------
not sure the exact issue. do you have any idea on this issue