I have having trouble configuring sendmail. I though I had it right, but it
obviously isn't.

I have a rh7 box acting as a mail server. It sits behind another rh7 box
running Clark Connect as a firewall.
This box sits behind a nokia adsl modem connected to jetstream with paradise
as the ISP.

I have a domain mydomain.co.nz with a static IP address.

port 25 is pinholed through to the mail server. Now that the domain & static
IP address are up and running, mail can't be received. I get a message to
say relaying not allowed.

I gave the access_db feature enabled and the current access file looks like
this:

# Check the /usr/doc/sendmail-8.9.3/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/doc/sendmail-8.9.3/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
192.168.1                       RELAY
# Entries from obsoleted /etc/mail/deny
# Entries from obsoleted /etc/mail/relay_allow
# Entries from obsoleted /etc/mail/ip_allow
# Entries from obsoleted /etc/mail/name_allow

the current sendmail.cf file is based on the following
 cat st1new.*

include(`../m4/cf.m4')
VERSIONID(`st1's setup testing delayed smtp delivery')dnl
OSTYPE(`linux')
FEATURE(access_db, hash -o /etc/mail/access)dnl
FEATURE(nodns)dnl
FEATURE(nocanonify)
FEATURE(always_add_domain)
FEATURE(local_procmail)
define(`confDIAL_DELAY', `20s')
define(`SMTP_MAILER_FLAGS', `e')
define(`SMART_HOST',`smtp:smtp.paradise.net.nz')
MAILER(smtp)
MAILER(procmail)

I had previously tested the system by sending mail directly to the ip
address from a windows mail client connected via a different ISP and it
worked. Now mail addressed to [EMAIL PROTECTED] gets rejected.

Can anyone advise what  I need to do to get this working.

Reply via email to