From owner-freebsd-questions Sun May 5 20: 3:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from prima.connect1.ca (prima.connect1.ca [216.138.233.232]) by hub.freebsd.org (Postfix) with ESMTP id EDB8137B41B for ; Sun, 5 May 2002 20:03:39 -0700 (PDT) Received: from connect1.ca (localhost.connect1.ca [127.0.0.1]) by prima.connect1.ca (Postfix) with SMTP id D8D2464C01; Sun, 5 May 2002 23:03:31 -0400 (EDT) Received: from 192.168.1.5 (SquirrelMail authenticated user franka) by www.connect1.ca with HTTP; Sun, 5 May 2002 23:03:31 -0400 (EDT) Message-ID: <1234.192.168.1.5.1020654211.squirrel@www.connect1.ca> Date: Sun, 5 May 2002 23:03:31 -0400 (EDT) Subject: Re: Mail loops back to myself From: "BSD Questions" To: In-Reply-To: <1020600838.3cd522066d4d3@mail.broadpark.no> References: <1020600838.3cd522066d4d3@mail.broadpark.no> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: Reply-To: bsdquestions@connect1.ca X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Well, when you get the issue of mail loops back to myself, this means that your DNS is setup to send the mail to a machine which is not setup to accept the mail. What you need to do is make sure that postfix is setup to accept mail for ninja.amphex.com. You have provided this info. mydestination = $myhostname, localhost.$mydomain, $ninja.mydomain, $mydomain Postfix will accept mail for any sub domain for $mydomain. I am assuming that $mydomain is equal to amphex.com. If it is not, then you may want to add that. Your configuration may have a problem in the mydestination. you have entered $ninja.mydomain, but what should be there is ninja.$mydomain. The Dollar Sign is in the wrong spot. Not sure if you have just mistyped it in this email. Frank A. > > Hi. > > I'm running a Postfix mail-gateway. I'm sending my e-mails from my > Postfix workstation, though I need to recieve them through my gateway. > > I've tried exporting /var/mail, but that seems like bullshit. At the > moment I'm giving fetchmail a try, but I havn't really gotten the > chance to 'fetch' anything yet. > > My configurations are as followed: > > main.cf: > > mydestination = $myhostname, localhost.$mydomain, $ninja.mydomain, > $mydomain mynetworks = 192.168.0.0/8, 127.0.0.0/8 > > Aliases for my workstation's users have been added to /etc/aliases and > I've done both newaliases and postalias (which one do I need?). > > But, whether I send a mail to user 'johann' on my gateway or user > 'johann' on my workstation, I get this reply: > > ----- Forwarded message from Mail Delivery System > ----- > Date: Sun, 5 May 2002 13:57:51 +0200 (CEST) > From: Mail Delivery System > Reply-To: Mail Delivery System > Subject: Undelivered Mail Returned to Sender > To: johann@broadpark.no > > This is the Postfix program at host muay.amphex.com. > > I'm sorry to have to inform you that the message returned > below could not be delivered to one or more destinations. > > For further assistance, please send mail to > > If you do so, please include this problem report. You can > delete your own text from the message returned below. > > The Postfix program > > : mail for ninja.amphex.com loops back to > myself > > ----- End forwarded message ----- > > Would anyone know? > > Thanks. > > -- Johann To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message