I know this isn't what you asked.

Change to postfix?

Having said that, I found the FAQ pages on www.sendmail.org to be really
helpful before I changed to postfix, and generally most problems were solved
by beating my head against them for a wee while.  

Cheers,  Chris Hellyar.

Selwyn District Council
Phones: X 831 (03)324 5831 (021) 350 603
<This message has not been inspected by the Chief Censors office>



-----Original Message-----
From: Guy Steven [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 3 October 2001 14:40
To: 'CLUG'
Subject: send mail and relaying



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.

######################################################################
The  contents  of  this  e-mail  message  may   be  privileged  and/or
confidential. If you are not the  intended recipient please delete the
message and notify the sender. 

Any views or opinions presented are solely those of the author, and do
not necessarily represent the official  position of the Selwyn District 
Council
######################################################################

Reply via email to