Still troubles with mail envelope sender

Hi all

I wonder if I’m the only one with that problem or if there are others…

To get a real envelope sender I choose to user the sendmail ‘perl’ mailer
and set:

$SendmailArguments="-f<postmaster@example.com>";

But I run into the problem of the Perl Mail Module setting a ‘sender’ header
in the mail containing the user the webserver runs under ‘www-date’ that
confuses a lot of MTA, especialy Lotus Notes and Outlook who then display
that the mail was sent from www-data@localhost in behalf of ‘queuename’.

Some of our customers then reply to the www-data@localhost header instead of
the queue thus those mails get lost.

Now I searched the archive and found out that some people apparently have
managed to use sendmailpipe and specify the envelope sender there.

So I tryed to use it with those arguments:
$SendmailArguments="-t -oi -f<postmaster@iphpa.ch>";

But still no change, this does not work and I don’t even find any error
messages.
As soon as I remove -f<postmaster@iphpa.ch> it works again, but the
envelope is www-data@localhost so the mails don’t get accepted by external
servers.

Has somebody found any solution to that problem?

Another small flaw I’ve found…
RT does not set a charset in the mailheader…

Some MTA translate this to Charset: unknown-8bit.
Know what, some Mail-Clients then tell you, they cannot read the mail
because of an unknown charset…

Benoit Panizzon

IPH & Partner AG
Birmensdorferstrasse 24
CH - 8902 Urdorf
Tel. +41 (0)1.736.40.50 Fax: +41 (0)1.736.40.51
Mail: bpanizzon@iphpa.ch www.iphpa.ch

Die Informationen in dieser E-Mail sind vertraulich und moeglicherweise
rechtlich geschuetzt. Sie sind nur fuer den Adressaten bestimmt. Der
Zugriff durch andere Personen ist nicht erlaubt. Wenn Sie nicht der
beabsichtigte Empfaenger sind, loeschen Sie bitte dieses E-Mail. Jede
Offenlegung dieser E-Mail bzw. der beteiligten Personen, jedes Kopieren,
Versenden oder jede andere Handlung bzw. Unterlassung als Folge dieser
E-Mail ist verboten und kann gegen die Gesetze verstossen.

The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee. Access by another
person ist not authorized. If you are not the intended recipient, please
delete this e-mail. Any disclosure of this e-mail or of the parties to
it, any copying, distribution or any action taken or omitted to be taken
in reliance on it is prohibited, and may be unlawful.

But I run into the problem of the Perl Mail Module setting a ‘sender’ header
in the mail containing the user the webserver runs under ‘www-date’ that
confuses a lot of MTA, especialy Lotus Notes and Outlook who then display
that the mail was sent from www-data@localhost in behalf of ‘queuename’.

Now I searched the archive and found out that some people apparently have
managed to use sendmailpipe and specify the envelope sender there.

Any searches should have found references to the old rtfm article that
discusses this, and the solutions. It’s somewhere off http://fsck.com/rtfm/

seph