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('[EMAIL PROTECTED]', 'test', 'hello world!', 'null', '-f
[EMAIL PROTECTED]') 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ruben Bloemgarten
Sent: December 28, 2005 4:35 PM
To: [EMAIL PROTECTED]
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('[EMAIL PROTECTED]', 'test', 'hello world!', 'From:
[EMAIL PROTECTED]') 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 

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


-- 
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
 

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to