Hello! I try to understand different mail delivery times.
I have a script (phpmailer) that sends 500 mails to a remote mail server. The target address is a local /dev/null mailbox. The script uses SMTPKeepAlive = true; to keep the connection open.
If my client IP is part of mynetworks the time for 500 mails is about 29 seconds.
If I use AUTH (SASL via Dovecot) the time is about 47 seconds. It doesn’t matter if the connection is protected with STARTTLS or not. The encryption isn’t the problem.
Sniffing on the network I see that the AUTH command is only sent once at the beginning, not for every mail.
So I’m wondering why I have such a big time difference. The postfix version is 3.3.1 (Centos 8). Many greetings, Stephan -- | If your life was a horse, you'd have to shoot it. |