>>>>> "Deepan" == Deepan  <[EMAIL PROTECTED]> writes:

Deepan> Hi All, I am using sendmail via php mail function to send
Deepan> emails. However few servers reject my mails with the error
Deepan> 'Sender address rejected: Domain not found', since mails from
Deepan> my server are sent as [EMAIL PROTECTED] How do I
Deepan> change this to a valid domain name ? We only own a public IP.
Deepan> we dont really have a domain name, is it possible to use IP ? 


There're three issues that could be biting you.

Your server's `HELO' name.  This should be a real name, even if it's
not visible from the world.  That means your machine has to be given a
(real or fake) FQDN.  I'd suggest using the name of your MX.

The envelope mail address used to send mail.  If the mail is from a
particular domain, use it.

The actual From: header.  This one also has to be real.

Many MXs now are configured to verify sender addresses either by opening a
connexion to the MTA that's meant to handle both From: and envelope
addresses, and checking that a bounce message would be deliverablem or
at least looking up the sender address to see if it has either A or MX
records.

If  a bounce message would not be deliverable, then they won't accept
the email. 

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to