From owner-freebsd-questions Sat Mar 23 15:36:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ares.blahz.ab.ca (h24-64-95-168.cg.shawcable.net [24.64.95.168]) by hub.freebsd.org (Postfix) with SMTP id 4E60F37B428 for ; Sat, 23 Mar 2002 15:35:59 -0800 (PST) Received: (qmail 25393 invoked by uid 508); 23 Mar 2002 23:36:03 -0000 Received: from bsd-lists@blahz.ab.ca by ares.blahz.ab.ca with qmail-scanner-1.01 (sweep: 2.9/3.55. . Clean. Processed in 12.455808 secs); 23 Mar 2002 23:36:03 -0000 Received: from unknown (HELO zeus) (24.64.93.70) by h24-64-95-168.cg.shawcable.net with SMTP; 23 Mar 2002 23:35:46 -0000 From: "Mike Roest" To: "'Gerard'" Cc: Subject: RE: qmail maybe ?? Date: Sat, 23 Mar 2002 16:35:35 -0700 Message-ID: <000201c1d2c3$719d6280$465d4018@zeus> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20020323231143.26193.qmail@web13106.mail.yahoo.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If you're using tcpserver to run the smtp daemon you need to ensure that the IP of the workstation is in your tcpserver rules set Ie you should have a file like tcp.smtp and you need to add a line like :allow,RELAYCLIENT="" Then run the command tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp This will rebuild the data base. This should allow your workstation to send to any domain without them being in the rcpthosts file --Mike -----Original Message----- From: Gerard [mailto:gms08701@yahoo.com] Sent: Saturday, March 23, 2002 4:12 PM To: Mike Roest Cc: freebsd-questions@freebsd.org Subject: RE: qmail maybe ?? It was suggested that I HUP qmail-send to reread the changes, and it worked like a charm. Thanks for that tip. Now one last question hivemind.trini0.org is the mail server (aka mail.trini0.org). My workstation is gladiator.trini0.org. In mozilla I set incoming and outgoing mail to be mail.trini0.org. I tried to send an email to my yahoo account and it complained about the recipient wasn't in my rcpthosts file. I enter yahoo.com on hivemind's rcpthost file and it went through, and I verified the message at yahoo. Is this the correct behaviour for outgoing mail?? If it is, then wouldn't it be dangerous to start dumping domains into this file?? --- Mike Roest wrote: > Hmmm odd have you restarted qmail? Cause if that is what is in > locals > you shouldn't be getting that error. > > > > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Gerard > Sent: Saturday, March 23, 2002 9:02 AM > To: freebsd-questions@freebsd.org > Cc: Mike Roest > Subject: RE: qmail maybe ?? > > > Ok, I entered > @ IN MX 10 hivemind.trini0.org. > into my dns file and HUPed named. > > I left /var/qmail/control/locals and rcpthosts as is with > localhost.trini0.org > hivemind.trini0.org > trini0.org > > I tried send an email from my yahoo account to gsam@trini0.org, and > Im > getting this bounce message -> > > Hi. This is the qmail-send program at hivemind.trini0.org. > 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. > > : > Sorry. Although I'm listed as a best-preference MX or A for that > host, > it isn't in my control/locals file, so I don't treat it as local. > (#5.4.6) > > --- Below this line is a copy of the messag > > > > > > > > > --- Mike Roest wrote: > > This is most likely a dns problem, Yep it is. As there is now MX > > record for you domain you should a a record something like this > > > > @ IN MX 10 mailserver.trini0.org. > > > > Where mailserver.trini0.org is your mailserver name. > > > > > > -----Original Message----- > > From: owner-freebsd-questions@FreeBSD.ORG > > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Gerard > > Sent: Friday, March 22, 2002 10:24 PM > > To: freebsd-questions@freebsd.org > > Subject: qmail maybe ?? > > > > > > Ok, Im trying to setup a mailserver running qmail. > > In both /var/qmail/controls/locals & rcpthosts I have -> > > localhost.trini0.org > > hivemind.trini0.org > > trini0.org > > > > I could send mail within the lan, and to users within a server. > > But Im unable to send mail from lets say my yahoo account to my > > mailserver. > > Im not sure if its a qmail or dns problem here... > > > > Here is a copy of the bounced mail -> > > > > Hi. This is the qmail-send program at hivemind.trini0.org. > > 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. > > > > : > > Sorry, I couldn't find any host named trini0.org. (#5.1.2) > > > > --- Below this line is a copy of the message. > > > > Return-Path: > > Received: (qmail 18114 invoked from network); 23 Mar 2002 04:56:30 > > -0000 > > Received: from web13102.mail.yahoo.com (216.136.174.147) > > by hivemind.trini0.org with SMTP; 23 Mar 2002 04:56:30 -0000 > > Message-ID: <20020323045629.43760.qmail@web13102.mail.yahoo.com> > > Received: from [68.39.132.244] by web13102.mail.yahoo.com via HTTP; > > > Fri, 22 Mar 2002 20:56:29 PST > > Date: Fri, 22 Mar 2002 20:56:29 -0800 (PST) > > From: Gerard > > Subject: test > > To: gsam@hivemind.trini0.org > > MIME-Version: 1.0 > > Content-Type: text/plain; charset=us-ascii > > > > test > > > > Please cc to gms08701@yahoo.com > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Movies - coverage of the 74th Academy AwardsR > > http://movies.yahoo.com/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Movies - coverage of the 74th Academy AwardsR > http://movies.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy AwardsR http://movies.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message