It seems to work.
Thank you!
Gesendet: Freitag, 22. März 2019 um 16:15 Uhr
Von: "Viktor Dukhovni"
An: "Postfix users"
Betreff: Re: Add Header only if sent via sendmail
> On Mar 22, 2019, at 3:00 AM, lutz.niede...@gmx.net wrote:
>
> But how can I do this?
As n
> On Mar 22, 2019, at 3:00 AM, lutz.niede...@gmx.net wrote:
>
> But how can I do this?
As noted below.
> In master.cf I add a service eg called "mycleanup" with
> mycleanup unix ... cleanup -o header_checks=file
Well, not "=file" but "=pcre:file" or similar.
> Essentially a renamed copy of the
don't need to touch smtpd if I don't mind getting the IP address via client_restrictions, too.
Is that correct? Did I miss something?
-lutzn
Gesendet: Freitag, 22. März 2019 um 06:30 Uhr
Von: "Viktor Dukhovni"
An: "Postfix users"
Betreff: Re: Add Header only if
> On Mar 21, 2019, at 11:55 PM, lutz.niede...@gmx.net wrote:
>
> I am looking for a simple way to add a header if and only if mail is sent
> locally via sendmail (mail/mailx) command.
> We need to know who/what sent an email. We already get the client's IP
> address if sent using smtp via smtpd
Hello,
I am looking for a simple way to add a header if and only if mail is sent locally via sendmail (mail/mailx) command.
We need to know who/what sent an email. We already get the client's IP address if sent using smtp via smtpd_client_restrictions, but if it is not sent via smtp I have no