under 7.2 the sendmail daemon actually only listens on 127.0.0.1 when it
comes out of the box.

you need to amend
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

probably to:
DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')

in
/etc/mail/sendmail.mc

Then run:
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

to make it listen on all IP addresses.

Bernhard Luder

This electronic mail is solely for the use of the addressee and may contain
information that is confidential or privileged.  If you receive this
electronic mail in error, please delete it from your system immediately and
notify the sender by electronic mail.




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Grant Parnell
Sent: Monday, December 24, 2001 8:42 AM
To: Alan L Tyree
Cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] Redhat 7.2 sendmail


On Thu, 20 Dec 2001, Alan L Tyree wrote:

> Help, please,
>
> I just make the (perhaps serious) mistake of upgrading a Redhat 7
> installation to 7.2.
>
> I know that the default sendmail configuration is funny, so changed it
> according to stuff in the archives.

What did you change?

>
> Still no joy popping mail from my servers - I get this message:
>
> ----------------
> fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]>
> fetchmail: SMTP< 550 5.0.0 Access denied
> fetchmail: SMTP> RSET
> fetchmail: SMTP< 250 2.0.0 Reset state
>  flushed
> fetchmail: POP3> DELE 2
> -----------------
>
> This happens with every message on the server. I get no local
> delivery. The maillog shows:
>
> Dec 20 17:13:15 sage sendmail[3194]: fBK6DFo03194: tcpwrappers (localhost,
127.0.0.1) rejection
> Dec 20 17:13:17 sage sendmail[3194]: NOQUEUE: localhost [127.0.0.1] did
not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
>
> for each message that is trashed.

OK I read ahead for the replies but every one of them missed the point.
Fetchmail in this case is picking up mail OK from the pop server but then
tries to deliver mail locally. It does this by making an SMTP connection
to the local sendmail. In this case you've somehow denied the local
machine from doing this. Please adjust your /etc/mail/access file here's
mine which I think is the default. (I went from RH7.0 to 7.1 to 7.2 using
upgrades).

# Check the /usr/share/doc/sendmail-8.11.6/README.cf file for a
description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail-8.11.6/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain           RELAY
localhost                       RELAY
127.0.0.1                       RELAY

Note you could also add
192.168.1.                      RELAY
to allow your local workstations to RELAY (ie send email) through this
machine assuming you're using 192.168.1.x addresses.

After you make changes in /etc/mail it's usually a good idea to run 'make'
within that directory. This should cure your problem.

Other possible stuffups could include /etc/sysconfig/sendmail having
DAEMON=no instead of DAEMON=yes, or simply not having sendmail running but
I think it is running in daemon mode in your case. Also, check over
/etc/mail/local-host-names if you're doing multiple domains. (It's the old
/etc/sendmail.cw just moved. It has one domain per line.)

--
---<GRiP>---
Web: www.arcadia.au.com/gripz
Phone/fax: 02 4950 1194
Mobile: 0408 686 201

--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to