LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with sendmail (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-sendmail-295013/)

bijuhpd 02-26-2005 12:43 AM

problem with sendmail
 
hi,
i cant send mails outside.
550-Verification failed for <root@localhost.localdomain>
does it have something to do with resolv.conf
i have 127.0.0.1 in resolv.conf and hosts.
do i need to change anything in sendmail.mc
anyhelp.

twantrd 02-26-2005 04:53 AM

I encountered this problem before. Below was how I resolved it.

1. Check /etc/hosts and make sure you have proper entries there
for example:

127.0.0.1 localhost
<ip address> your FQDN

2. make sure your hostname has the FQDN as well

3. in your /etc/sendmail.cf, check
Dj<domain name>
DS<your smart host>
DM<domain name>

An example of #3 is:
Djcrap.com
DSsmarthost.mine.com
DMcrap.com

Let me know if that works for you.

-twantrd

bijuhpd 02-26-2005 05:45 AM

Quote:

Originally posted by twantrd
I encountered this problem before. Below was how I resolved it.

1. Check /etc/hosts and make sure you have proper entries there
for example:

127.0.0.1 localhost
<ip address> your FQDN

2. make sure your hostname has the FQDN as well

3. in your /etc/sendmail.cf, check
Dj<domain name>
DS<your smart host>
DM<domain name>

An example of #3 is:
Djcrap.com
DSsmarthost.mine.com
DMcrap.com

Let me know if that works for you.

-twantrd


Whoah, that worked man, Like a charm. Thanx a lot mate ur a life saver. Its like everything just fell into place when i tried out what u mentioned there. Thanx again for everything


All times are GMT -5. The time now is 05:33 AM.