Bug 85921 - can send emails but cannot receive emails
can send emails but cannot receive emails
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-03-10 16:25 EST by Dwaine Thomas
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-03-17 10:54:00 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dwaine Thomas 2003-03-10 16:25:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
edited /etc/sendmail.mc and commented out the following two lines,
dn1 DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')
dn1 DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')

ran the M4...no errors.  restarted sendmail(/etc/init.d/sendmail restart).

sent email to this machine, but did not get email.  looked at /etc/sendmail.cf
and at the very end was the problem,

# SMTP daemon options

O DaemonPortOptions=Port=smtp,Addr=, Name=MTA
O DaemonPortOptions=port=smtp,Addr=::1, Name=MTA-v6, Family=inet6

these two lines should have been commented out from the M4.  I manually
commented these out(although, you advise not to edit this file) and now I get
email.  Bug in the M4?

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.in sendmail.mc, comment out two DAEMON...lines
2.run M4
3.restart sendmail
4.test sending to machine

Actual Results:  no email

Expected Results:  email

Additional info:
Comment 1 Need Real Name 2003-03-14 18:02:23 EST
You realize in your "Description of problem" you are commenting out with
dn[one] not dn[el] - it's correctly dn[el] - "dnl".  Is this just a typo in
the bug report or what's actually in the .mc file?
Comment 2 Dwaine Thomas 2003-03-17 10:54:00 EST
mitch@theneteffect.com was correct.  I had inserted by mistake dn1 and not dnl 
for the two DAEMON...lines in the sendmail.mc file.  I now put dnl in the .mc 
file, recompiled with M4, restarted sendmail, and it works; checked the 
sendmail.cf file and the appropriate lines are commented out.  Thanks for 
catching this.

Note You need to log in before you can comment on or make changes to this bug.