1830240 Members
1987 Online
109999 Solutions
New Discussion

Problem with sendmail!

 
Fredrik Malmström
New Member

Problem with sendmail!

Hey!

I got this weird problem with sendmail in Linux.

It only send mail to Hotmail, and some few other mail-servers.

What can be my problem. I am useing Apache on Linux.

Regards Fredrik
I use Echo, but thats just a habit, do what ever turns you on.
8 REPLIES 8
U.SivaKumar_2
Honored Contributor

Re: Problem with sendmail!

Hi,
Can you attach /var/log/mail.log file and
/var/log/messages.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Donald Kok
Respected Contributor

Re: Problem with sendmail!

You should use the masquerading option in the sendmail.cf:

DMyourdomain.com

The systems thinks you are spamming otherwise.
My systems are 100% Murphy Compliant. Guaranteed!!!
Fredrik Malmström
New Member

Re: Problem with sendmail!

Here is the messages file, the mail.log will be added later...

The file is cut down a bit, it was to large to upload.


Hope you'll be able to help me!

Regards
Fredrik.
I use Echo, but thats just a habit, do what ever turns you on.
Fredrik Malmström
New Member

Re: Problem with sendmail!

Hurmm...

There is no mail.log file! ?:/

Hope you??ll be able to help me any way!

Regards Fredrik
I use Echo, but thats just a habit, do what ever turns you on.
U.SivaKumar_2
Honored Contributor

Re: Problem with sendmail!

hi,
sorry , the file is maillog not mail.log

regards,
U.SivaKumar
Innovations are made when conventions are broken
benoit Bruckert
Honored Contributor

Re: Problem with sendmail!

Hello,
From the log file , I can say that you have a DNS trouble...
resolution works for Hotmail and few others, but not for all.
For example I made a test on my side on cactuz.nu, and I had an answer.
In your log file there's no answer.
Can you try on a command line :;
nslookup cactuz.nu.
And send back the answer !!!!
Try also hotmail.com.
..
Hope that help..

rgds
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)
Fredrik Malmström
New Member

Re: Problem with sendmail!

hmm... well about this DNS problem.

What can the fault be, is it because the server that runs the DNS is not the same as the one that runs the sendmail???


By the way:
nslookup or dnslookup??

I use Echo, but thats just a habit, do what ever turns you on.
Mark Fenton
Esteemed Contributor

Re: Problem with sendmail!

You can use either nslookup or dig -- either should return the address of cactuz.nu . If they don't, then you should look at modifying /etc/resolv.conf to put in a name server that will return an address.

$ dig cactuz.nu
or
$ nslookup -s cactuz.nu (-s tells nslookup not to warn you that the command is depricated)

Happy mailing.

Mark