Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2005 16:35:02 +0100
From:      "Ruben Bloemgarten" <rubenl@bloemgarten.demon.nl>
To:        <freebsd-isp@freebsd.org>
Subject:   sendmail-submit and envelope-from 
Message-ID:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAWk27stpn1EeEJTAPYrt2mMKAAAAQAAAAeIx2yzy5JkykvwF9vDo6IwEAAAAA@bloemgarten.demon.nl>

Next in thread | Raw E-Mail | Index | Archive | Help
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:

<?
mail('someone@somewhere.something.com', 'test', 'hello world!', 'From:
someonelse@elsewhere.something') or die('error');
?> 

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 




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAWk27stpn1EeEJTAPYrt2mMKAAAAQAAAAeIx2yzy5JkykvwF9vDo6IwEAAAAA>