Re: Why aren't macros available to command syntax in pipe(8)?

2017-03-29 Thread Doug Barton
On 03/29/2017 10:03 AM, Wietse Venema wrote: Doug Barton: On 03/29/2017 04:01 AM, Wietse Venema wrote: Doug Barton: Unlike .forward or files which exist for selected users, injecting envelope data (e.g. user=${user}) into the pipe(8) execution context could allow remote senders to execute

Re: Why aren't macros available to command syntax in pipe(8)?

2017-03-29 Thread Doug Barton
On 03/29/2017 04:01 AM, Wietse Venema wrote: Doug Barton: Unlike .forward or files which exist for selected users, injecting envelope data (e.g. user=${user}) into the pipe(8) execution context could allow remote senders to execute code as any user on the system Yes, that's what I want to do

Re: Why aren't macros available to command syntax in pipe(8)?

2017-03-28 Thread Doug Barton
On 03/25/2017 06:55 PM, Viktor Dukhovni wrote: On Mar 25, 2017, at 9:38 PM, Doug Barton <domain_name_t...@yahoo.com> wrote: Setting up a new pipe in master.cf I wanted to do 'user=${user}' but that macro isn't available there, only in argv. I found a workaround, but I was curious abo

Re: Fallback to IPV4 in case of IPV6 is not available

2017-03-26 Thread Doug Barton
On 03/26/2017 02:48 PM, Benny Pedersen wrote: Doug Barton skrev den 2017-03-26 22:16: On 03/26/2017 12:21 PM, Dirk Stöcker wrote: So while a suggestion not to care about IPv6 may have been valid in 2014. It is simply wrong in 2017. Here here! And keep in mind that mobile providers

Re: Fallback to IPV4 in case of IPV6 is not available

2017-03-26 Thread Doug Barton
On 03/26/2017 12:21 PM, Dirk Stöcker wrote: So while a suggestion not to care about IPv6 may have been valid in 2014. It is simply wrong in 2017. Here here! And keep in mind that mobile providers are primarily v6 nowadays, so those numbers are only going up. Doug

Re: Fallback to IPV4 in case of IPV6 is not available

2017-03-25 Thread Doug Barton
On 03/25/2017 06:43 PM, Viktor Dukhovni wrote: On Mar 25, 2017, at 9:05 PM, Doug Barton <domain_name_t...@yahoo.com> wrote: Postfix can be configured to try IPv6 before IPv4 (with smtp_address_preference) Regarding that option, I've never understood the warning in postconf(5). D

Re: Why aren't macros available to command syntax in pipe(8)?

2017-03-25 Thread Doug Barton
On 03/25/2017 06:28 PM, Viktor Dukhovni wrote: On Mar 25, 2017, at 9:21 PM, Doug Barton <domain_name_t...@yahoo.com> wrote: Setting up a new pipe in master.cf I wanted to do 'user=${user}' but that macro isn't available there, only in argv. I found a workaround, but I was curious abo

Why aren't macros available to command syntax in pipe(8)?

2017-03-25 Thread Doug Barton
Setting up a new pipe in master.cf I wanted to do 'user=${user}' but that macro isn't available there, only in argv. I found a workaround, but I was curious about why? Doug

Re: Fallback to IPV4 in case of IPV6 is not available

2017-03-25 Thread Doug Barton
On 03/25/2017 07:43 AM, Wietse Venema wrote: Postfix can be configured to try IPv6 before IPv4 (with smtp_address_preference) Regarding that option, I've never understood the warning in postconf(5). Doesn't that feature provide precedence, not exclusivity? Or put a different way, if the site