Hi, In /etc/aliases of projecthost.my.domain I have
teamfoo: localcopy j...@example.com b...@domain.tld john@some.where Bob checks SPF on incoming messages. Now sends Alice an e-mail to Team Foo. Domain Alice has SPF records. That e-mail arrives the machine with the teamfoo alias. Postfix does what it is supposed to do and e-mails the team members. Bob's mailserver rejects and sends to Alice <b...@domain.tld> (expanded from <team...@projecthost.my.domain>): host mail.domain.tld[BOB.IP.ADD.RES] said: 550-[SPF] MY.IP.ADD.RES allowed to send mail from alice.domain. Please 550 see http://www.openspf.org/Why?scope=mfrom;identity=alice@alice.domain;ip=MY.IP.ADD.RES (in reply to RCPT TO command) In the year 2017 is that all correct behaviour. Several years earlier was a team alias best pratice. Now I'm looking for a successor. I think the right approach is * recieve the e-mail * rewrite some headers ** the Alice From should go into Reply To ** new From is team...@projecthost.my.domain * send the message of Alice to the foo team members But I'm lost and in need for advice. What I did so far * a websearch on "aliases SPF" * tried to understand which Postfix virtual covers my needs * /etc/alias with 'teamfoo: |/some/script' * wondered if it is the (good?) old procmail that I need The /some/script #!/bin/bash mailx -s teamFoo \ localcopy \ j...@example.com \ b...@domain.tld \ john@some.where \ Groeten Geert Stappers -- Leven en laten leven