Hi All,
I have a config file in /etc/tcp.smtp which contains the following:
24.26.:allow,RELAYCLIENT=""
212.159.:allow,RELAYCLIENT=""
216.:allow,RELAYCLIENT=""
206.154.:allow,RELAYCLIENT=""
195.8.:allow,RELAYCLIENT=""
:allow
I then use the following to turn it into a binary, stored into
/etc/tcp.smtp/cdb
tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp
Then in my start-up script I run tcpserver like this :
/usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -u 112 -g 104 0 smtp
/var/qmail/bin/qmail-smtpd &
But I can't relay any email, the error I got when the email was returned
is.
and my ISDN dial IP address is 212.159.51.38, so it should go through.
Hi. This is the qmail-send program at merlins.force9.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>:
195.224.150.194 does not like recipient.
Remote host said: 550 Relaying is prohibited
Giving up on 195.224.150.194.
--- Below this line is a copy of the message.
Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 16659 invoked from network); 10 Aug 2000 08:17:39 -
Received: from ruin.servers.plus.net.uk (212.159.2.66)
by merlins.plus.net.uk with SMTP; 10 Aug 2000 08:17:39 -
Received: (qmail 25749 invoked from network); 10 Aug 2000 08:01:45 -
Received: from dyn38-51.sftm-212-159.plus.net (HELO NSLimited)
(212.159.51.38)
by ruin.servers.plus.net.uk with SMTP; 10 Aug 2000 08:01:45 -
Message-ID: <002301c002a1$b3de62a0$26339fd4@NSLimited>
Reply-To: "Kevin Smith" <[EMAIL PROTECTED]>
From: "Kevin Smith" <[EMAIL PROTECTED]>
To: "Wendell E. Ray" <[EMAIL PROTECTED]>
Subject: Test
Date: Thu, 10 Aug 2000 09:05:08 +0100
Organization: Lemon Lainey Design
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 1
X-MSMail-Priority: High
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Test
The bizarre thing about all this is my defaultdomain is
dwshop2.dedic.web.xara.net, if I send an email there is works fine and
doesn't get bounced.
I do have the domain iin.org in the /var/qmail/control/locals and
/var/qmail/control/rcpthosts file, I also have in the virutaldomains file
the following :
iin.org:wendray
Does anyone have any ideas? Could any who replies, also reply to
[EMAIL PROTECTED]
Many thanks,
Kevin Smith
- Original Message -
From: "Brett Randall" <[EMAIL PROTECTED]>
To: "qmail" <[EMAIL PROTECTED]>
Sent: Thursday, August 10, 2000 2:01 AM
Subject: RE: /etc/init.d problems
> OK, you are obviously a little new to this...
>
> > Have I got this correct, if I put the following line in a file called
> > qmail-tcpserver in the directory /etc/init.d when the server is
rebooted,
> > this should be automatically restarted?
> You virtually asked this question twice so I will answer it once...Check
> your OS documentation. If you're running Solaris, then I'd damn well make
> sure that you know how to put things into startup scripts!
>
> Also, read the info on using tcpserver either in Life With qmail or on
> www.qmail.org. Use of qmail with inetd is no longer encouraged, use
> tcpserver instead.
>
> > My host is 212.159 and I can't relay... :-(
> That is because the config file should be tcp.smtp, not tcp.smtp.cdb.
> tcp.smtp.cdb is a binary version of tcp.smtp, and must be converted via
> (with the correct paths, of course):
> /usr/local/bin/tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp <
/etc/tcp.smtp
> each time you change /etc/tcp.smtp.
>
> Regards
>
> Brett Randall
>
> Manager
> InterPlanetary Solutions
> http://ipsware.com/
>
>
Kevin Smith
Netsmith Limited
http://www.netsmith.ltd.uk