[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Relay.



On Sun, Jan 09, 2000 at 03:03:52PM +0100, Jacob wrote:
> Hi!
> 
> I have tried what you suggested but i still can't get it work. If i telnet
> from an outside computer to port 25 and do helo host, mail from: <email>
> and then rctp to: <email> it sais that it is ok. Can someone tell me
> exactly what to do and what to put in the file smtp-policy.relay ? Now
> that file looks like this:
> 
> Deimos:/usr/local/mail/var/db/proto# more smtp-policy.relay
> # localhost
> [127.0.0.1]/32
> # local networks
> [194.52.18.199]/255.255.255.255       fulltrustnet +
> [194.52.18.192]/255.255.255.255      fulltrustnet +
> [194.52.18.5]/255.255.255.255      fulltrustnet +

   These three are wrong; correct form is:  [194.52.18.199]/32

   You possibly want to allow entire subnet:  [194.52.18.0]/24
   Don't put any attributes at these lines either, unless you
   *really* need them.   The  policy-builder.sh  script adds
   needed attributes.

> # An outside computer
> [0.0.0.0]/0    rejectnet +

   This last one is the error.

   The  [0.0.0.0]/0  WILDCARD must exist *only* at the   smtp-policy.src
   at which you must pick one of four (well, three) variants for address
   and domain wildcards (latter one is ".")

> Deimos:/usr/local/mail/var/db/proto#
> 
> I would be deeply thankful if someone could help me with this. I really
> dont want to change to Sendmail :(
> 
> Best greetings from Sweden!
> 
> / Jacob J <jacob@raptor.funcoform.se>

-- 
/Matti Aarnio	<mea@nic.funet.fi>