Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2005 22:42:48 +0100
From:      "Ruben Bloemgarten" <rubenl@bloemgarten.demon.nl>
To:        <freebsd-questions@freebsd.org>
Subject:   sendmail-submit and envelope-from 
Message-ID:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAWk27stpn1EeEJTAPYrt2mMKAAAAQAAAAAehQ6sFv0U6qSKFGVj5hfwEAAAAA@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

 

( I already sent this to isp-freebsd, but I'm guessing questions might also
have some answers)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAWk27stpn1EeEJTAPYrt2mMKAAAAQAAAAAehQ6sFv0U6qSKFGVj5hfwEAAAAA>