Sponsored Content
Operating Systems Linux Red Hat -bash: sendmail: command not found Post 302995221 by Devipriya Ch on Monday 3rd of April 2017 08:17:38 AM
Old 04-03-2017
Not receiving mails while using sendmail command

Hello Experts!!

when I am using sendmail command to send an email on one of my Linux(RHEL 6.5) server. I am unable to receive emails.

Command line:

Code:
echo "test" | /usr/lib/sendmail -v devipriya.ch@geyxyxyx.com

Output:

Code:
devipriya.ch@geyxyxyx.com... Connecting to [127.0.0.1] via relay...
220 vdcyxyxyxyx.ccc.clclclcl.ge.com> ESMTP Sendmail 8.14.4/8.14.4; Mon, 3 Apr 2017 08:00:57 -0400
>>> EHLO hxyxyxyx@vdcyxyxyxyx.ccc.clclclcl.ge.com
250-hxyxyxyx@vdcyxyxyxyx.ccc.clclclcl.ge.com Hello localhost [127.0.0.1], pleased to meet yo
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<hxyxyxyx@vdcyxyxyxyx.ccc.clclclcl.ge.com> SIZE=5 AUTH=hyxyxyx@vdcyx
250 2.1.0 <hxyxyxyx@vdcyxyxyxyx.ccc.clclclcl.ge.com>... Sender ok
>>> RCPT To:<devipriya.ch@gyxyxyx.com>
>>> DATA
250 2.1.5 <devipriya.ch@geyxyxyx.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 v33C0v2u020545 Message accepted for delivery
devipriya.ch@geyxyxyx.com... Sent (v33C0v2u020545 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 vdcyxyxyxyx.ccc.clclclcl.ge.com closing connection

I have compared this server with one of my sendmail working server but didn't find any difference. I have read maximum answers in unix.com. but did n't get solution. Please help on this !!

Last edited by RudiC; 04-03-2017 at 09:49 AM.. Reason: Obfuscated private data to prevent abuse. Added CODE tags.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

bash: cron-config: command not found - PLEASE HELP ME!!

Hello All, I have installed Cygwin on Windows XP and working with some Shell scripting work, I have needed to schedule my script using the cornetab and whatever commands such as "cron", "cron-config" are not working in my cygwin shell, I re-installed the Cygwin but the same problem is with... (2 Replies)
Discussion started by: sriya
2 Replies

2. Shell Programming and Scripting

#!/bin/bash and #1bin/sh command not found error on mac osx terminal/shell script

i am having a weird error on mac os x running some shell scripts. i am a complete newbie at this and this question concerns 2 scripts. one of which a friend of mine wrote (videochecker.sh) a couple weeks ago and it's been running fine on another machine. then last week i wrote capture.sh and it... (2 Replies)
Discussion started by: danpaluska
2 Replies

3. Shell Programming and Scripting

bash syntax error: command not found

I am trying to create a shell that asks the user to enter their name, and compare it to my own by saying we have the same name or saying my name and that they have a nice name too. Here is my script... #!/bin/bash-x echo "Enter your name". read name if then echo "My name is Adam too"... (1 Reply)
Discussion started by: amaxey45
1 Replies

4. Post Here to Contact Site Administrators and Moderators

What's happens with my thread about "-bash: ELF: command not found "?

Hi, Today, I've submitted a new tread in "Shell Programming and Scripting" forum, with title "-bash: ELF: command not found ". However, this thread has disappear. Can somebody give me an explanation? Regards. (3 Replies)
Discussion started by: Sonia_
3 Replies

5. Shell Programming and Scripting

rm:command not found in linux Bash shell script

Hi All, Linux lxs3er06 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux Issue: While executing shell scripts in bash shell, following error messages are thrown: rm:command not found On doing little investigation, I added '/bin' to $PATH and on doing echo... (9 Replies)
Discussion started by: a1_win
9 Replies

6. Red Hat

BASH command not found strang behavior

Hi all I am relatively new to linux (specifically red hat). I have installed Fedora 13 on my machine and started playing with the terminal when i found a very strange behavior when typing a command that is not found: the terminal does not prompt me back. In other words, i am logged as root (or... (4 Replies)
Discussion started by: abohmeed
4 Replies

7. Shell Programming and Scripting

bash:vi:command not found

I downloaded and installed "Cygwin yesterday onto my PC running Windows XP. When I tried to type "vi" in Cygwin's window, I got the following message bash: vi: Command not found What shud i do inorder to get into vi editor Thanks (10 Replies)
Discussion started by: bobby1015
10 Replies

8. Shell Programming and Scripting

bash: <command nm> command not found

I created a script that I need to run from time to time, but get this error message. To get it working again I run this command from time to time: export PATH="$PATH:~/scripts" I put all my automated scripts in the /scripts directory and would like to run my scripts from any directory... (5 Replies)
Discussion started by: catalinawinemxr
5 Replies

9. Shell Programming and Scripting

Bash Script giving "Command Not found"

Hello Geeks, Greetings...I have the following script: #!/usr/bin/bash #Script to generate number of active PDP context & calculate PDP activation #failurefrom EPG-M #Script written by Gbenga Adigun #September 12, 2013 username="xxxxxx" password="xxxxxxxxx" HOSTS=( ggsn01... (6 Replies)
Discussion started by: infinitydon
6 Replies

10. Shell Programming and Scripting

Command not found, but using function in bash

In the bash below, if the answer is "y" then goto function remove. If the answer is "n" then goto the id variable line (where the date is inputted). However, I am getting command remove not found, but remove is a function not an command. I must have the syntax incorrect? Thank you :). ... (3 Replies)
Discussion started by: cmccabe
3 Replies
DMXGetWindowAttributes(3)				     Library Functions Manual					 DMXGetWindowAttributes(3)

NAME
DMXGetWindowAttributes - determine back-end window attributes SYNOPSIS
#include <X11/extensions/dmxext.h> Bool DMXGetWindowAttributes(Display *dpy, Window window, int *screen_count, int available_count, DMXWindowAttributes *attr); DESCRIPTION
When calling DMXGetWindowAttributes(), window specifies the window ID of a window on the Xdmx(1) server and available_count specifies the length of attr. The number of screens for which information is available will be returned in screen_count and information about those screen will be returned in attr. If screen_count is less than available_count, then information for all of the screens will be returned. Otherwise, information for the first available_count screens will be returned. The DMXWindowAttributes structure is: typedef struct { int screen; Window window; XRectangle pos, vis; } DMXWindowAttributes; For each back-end X server that displays a portion of window, this structure contains the physical screen containing that portion, the win- dow ID on the back-end X server of the window containing that portion, the position and dimensions of the window on the back-end (pos, in screen coordinates), and the visible area of the window on the back-end (vis, in window-relative coordinates -- all zeros if the window is not visible on the backend). To obtain more information about the physical screen use the DMXGetScreenAttributes(3) call. Note that DMX allows multiple back-end windows to overlap in their view of the DMX logical window. Further, a logical window does not have to be completely covered by back-end windows -- there may be gaps. As an example, consider a 500x500 window that spans the top two 1024x768 back-end displays (A and B) of a 2048x1536 DMX display composed of 4 1024x768 back-end displays arranged in a cube: A B C D In this case, the DMXGetWindowAttributes call would return the following information for the 500x500 window: display A: 500x500 window at 1024-250,0 (relative to back end) with 250x500 visible at 0,0 (relative to window origin) display B: 500x500 window at -250,0 (relative to back end) with 250x500 visible at 250,0 (relative to window origin) display C: 500x500 window at 1024-250,-768 with 0x0 visible at 0,0 display D: 500x500 window at -250,-768 with 0x0 visible at 0,0 RETURN VALUE
DMXGetWindowAttributes() returns True unless there is a protocol error. DMXGetWindowAttributes() can generate BadWindow and BadAlloc errors. NOTES
Because this call transports a great deal of information over the wire, please call DMXGetScreenCount(3) first, and make sure attr is suf- ficiently large. On a particular back-end server, it is possible that the associated window has not yet been mapped because the XMapWindow(3) call that will eventually map the window had been buffered by Xlib's normal buffering system. To avoid this race condition, please call DMXSync(3) before communicating directly with the back-end X server. SEE ALSO
DMXGetScreenCount(3), DMXSync(3), DMXGetScreenAttributes(3), DMX(3), Xdmx(1) X Version 11 libdmx 1.1.0 DMXGetWindowAttributes(3)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy