[WBEL-users] Need Help Configuring Sendmail

Francisco A. Lozano fralolo@factoryw.com
Mon, 19 Jan 2004 22:43:33 +0100


Anyone who *NEEDS* sendmail knows how to configure it... otherwise, you
don't *NEED* it - then you'd better use postfix ;)

----- Original Message ----- 
From: Shapiro, Mark
To: whitebox-users@beau.org
Sent: Monday, January 19, 2004 10:08 PM
Subject: [WBEL-users] Need Help Configuring Sendmail


I am running WBEL-3.0, and I am having difficulty configuring sendmail.

I installed the sendmail-cf program from disk #3.

Then I commented out the line

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

Then I tried  make -C /etc/mail

But nothing was changed.

I also tried  m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

That produced a new sendmail.cf file.

I rebooted and tried to send mail from the machine using the mail program as
follows

mail mshapiro@fullerton.edu < testfile

This fails with the following error message:

The original message was received at Mon, 19 Jan 2004 11:34:54 -0800
from ion4 [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<mshapiro@fullerton.edu>
    (reason: 501 5.1.8 Domain of sender address
mshapiro@localhost.localdomain does not exist
t)

   ----- Transcript of session follows -----
... while talking to mail2.fullerton.edu.:
>>> MAIL From:<mshapiro@localhost.localdomain> SIZE=364
<<< 501 5.1.8 Domain of sender address mshapiro@localhost.localdomain does
not exist
501 5.6.0 Data format error

--i0JJYsoU002704.1074540894/localhost.localdomain
Content-Type: message/delivery-status

Reporting-MTA: dns; localhost.localdomain
Received-From-MTA: DNS; ion4
Arrival-Date: Mon, 19 Jan 2004 11:34:54 -0800

Final-Recipient: RFC822; mshapiro@fullerton.edu
Action: failed
Status: 5.1.8
Diagnostic-Code: SMTP; 501 5.1.8 Domain of sender address
mshapiro@localhost.localdomain doe
s not exist
Last-Attempt-Date: Mon, 19 Jan 2004 11:34:54 -0800

--i0JJYsoU002704.1074540894/localhost.localdomain
Content-Type: message/rfc822

Return-Path: <mshapiro@localhost.localdomain>
Received: from localhost.localdomain (ion4 [127.0.0.1])
        by localhost.localdomain (8.12.10/8.12.10) with ESMTP id
i0JJYsoU002702
        for <mshapiro@fullerton.edu>; Mon, 19 Jan 2004


If I use the Evolution mail program to send a mail message, then the mail
gets sent properly.

I also cannot send mail to the machine:  The error messages look like the
following:

Your message did not reach some or all of the intended recipients.

      Subject:             Test message
      Sent:                 1/19/2004 11:23 AM

The following recipient(s) could not be reached:

      mshapiro@ion4.fullerton.edu on 1/19/2004 11:23 AM
            You do not have permission to send to this recipient.  For
assistance, contact your system administrator.
            < mail3.fullerton.edu #5.7.1 SMTP; 550 5.7.1
<mshapiro@ion4.fullerton.edu>... Relaying denied>


I've probably failed to configure something in the system properly.  Any
suggestions for correcting the sending problem (needed to send mail from
some scripts I use), and for correcting the receiving problem would be
greatly appreciated.

Sincerely,

Dr. Mark H. Shapiro
Professor of Physics, Emeritus
California State University, Fullerton
Phone: 714 278-3884
FAX: 714 278-5810
email: mshapiro@fullerton.edu
web: http://chaos.fullerton.edu/Shapiro.html
travel and family pictures:
http://community.webshots.com/user/mhshapiro