Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2005 18:03:44 +0100
From:      "Ruben Bloemgarten" <rubenl@bloemgarten.demon.nl>
To:        <freebsd-isp@freebsd.org>
Cc:        questions@freebsd.org
Subject:   RE: sendmail-submit and envelope-from 
Message-ID:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAWk27stpn1EeEJTAPYrt2mMKAAAAQAAAAgdHitB8Qf0+XAAQAsQaSQwEAAAAA@bloemgarten.demon.nl>
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAWk27stpn1EeEJTAPYrt2mMKAAAAQAAAAeIx2yzy5JkykvwF9vDo6IwEAAAAA@bloemgarten.demon.nl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi all, 

A pity nobody came up with any ideas, oh well. I decided to just change to
php syntax instead ( I'd still really like to now what was different in the
'working' setup though). It now reads <?
mail('someone@somewhere.something.com', 'test', 'hello world!', 'null', '-f
someonelse@elsewhere.something') or die('error');
?>

The submit is still very slow, it takes approximately 3 seconds per mail.
Hmmm, I suppose I'll just have to delve into that wonderfull world called
sendmail even deeper. Unless, unless, maybe someone does have a pointer or
two ??

Anyway, thanks. (not being sarcastic here) 

Regards, 
Ruben 

-----Original Message-----
From: owner-freebsd-isp@freebsd.org [mailto:owner-freebsd-isp@freebsd.org]
On Behalf Of Ruben Bloemgarten
Sent: December 28, 2005 4:35 PM
To: freebsd-isp@freebsd.org
Subject: sendmail-submit and envelope-from 

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 

_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 12/27/2005

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 12/27/2005
 




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