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

2017-03-25 Thread Viktor Dukhovni
> On Mar 25, 2017, at 9:51 PM, Doug Barton wrote: > >> See >> >> http://www.postfix.org/postconf.5.html#inet_protocols >> http://www.postfix.org/postconf.5.html#smtp_address_preference >> >> If IPv6 is explicitly preferred, rather than randomly selected as with: >> >> smtp_address_prefer

SOLVED: Moving a working configuration to new setup

2017-03-25 Thread Dean Gibson (Mail Administrator)
When making my "virtual_alias_maps" file, I use a SED script to convert each virtual hostname to the several RFC2142 "role" accounts required of each mail domain. I did not remember that the script left the (required) virtual domain name in the file for postmap. So, now I've just added the fol

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

2017-03-25 Thread Viktor Dukhovni
> On Mar 25, 2017, at 9:38 PM, Doug Barton 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 about why? >> >> For good security reasons. > > Can you elaborate? Unl

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 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,

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

2017-03-25 Thread Viktor Dukhovni
> On Mar 25, 2017, at 9:05 PM, Doug Barton 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

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 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 about why? For good security reasons.

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

2017-03-25 Thread Viktor Dukhovni
> On Mar 25, 2017, at 9:21 PM, Doug Barton 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 about why? For good security reasons. The only way to run code as the recipie

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

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

2017-03-25 Thread Paul C
I wish the world would use ipv6 enough for this to be worth doing, but it's not going to have much benefit to you as there's almost no one using it for smtp, from the last time I checked which was a few months ago, google uses it perfectly, verizon too (maybe a few more cable domains), yahoo looked

Re: Split multiple TO email into multiple single email

2017-03-25 Thread Viktor Dukhovni
> On Mar 25, 2017, at 9:22 AM, Carlo Poggiarelli > wrote: > > Hi Viktor, > when I restar postfix, I obtain > /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: > sms_destination_recipient_limit=1 > /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: > sms_

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

2017-03-25 Thread Franck MAHE
Hi Wietse, That is to say it must work with a second instance of POSTFIX? Let say that it will use IPV6 as default for outgoing smtp and a fallback on the same host that will use IPV4. Correct? Franck MAHE --- -Message d'origine- De : owner-post

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

2017-03-25 Thread Wietse Venema
Postfix can be configured to try IPv6 before IPv4 (with smtp_address_preference), but that feature is independent from routing features such as transport_maps, smtp_fallback_relay, and so on. That is, there are no ipv6_transport_maps or ipv4_smtp_fallback_relay features. I suggest you just keep se

Fallback to IPV4 in case of IPV6 is not available

2017-03-25 Thread Franck MAHE
Hi, My ISP is blocking outside SMTP connection except their own SMTP relay with authentication, so I've in /etc/transport * smtp:smtp.domain.com:587 with SASL configuration to authenticate I recently activated the IPV6 configuration on my BOX and I'm able to connect to an IPV6 Address on p

Re: Split multiple TO email into multiple single email

2017-03-25 Thread Carlo Poggiarelli
Hi Viktor, when I restar postfix, I obtain /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: sms_destination_recipient_limit=1 /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: sms_destination_concurrency_limit=2 /usr/sbin/postconf: warning: /etc/postfix/ma

Re: Split multiple TO email into multiple single email

2017-03-25 Thread Carlo Poggiarelli
Hi Viktor, The script you posted me, returns me an error at line 8 and 12, can you please check it and let me know. You know… I’m not so good in scripting ☺ Thanks a lot Carlo -Original Message- From: on behalf of Viktor Dukhovni Reply-To: Postfix Date: Friday, 24 March 2017 at 2