[mdlug] Sendmail configuration

Robert Meier list1c30fe42 at bellsouth.net
Wed Mar 19 22:54:21 EDT 2008


Deepan,

> First rule of sendmail debugging -- go download and
> install the latest version of sendmail before
> doing anything else.

Second rule of sendmail debugging -- read RFC 2822, and then the
comments (not the code) in the sendmail.cf file.

After the above, you will probably want to use your distributions
mail transport agent configurator (e.g. yast2 mail for SuSE)
rather than change the domain setting "Dj" (j for ??? ) directly.

>> However [a] few servers reject my mails with
>> the error 'Sender address rejected: Domain not
>> found' since mails from my server are sent as
> email at localhost.localdomain.

localhost.* is not a valid host identifier,
it is a reserved name for the host where it is being used.
Like ip address 0.0.0.0 or "resident" on a smail envelope,
it is only a placeholder.

These servers are trying to cut down internet spam by
rejecting mail sent anonymously.

> We only own a public IP [address].

Your domain name is normally that of your ISP.
(If in doubt, ask your ISP.)

> We dont really have a domain name, is it possible to use IP [address]? 

You can use your IP address, but sites that reject anonymous mail
(e.g. localhost.*), will probably also reject any ip address
without an MX record.

Hopefully helpful,
-- 
Bob

  "Part of the inhumanity of the computer is that,
   once it is competently programmed and working smoothly,
   it is completely honest."
     -- Isaac Asimov



More information about the mdlug mailing list