[rt-users] Autoreply by nobody
Nicolas Mailhot
Nicolas.Mailhot at one2team.com
Fri Sep 13 10:47:01 EDT 2002
Le ven 13/09/2002 à 16:31, Kirill Miazine a écrit :
> * Nicolas Mailhot [2002-09-13 16:17]:
> > > 2) missing $From in:
> > > open(MAIL, "|$RT::SendmailPath $From $RT::SendmailArguments")
> > > ^^^^^ <- this is -f sender at you.hoo
> >
> > Damn, missed this.
> > This means your workaround only works with senmailpipe, right ?
>
> It can work with the other one too, I happen to use senmailpipe.
>
> > > > Could you please enlighten me on what your code should do (seems I'm
> > > > good for a perl crash course anyway:()
> > >
> > > It takes address matching a quite simplre regex from From: header field
> > > and tells sendmail to use it as the envelope sender address (-f option).
> >
> > Well, that's more or less what I understood. I guess I've been staring
> > at perl code too long:).
> >
> > Unfortunately, even with small f and big from this does not seem to
> > work:(
>
> What's your MTA?
Postfix
> Is it configured to accept -f option to set the sender?
A quick test shows -f works for normal users
> It should be noted that "-f sender at some.thing" will set the _envelope_
> sender to sender at some.thing. But since sender is extracted from From:,
> it shouldn't matter in this case.
>
> What do you have in From: header field?
Return-Path: <nobody at localdomain>
Delivered-To: nim at localdomain
Received: by smtp.localdomain (Postfix, from userid 99) id 589A61CB22;
Fri,
13 Sep 2002 16:43:16 +0200 (CEST)
Subject: ...
From: "Support" <support at publicdomain>
Reply-To: support at publicdomain
Hope this helps:(
--
Nicolas Mailhot
One2team : 12 bis rue de la Pierre Levée - 75011 Paris - France
Tél : + 33 1 43 38 19 80 - Fax : +33 1 43 14 23 07
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20020913/bc56497b/attachment.sig>
More information about the rt-users
mailing list