1833625 Members
3608 Online
110062 Solutions
New Discussion

remove sendmail

 
kholikt
Super Advisor

remove sendmail

I have already disable sendmail in the /etc/rc.config.d/mailservs
file.

Somehow when I login some message in the console still complain un qualified domain
abc
3 REPLIES 3
Steven Sim Kok Leong
Honored Contributor

Re: remove sendmail

Hi,

Note that the sendmail binary is still being used to send outbound emails. Even if the daemon is not running (ie. you just disabled the startup of the daemon), you will still require it to send outgoing emails. Check your /etc/mail/sendmail.cf for correctness:

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM

Also, check your /etc/nsswitch.conf and /etc/hosts (if used) on your name resolution.

Hope this helps. Regards.

Steven Sim Kok Leong
manoj_pu
Regular Advisor

Re: remove sendmail


Hello

You will have to put a dot (.) after your hostname in /etc/hosts file.

By doing this the local system itself become domain.



example of /etc/hosts

190.9.200.193 beta3 .


Regards

manoj

Leave with out tense and try best you gets result
Wilfred Chau_1
Respected Contributor

Re: remove sendmail

sounds like sendmail is still running.

You may want to kill sendmail or set the variable back to 1 then /sbin/init.d/sendmail stop. Then set the variable back to 0.

Let's see..