showing an recipient that doesn't receive the mail

2017-08-28 Thread Nils
Hi,     when composing an email, can I assign the header value "To" in a way that it is shown by the email client but ignored by postfix?     I've created a php-cronjob for a customer, that fetches mails from an imap box (mta is postfix), recomposes them and forwards them to a list of recipi

Re: showing an recipient that doesn't receive the mail

2017-08-28 Thread Noel Jones
On 8/28/2017 11:04 AM, Nils wrote: > Hi, > >     when composing an email, can I assign the header value "To" in a > way that it is shown by the email client but ignored by postfix? > >     I've created a php-cronjob for a customer, that fetches mails > from an imap box (mta is postfix), recompose

Re: showing an recipient that doesn't receive the mail

2017-08-28 Thread Darek M.
An MTA only looks at the envelope To for routing.  You can put anything you want in the message To header, so you could rewrite it any way you need to. On 8/28/2017 12:04 PM, Nils wrote: Hi,     when composing an email, can I assign the header value "To" in a way that it is shown by the ema

Re: showing an recipient that doesn't receive the mail

2017-08-29 Thread Nils Weidinger
Thank you all. It's working fine. Kind regards. Am 28.08.2017 um 18:47 schrieb Darek M.: An MTA only looks at the envelope To for routing.  You can put anything you want in the message To header, so you could rewrite it any way you need to. On 8/28/2017 12:04 PM, Nils wrote: Hi,     when c