On Thu, Sep 4, 2014 at 1:10 PM, Dietmar Maurer <diet...@proxmox.com> wrote:

> > Just adopt your patch and set '-f $mailfrom' inside pvemailforward.pl.
> > The mail from header is not really relevant for mail delivery, so I am
> not sure if
> > we need/want to change it at all?
> >
> > This just won't look beautiful :)
>
> A beautiful solution would be if your mailer accept mails from root@
> <host>?
>
> > Also it would matter for those who filter emails
> > in their email clients by the From field.
> > What about this? I've checked with manual substitution for $mailfrom and
> this
> > seems to work as expected.
> > open(CMD, "|procmail -f $mailfrom | sendmail -bm -N never -f $mailfrom
> > $mailto") ||
>
> I would simply keep the functionality from your patch instead. Just set
> the envelope sender
> in pvemailforward.pl. IMHO, the from field should be set by the
> application which generates the mail.
>
>
I will update, test and come back.
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to