[pve-devel] [PATCH 1/2] GUI: add new email_from option to datacenter.cfg

Stanislav German-Evtushenko ginermail at gmail.com
Thu Sep 4 11:12:57 CEST 2014


On Thu, Sep 4, 2014 at 1:10 PM, Dietmar Maurer <dietmar at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20140904/0e07391f/attachment.htm>


More information about the pve-devel mailing list