I can't get sendmail to stop considering itself as localhost.localdomain
Hi,
I am tearing my hair out, here. We have a CentOS 4.7 box running sendmail 8.13.1.
I can't send e-mail out from that box to anywhere not on localhost, as I keep getting the error 'DSN Data Format error', and 'A real domain name is required to send e-mail'.
I have edited the /etc/mail/sendmail.mc file as such:
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...
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.
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)
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 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 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)
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 ,
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)
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)