[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Chuck (moongroup)



On Sat, 31 Jul 1999, Gerry Doris spewed into the bitstream:

> Chuck, I also sent you an email that bounced.

Can I see the bounce message please?

> I downloaded and installed your latest sendmail rpm.  Since I installed it
> I have been getting relay errors from localhost.  It says it isn't a valid
> domain.  I checked and relaying from localhost is enabled by default.  I'm
> not sure how to fix this???

I'm not either... I'd need to see two things... the actual error message and the
.mc file you're using. If you're using the default version which came with that
rpm you will want to make some adjustments if your system is a "home" user
system using a dial-up. Have a look at the file /usr/lib/sendmail-cf/cf/lunar.mc
and compare it to this:

divert(-1)
dnl This is the macro config file used to generate the /etc/sendmail.cf
dnl file. If you modify thei file you will have to regenerate the
dnl /etc/sendmail.cf by running this macro config through the m4
dnl preprocessor:
dnl
dnl        m4 /etc/sendmail.mc > /etc/sendmail/cf
dnl
dnl You will need to have the sendmail-cf package installed for this to
dnl work.
include(`../m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
define(`confAUTO_REBUILD')
define(`confTO_CONNECT', `1m')
define(`confTRY_NULL_MX_LIST',true)
define(`confDONT_PROBE_INTERFACES',true)
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
FEATURE(`smrsh',`/usr/sbin/smrsh')
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
MAILER(procmail)
MAILER(smtp)
FEATURE(`access_db')
FEATURE(`blacklist_recipients')
dnl We strongly recommend to comment this one out if you want to protect
dnl yourself from spam. However, the laptop and users on computers that do
dnl not hav 24x7 DNS do need this.
FEATURE(`accept_unresolvable_domains')
dnl FEATURE(`relay_based_on_MX')

This is the default redhat.mc file which comes with RH6. It's very
uuuuuuhhhhhhhhhmmmm... "open" <grin>. lunar.mc, on the other hand would be
appropriate for an ISP or a corporate service provider. To see my comments about
what's been added to that rpm do rpm -qpil sendmail-8.9.3-12LP.src.rpm.

If you're using that rpm on a "home" user system the lunar config is way, way
more than what you need.

On the subject of bounces... if you're sending email from a dial-up straight to
my system it will not work... you have to configure your system to masquerade
the envelope and relay off of your isp's MTA or it won't work. If spam wasn't
such a problem this wouldn't be this way but it is and if your mail doesn't have
a valid envelope it's gonna bounce. See
http://www.moongroup.com/how-to.phtml#envelope for the fix!

To learn more about sendmail and how to properly configure it see my .sig
below!

-- 
Chuck Mead, CTO, MoonGroup Consulting, Inc. <http://moongroup.com> 
Mail problems? Send "s-u-b-s-c-r-i-b-e mailhelp" (no quotes and no
hyphens) in the body of a message to mailhelp-request moongroup com 
                              



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]