I have configured exim4 and am trying to send out emails using port 587 and the email is being sent but on the mail server it show connecting at port 25.
I am using:
echo "Subject:Hello All" | sendmail -v -port 587 shaheena.kazi@gmail.com
T: remote_smtp for shaheena.kazi@gmail.com
Connecting to gmail-smtp-in.l.google.com [2607:f8b0:4004:c08::1a]:25 ... LOG: MAIN
(Not pasting the entire output of the log here)
+++++++++++++++++++++
I wanted to check why the connection goes to port 25 as shown below----
"""Connecting to gmail-smtp-in.l.google.com [2607:f8b0:4004:c08::1a]:25 ... LOG: MAIN""""
I want all my email to connect on port 587 as I have requested for port 587.
I have tried most of the settings shown online in the exim4 config file. But still it connects on 25.
Links that I followed but no luck : https://www.fyzix.net/index.php?title=Installing_and_Configuring_Exim4_for_Gmail_SMTP_Relay and https://logs.paulooi.com/enable-smtp-port-587-on-exim.php
Also, any mail server I use... it connects to port 25..
Could anyone help me here ?
Asked by Shaheena Kazi
(21 rep)
Dec 21, 2022, 05:13 AM
Last activity: Jan 9, 2025, 04:07 PM
Last activity: Jan 9, 2025, 04:07 PM