From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 21:43:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CBA216A41F for ; Thu, 29 Dec 2005 21:43:17 +0000 (GMT) (envelope-from rubenl@bloemgarten.demon.nl) Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id E211E43D72 for ; Thu, 29 Dec 2005 21:43:14 +0000 (GMT) (envelope-from rubenl@bloemgarten.demon.nl) Received: from axelds.demon.nl ([83.160.138.74]:37798 helo=abubbletprpdda) by post-22.mail.nl.demon.net with esmtp (Exim 4.51) id 1Es5YG-0000tX-5X for freebsd-questions@freebsd.org; Thu, 29 Dec 2005 21:43:12 +0000 From: "Ruben Bloemgarten" To: Date: Thu, 29 Dec 2005 22:42:48 +0100 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Thread-Index: AcYMwM+gVbVUAppURIiq2Or0iP8vlw== Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: sendmail-submit and envelope-from X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ruben@bloemgarten.demon.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 21:43:17 -0000 Hi all, I hope someone could help me out with the following : On 5.4 I'm running a few jails, one of which is running the mail::toaster incarnation of qmail. All is well. From another jail I want to use a php script to generate mailings rewriting the envelope-from: This does work on a different system, not running on jails with a non ports compile of qmail (not installed by me). The main difference here being that on the 'working system', the mail-sendmail wrapper is used instead of sendmail. So I went and tested the same script on the qmail jail, which has the same 'problem' as sendmail does from the other jail. So something seems to have been changed on this setup to allow this behaviour (I assume having 'From', rewrite both return address and the envelope-from). I can't for the life of me figure out what. Oh, and unrelated but also annoying is the submit from the different jails to the qmail jail is a bit slow. Any pointers anyone ? Thanks, Ruben ( I already sent this to isp-freebsd, but I'm guessing questions might also have some answers)