Good day,

On mar, 2023-05-02 at 09:19 +0200, Kolusion K via Postfix-users wrote:
>  
> Postfix seems to be unable to send e-mail to IPv4 addresses, but it
> can send e-mail to IPv6 addresses.

So, your machine running Postfix *has* a global IPv6 address.
 
> This is odd because Postfix is configured to use an IPv4 interface
> only,

Wrong! The las line in your attachment (very uncomfortable way for
sharing information that need quoting), states:

inet_protocols = all

You need to have a thorugh read of Postfix documentation.

>  and its even more odd that the interface is a PPTP VPN tunnel which
> PPTP doesn't even support IPv6!

You are reaching the IPv6 host *directly*. Many ISPs are now offering
IPv6 because of the IPv4 exhaustion and all the problems associated
with Carrier Grade NAT.


> Here is an extract of my mail log, demonstrating what I mean:
>  
> Apr 12 23:05:39 generalpurpose postfix/smtpd[3557]: warning: hostname
> generalpurpose does not resolve to address 192.168.2.2
> Apr 12 23:05:39 generalpurpose postfix/smtpd[3557]: connect from
> unknown[192.168.2.2]
> Apr 12 23:05:39 generalpurpose postfix/smtpd[3557]: 2616D80098:
> client=unknown[192.168.2.2]
> Apr 12 23:05:39 generalpurpose postfix/cleanup[3568]: 2616D80098:
> message-id=<13a7d177-u778-3a84-3egd-19283c859...@example.com>
> Apr 12 23:05:39 generalpurpose postfix/qmgr[2241]: 2616D80098:
> from=<kolus...@example.com>, size=1966, nrcpt=1 (queue active)
> Apr 12 23:05:39 generalpurpose postfix/smtpd[3557]: disconnect from
> unknown[192.168.2.2] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1
> commands=7
> Apr 12 23:06:16 generalpurpose postfix/smtp[3569]: connect to
> pechora1.icann.org[192.0.33.71]:25: Connection timed out
> Apr 12 23:06:42 generalpurpose postfix/smtp[3569]: 2616D80098:
> to=<some...@icann.org>,
> relay=pechora3.icann.org[2620:0:2830:201::1:73]:25, delay=64,
> delays=0.04/0.04/62/1.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued
> as 0463C7002623)
> Apr 12 23:06:42 generalpurpose postfix/qmgr[2241]: 2616D80098:
> removed

This is clear proof that your exit route over IPv4 has port 25 blocked,
at leas to pechora1.icann.org[192.0.33.71]

> I have also attached my 'main.cf' configuration file.

Why don't you simply cut and paste the text, like you have done with
the log, reducing the time others have to spend helping you?

Just show/check the output of "ip a" if you are on Linux, please, you
will be surprised.

Have a good day.


-- 
Victoriano Giralt                           Innovation Director
Digital Transformation Vicerectorate        University of Malaga
+34952131415                                SPAIN
==================================================================
Note: signature.asc is the electronic signature of present message
A: Yes.
> Q: Are you sure ?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email ?

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to