Host file
Tom Hallam
thallam at ee.uwa.edu.au
Sat Jun 3 18:44:26 WST 2000
Jon
The access file is used to create an access.db and that has to be
updated manually. Check the modification time of /etc/mail/access.db
and if it is before the mod time of /etc/mail/access you need to
update it (as root) using:
cd /etc/mail
makemap hash access <access
Tom Hallam
"Jon L. Miller" wrote:
>
> So If I have a file such as this:
> /etc/mail/access
> 192.168.1.1 RELAY
> 10.0.0.6 RELAY
> gooddomain.net RELAY
> baddomain.net 550 Mail from your domain is denied
> 192.168.1.10 550 Internet mail may not be sent from this host.
> If I wanted to set the RELAY to allow mail from 192.168.2.2, this would
> allow email to relay from the 192.168.2.2 on this mail server is that
> correct? Do I have to run any other program to get this information in the
> system?
>
> -----Original Message-----
> From: Matt Kemner [mailto:zombie at wasp.net.au]
> Sent: Friday, 2 June 2000 10:59 AM
> To: plug at plug.linux.org.au
> Subject: RE: Host file
>
> On Fri, 2 Jun 2000, Jon L. Miller wrote:
>
> > I assume this other domain for my home account can be set-up on the same
> > server, but that domain will need to be registered correct?
>
> Not if you are the only one that will be using it. Why register something
> in a global database if you don't want the world to know it's there?
>
> > send the e-mail from the home through this mail server. The error
> mentions
> > something to do with it not being able to relay.
>
> That's a mail server configuration problem.
> The mail server needs to be told, that it can receive mail from your home
> computers and send them on (relay them) to the outside world.
>
> By default all mailservers are now configured to not relay for anyone,
> because otherwise joe spammer in portugal could use your mailserver to
> send his SPAM.
>
> If you're using smail, you can enable relaying for your network by
> configuring the line:
>
> smtp_remote_allow=192.168.1.*
>
> where 192.168.1.* is the IP range for your network.
>
> If you're using postfix, set up the lines:
>
> mynetworks = 192.168.1.0/24
> smtpd_recipient_restrictions = permit_mynetworks
>
> to match your domain.
>
> - Matt
--
*****************************************************************
Tom Hallam ph: (08) 9380 1634
Information Systems Manager. fax: (08) 9380 1065
Dept. Electrical and Electronic Engineering. mobile: 0410 453 630
University of Western Australia rm: G72
http://www.ee.uwa.edu.au/~thallam mailto:thallam at ee.uwa.edu.au
*****************************************************************
More information about the plug
mailing list