Mon Aug 23 14:06:45 BST 1999
Kevin O'Connor wrote:
> >Just upgraded the server from 2.7 to 3.2 and all out going mail is returned
> >with refused relay and my daily run output shows rejected mail hosts.
> I> assume this implmentation of smtp will not relay by default but I need an
> >open relay server how do I alter it.
> Haveing played about with this problem over the weekend I've settled
> on creating "/etc/mail/relay-domains" and just putting the domains that can
> relay through us in there ( not the best approach as all my home users have to
> have their ISPs listed.) I would have liked to use the access_db approach but I
> can't seem to get sendmail to read it( I've put it in /etc/mail/access) so if
> anyone has this method working a few(lots) of pointers would be nice.
I think you'll find that you need to _manually_ create a database file
using the following command:
makemap hash /etc/mail/access.db < access
More information about the Ukfreebsd