Sponsored Content
Top Forums UNIX for Advanced & Expert Users sendmail : connect local host (brocken) Post 21912 by mrsaint on Friday 24th of May 2002 07:30:53 AM
Old 05-24-2002
I used the command and get this results

server104:/etc # netstat -an | grep -i listen | grep 25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN

I think this should be 127.0.0.1 ! That's loopback, other I could connect to localhost especially the sendmail MTA.

How could I change this?

thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

sendmail : 550 host unknown

Hi I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host? Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
Discussion started by: mrsaint
29 Replies

2. UNIX for Dummies Questions & Answers

local host setup

I am running Redhat 7.2. I am using a router with dhcp setup for my computer. When logging in, I get the error "dhcppc1 not found". My router assigned that host name to my pc for dhcp. It says to modify the /etc/hosts file to keep from having any problems. Everything seems to be working ok... (2 Replies)
Discussion started by: jeremiebarber
2 Replies

3. UNIX for Dummies Questions & Answers

local host

Dear Guys , Please again , i could not find a solution for my server linux red hat 9 . when i leave it about more than 5 min ideal it goes to something like sleep mode and all services stop and even TCP/IP .. what shall i do ??? another thing please , when i installed the server , i gave... (3 Replies)
Discussion started by: tamemi
3 Replies

4. Solaris

How to delete the files from local host to remote host

Hi all, i am copying .gz files from production server to development server using "scp" command.my requirement is after copying .gz files i want to delete old .gz files(two days back) in development server from production server. like this way i need to delelte .log ,.z and .dmp files... (3 Replies)
Discussion started by: krishna176
3 Replies

5. UNIX for Advanced & Expert Users

Help! How to find the local host after few ssh hops to remote host???

I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1. When I do a who -m from A2, I see the "connected from" as "A1". => who -m userid pts/2 2010-03-27 08:47 (A1) I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies

6. Shell Programming and Scripting

Print all Host on local network

Hello guys, I would like to develop a script which takes a host name as argument and displays a message whether the host is on the local network or not. How can I accomplish that? Is there a file or command that I can use to list all host on the local network? :confused: (4 Replies)
Discussion started by: Learn4Life
4 Replies

7. Shell Programming and Scripting

CURL getting Error- couldn't connect to host

Hi i am trying to open HTTP by curl command. i am tryng to do that from command or script BASH. also iptables is off it doesnt work i am getting an error: curl: (7) coudn't connect to host the scipt is: #! /bin/bash curl http://www.cnn.com (1 Reply)
Discussion started by: zigizag
1 Replies

8. Shell Programming and Scripting

Connect to target host from Source host.

Hi All, Need to connect to target host and execute a command and connect back to source host to continue with next set of command execution. Is there a utility/command using which we can connect to target host ? Please suggest. Note: Netezza database is instaled on Linux server. ... (4 Replies)
Discussion started by: Nagaraja Akkiva
4 Replies

9. Shell Programming and Scripting

Set variable to path that does not exist on local host

Can anyone suggest a workaround zone_5.org='/qaz/qwe/path/tns.osn' output /home/bingo/XXX_script.sh: line 180: zone_5.org=/qaz/qwe/path/tns.osn: no parent The path does not exist on the local machine, the allocation used to work till the server was upgraded. Red Hat Enterprise Linux... (2 Replies)
Discussion started by: squrcles
2 Replies

10. UNIX for Beginners Questions & Answers

How to connect to a DB installed on another host using shell script?

Hi Experts There are two hosts say A and B. On host B, Oracle DB is installed and running. I am trying to check if the DB on host B is up and running fine from a script on host A. Is this possible. I tried using commands like sql plus but those doesn't seem to help. Could you please guide. (8 Replies)
Discussion started by: harishshankar
8 Replies
FEMAIL(8)						    BSD System Manager's Manual 						 FEMAIL(8)

NAME
femail -- accept mail on behalf of a real MTA SYNOPSIS
femail [-46tv] [-f from] [-F name] [address ...] DESCRIPTION
femail is intended to be used on servers that do not run a real MTA or inside chroot(8) environments. It features a sendmail(8)-compatible command line interface and forwards mail via SMTP to the host given in the config file, an environment variable or localhost. The options are as follows: -4 Only use IPv4. -6 Only use IPv6. -F name Set the sender's name to name. -f from Set the sender address to from. Normally, femail tries to parse the sender from the message, and uses login@hostname if that is not present. -t Read recipients from the message given on stdin, in addition to the recipients given on the command line. -v Enable verbose operation. CONFIG FILE
The config file, /etc/femail.conf, consists of simple name=value pairs. The supported settings are as follows: smtphost Specify the server femail should send the messages to. smtpport Specify the port femail uses on smtphost to send the messages. Default is 25. myname The hostname femail uses. Defaults to the machine's hostname. ENVIRONMENT
SMTPHOST Forward mail to the given host instead of the local host. Only consulted when not set in the config file. SMTPPORT Connect to the given port instead of 25. Only consulted when not set in the config file. SEE ALSO
mail(1), sendmail(8) AUTHORS
femail was written by Henning Brauer. BSD
August 9, 2005 BSD
All times are GMT -4. The time now is 02:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy