Operating System - Linux
1825060 Members
4986 Online
109679 Solutions
New Discussion юеВ

sendmail is not working, please help!!!!!

 
Christiaan Jan
New Member

sendmail is not working, please help!!!!!

Hello, a company is hosting our site. We have had a lot of problems with our email in the first place. Adter 3 months this was at least working. But now we have a sendmail problem. When someone uses my cgi-scripts there mail returns to me as undeliverd with error messages. (i.e. The original message was received at Sun, 12 Aug 2001 08:34:12 -0700
from starman@localhost

----- The following addresses had permanent fatal errors -----
tvtiel@chello.nl
(reason: 553 cob9nyc.kikkonetworks.com does not exist)

----- Transcript of session follows -----
... while talking to smtp.chello.nl.:
>>> MAIL From: SIZE=445
<<< 553 cob9nyc.kikkonetworks.com does not exist
501 5.6.0 tvtiel@chello.nl... Data format error

As you can see there is a line that says From: but our mailserver is mail.starmanproductions.nl When i use smtp "localhost all is going well. When i use sendmail but send an email to myself or to someone in the same network everything goed fine also. I have located the sendmail and it is /usr/sbin/sendmail so in my scripts stands i.e. "/usr/sbin/sendmail -t" That works fine as long as users send emails from withing scgi scripts to me, all the other returns to my postmaster adres with errors. My server tells me that there is nothing wrong at there, but im sure there is. He tells me that i must not use cob9nyc.kikkonetworks.com but mail.starmanproductions.nl But how can i do that, i only can put the right path to sendmail in my scripts. When i use telnet and ask hostname, they answer is cob9nyc.kikkonetworks.com. SOmetime i get also an error thet says that there is a DNS error with my nameserver. My host is in the usa my domain is hosted in Europe.

Please does anybody know what to do? I have my site for 4 months now and pay 80 usd each month but i am still not online because my scripts will not work.

Please reply by email to webmaster@starmanproductions.nl

Chris
8 REPLIES 8
Albert E. Whale, CISSP
Honored Contributor

Re: sendmail is not working, please help!!!!!

Sounds like the Postmaster need to add the name to the local-host-names file (or sendmail.cw - depending on the Version in use).

Hope that helps!
Sr. Systems Consultant @ ABS Computer Technology, Inc. http://www.abs-comptech.com/aewhale.html & http://www.ancegroup.com
Ralf Hildebrandt
Valued Contributor

Re: sendmail is not working, please help!!!!!

Consider switching to a mailer that doesn't require 1000 pages of manual.

www.postfix.org
Postfix/BIND/Security/IDS/Scanner, you name it...
Sachin Patel
Honored Contributor

Re: sendmail is not working, please help!!!!!

Hi Cris,
Check you sendmail.cf file. what happens when you do nslookup to cob9nyc.kikkonetworks.com and another server mail.starmanproductions.nl.
Somewhere you have name missmatch.

Sachin
Is photography a hobby or another way to spend $
Christiaan Jan
New Member

Re: sendmail is not working, please help!!!!!

Dear Sachin Patel, thanks for ryply. First of all, the company is hosting our site, we dont have a own server there, only a own domain, hosted in the netherlands and ponited to the nameserver of the company in the usa. So can i set the sendmail.cf files myself or is this something the hosting company must do. The keep telling me that there is nothing wrong, but i dont think the understand what i mean. Wish there was someone that could tell him what possibly is going wrong... So please tell me what i can do myself... to get sendmail working.

Chris.
Tech Support_1
Occasional Advisor

Re: sendmail is not working, please help!!!!!

Your configuration for the mail server is incomplete, you need to set the official domain name for the machine, to starmanproductions.nl.
Search the sendmail.cf file for the following section

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

change the last section to
Djstarmanproductions.nl

reboot sendmail, and your mail should start working, but please note there is a lot more configuration you could do; especially with regards to relaying and security. perhaps sendmail is not the product for you?
Apathy is ..................
Eugen Cocalea
Respected Contributor

Re: sendmail is not working, please help!!!!!

Hi,

Edit your sendmail.cf and look for the domain name. It should be starmanproductions.nl

E.
To Live Is To Learn
Andrey Glazunov
Regular Visitor

Re: sendmail is not working, please help!!!!!

Which command exactly do you use to send a message to users?

It is probably problem with DNS on provider site. The host
cob9nyc.kikkonetworks.com does not have a MX entry in DNS and therefore any mail server throught which you are trying to send mail with back address like starman@cob9nyc.kikkonetworks.com rejects mail from you.
The workaround for this is to send a mail using a specific source address (like starman@starmanproductions.nl in your case) and not trust the sendmail itself in writing source address for you.

Best regards, Andrey
Juin
New Member

Re: sendmail is not working, please help!!!!!

reason: 553 cob9nyc.kikkonetworks.com does not exist

that's really simple. Check
nslookup -type=mx cob9nyc.kikkonetworks.com
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.

Please first, make your DNS repond well and most of your problems must be solved.