[nos-bbs] relaying denied
n6mef at mefox.org
n6mef at mefox.org
Fri Mar 30 22:18:59 EDT 2018
OK Thanks.
Michael
-----Original Message-----
From: nos-bbs <nos-bbs-bounces at tapr.org> On Behalf Of Maiko Langelaar
Sent: Friday, March 30, 2018 2:39 PM
To: TAPR xNOS Mailing List <nos-bbs at tapr.org>
Subject: Re: [nos-bbs] relaying denied
Oh dear, it would seem that I did not document this at all, it was written
originally because I got tired of not being able to reply to my emails using
email clients outside my JNOS subnet, from this little note in smtpserv.c :
* 17Sep2008, Maiko (VE4KLM), By default we will deny SMTP relay, however
* there may be outside subnets that we want to allow for. For example, I
* use my Thunderbird email client at work to check my JNOS system for new
* mail. It would be nice if I could reply to those systems outside my JNOS
* box, but the existing SMTP_DENY_RELAY code prevents that. So, this new
* code allows me to create an SDR exception list (ip/netmask) to allow.
I will need to make sure it's documented, here it is 'now' (very sorry) :
#define SMTP_DENY_RELAY
#define SDR_EXCEPTION
rm smtpserv.o smtpcli.o version.o ; make
here are a couple of examples to put into autoexec.nos :
smtp relay add 1.2.3.4 0xffffffff
smtp relay add 192.168.100.0 0xffffff00
IF you have a box outside of your JNOS subnet, and you want to be able
to send mail via JNOS then you need to add entries similar to the above,
for instance from work, I wanted to be able to read and send to my JNOS
using thunderbird, completely different network. The top one obviously
is an entry for a single IP (netmask 255.255.255.255), the one below is
for any IP on 192.168.100 (old class C I guess) subnet.
Reminds me, years ago I could have sworn the syntax was 255.255.255.0,
but I find I've had to use hexidecimal instead (maybe I switched to an
incorrect function parsing this, don't remember), 0xffffff00 instead.
On Tue, 27 Mar 2018, Michael Fox - N6MEF wrote:
> I’m getting “relaying denied” when I send to any address in the cc: list.
Maiko
More information about the nos-bbs
mailing list