I think sendmail gets a domain name (or first item in search list) from /etc/resolv.conf,
and a hostname from /etc/hosts, where the hosts: line in /etc/nsswitch.conf matters.
It will certainly succeed when
returns a FQDN.
Maybe you should not override that with localhost.localdomain...
Sorry to get back to you so late. Nope, the box is still sending e-mails as 'localhost.localdomain', despite the fact that there is not a single instance of that word anywhere in /etc/mail.
Hello,
I am ltrying to find the config file to modify a parameter for apache (I guess). Here, when sending mail using php web form I get a copy of all mail sent from that form, but here is a sample of what I get :
From : apache@localhost.localdomain
To : myemail@host.com
Subject : Mail ... (2 Replies)
Hi ,
I have one question, suppose i am a normal user and when i use 'w' command , it shows who is logged on and what they are doing .
Now i want to stop others users to know what i am doing accept the root ?
can i do this ?
thanks (5 Replies)
Hi,
I have these entries in the /etc/esolv.conf:
------------
domain xxxxxx
search yyyyyy
nameserver 127.0.0.1
nameserver aaaaaaaaaaaaaaaa
nameserver bbbbbbbbbbbbbbbb
-------------
When I use 'dig' or 'nslookup' command, like 'dig yahoo.com' it uses the localhost as the server.
I... (2 Replies)
Hi Friends,
I am very much new to sendmail or any other mta. I just installed sendmail 8.14 on my rhel6 machine. I was trying to send email to local user but after entering the message when i press CTRL-D it simply hangs. I also tried sending email via mutt but again mutt also hangs. It sends... (0 Replies)
I am getting the message - waiting for localhost.
Here are some diagnostic steps I have tried ....
root@meow:/home/ethan# cat /var/www/cgi-bin/httpd.conf
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/jkj
ServerName 127.0.0.1:80
Listen xx.xx.xx.xx:80
Listen 127.0.0.1:80
... (1 Reply)
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
I get a "not found" error from this
localhost/choice.php
ethan@meow:~$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.025 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.036 m
and this
ethan@meow:~$ mysql -u... (4 Replies)
Discussion started by: Meow613
4 Replies
LEARN ABOUT MOJAVE
femail
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