From owner-freebsd-questions@FreeBSD.ORG Wed Jan 17 00:28:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A48C16A407 for ; Wed, 17 Jan 2007 00:28:10 +0000 (UTC) (envelope-from gbentley@uk2.net) Received: from pih-relay04.plus.net (pih-relay04.plus.net [212.159.14.131]) by mx1.freebsd.org (Postfix) with ESMTP id 02A4013C45B for ; Wed, 17 Jan 2007 00:28:09 +0000 (UTC) (envelope-from gbentley@uk2.net) Received: from [81.174.174.115] (helo=MAIN) by pih-relay04.plus.net with smtp (Exim) id 1H6xIu-00077o-ML for freebsd-questions@freebsd.org; Tue, 16 Jan 2007 23:01:20 +0000 Message-ID: <000901c739c2$35465970$1c07a8c0@MAIN> From: "Graham Bentley" To: References: <20061124231653.DB34F16A56F@hub.freebsd.org> Date: Tue, 16 Jan 2007 23:01:07 -0000 Organization: Custom PC North West MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 X-Mailman-Approved-At: Wed, 17 Jan 2007 01:02:52 +0000 Subject: Help with mail Forwarding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Graham Bentley List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 00:28:10 -0000 Hi All, I was hoping someone might throw me a few pointers on the following ; I have FreeBSD 6.1 setup, running Apache / PHP / MySQL etc In aliases I specify my most used ISP pop address and all mail for root gets sent there from Charlie - this works great. I am testing an osc cart and the two option for mail from the cart are SMTP and mail() - guessing php mailer here. I get absolutely nowhere with the SMTP method with mailing causing Jan 16 22:13:24 rackserver sm-mta[82321]: l0GMDOII082321: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to Daemon0 however with the mail() method I can see mail for admin (specified in osc cart) appearing in /var/mail/admin (editted this line in my /usr/local/etc/php.ini ; sendmail_path = /usr/sbin/sendmail -t -i) and can read it and it contains what I expect however in my /home/admin I have a .forward file (theres also an mbox) specifying the same most used ISP pop address but mail never makes it there? If I log into to console as admin I can read the mail and it gets saved to mbox but my .forward is ignored. Where am I going wrong ? Thanks !!!