[pfx] Re: Sending email via ipv4

2024-03-24 Thread Jack Raats via Postfix-users


Op 24-03-2024 om 20:53 schreef Viktor Dukhovni via Postfix-users:

On Sun, Mar 24, 2024 at 08:39:16PM +0100, Jack Raats via Postfix-users wrote:


master.cf:
  smtp .. .. .. .. .. .. smtp
-o inet_protocols=ipv6

What to do if my smtp line ends with postscreen?

That's "smtp inet", while the delivery agent is "smtp unix ...", see my
post for an unabbreviated example.


You're right. I've to read better.


I have a new glas fiber internet connection with a new ipv4 address
which has a very bad reputation.  That's why I want to use ipv6.

I take it you know that many (even large service provider) domains don't
have IPv6 MX hosts, so using *only* IPv6 you'll find that you won't be
able to reach many potential recipients.

I know! I've to make de reputation better and delist the ip address on 
many blacklist servers.


Thank you!

Gr.,
Jack Raats

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Sending email via ipv4

2024-03-24 Thread Viktor Dukhovni via Postfix-users
On Sun, Mar 24, 2024 at 08:39:16PM +0100, Jack Raats via Postfix-users wrote:

> > master.cf:
> >  smtp .. .. .. .. .. .. smtp
> > -o inet_protocols=ipv6
> 
> What to do if my smtp line ends with postscreen?

That's "smtp inet", while the delivery agent is "smtp unix ...", see my
post for an unabbreviated example.

> I have a new glas fiber internet connection with a new ipv4 address
> which has a very bad reputation.  That's why I want to use ipv6.

I take it you know that many (even large service provider) domains don't 
have IPv6 MX hosts, so using *only* IPv6 you'll find that you won't be
able to reach many potential recipients.

-- 
Viktor.
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Sending email via ipv4

2024-03-24 Thread Jack Raats via Postfix-users


Op 24-03-2024 om 19:42 schreef Wietse Venema via Postfix-users:

Jack Raats via Postfix-users:
main.cf:
 inet_protocols=ipv4,ipv6

as well as appropriate DNS MX and A records.


I have inet_protocols=all


I want to send email via ipv6 only.

master.cf:
 smtp .. .. .. .. .. .. smtp
-o inet_protocols=ipv6


What to do if my smtp line ends with postscreen?


I have a new glas fiber internet connection with a new ipv4 address 
which has a very bad reputation.

That's why I want to use ipv6.


Thanks for your wonderfull email server!

Gr.,

Jack Raats
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Sending email via ipv4

2024-03-24 Thread Wietse Venema via Postfix-users
Jack Raats via Postfix-users:
> Hi,
> 
> Can any help me. I want to recieve email via ipv4 and ipv6.

main.cf:
inet_protocols=ipv4,ipv6

as well as appropriate DNS MX and A records.

> I want to send email via ipv6 only.

master.cf:
smtp .. .. .. .. .. .. smtp
-o inet_protocols=ipv6

> I tried using smtp_address_preference = ipv6, but that didn't work.

smtp_address_preference=ipv6 tells Postfix to try sending over IPv6
before trying IPv4.

Wietse


 
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Sending email via ipv4

2024-03-24 Thread Viktor Dukhovni via Postfix-users
On Sun, Mar 24, 2024 at 04:32:15PM +0100, Jack Raats via Postfix-users wrote:

> Can any help me. I want to recieve email via ipv4 and ipv6. I want to send
> email via ipv6 only.
> I tried using smtp_address_preference = ipv6, but that didn't work.

I have a machine where IPv6 connectivity is second-class (Verizon Fios
does not offer IPv6, so GRE tunnel via Hurricane Electric), and where
historically there was more impedance (stricter inbound policies on
remote servers) for IPv6 SMTP.  So I chose to deliver only via IPv4:

$ postconf -Mf smtp/unix
smtp   unix  -   -   n   -   150 smtp
-o inet_protocols=ipv4

And for a few v6 only domains I have:

$ postconf -Mf ipv6/unix
ipv6   unix  -   -   n   -   150 smtp
-o inet_protocols=ipv6

-- 
Viktor.
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org