Send mail port 587
Posted: 2019-09-08 14:02
So I'm trying to send mail through port 587, because 25 is blocked.
As you can see in the log, it connects internally through 587, but then it tries to connect to gmail through port 25.
What should I do?
"DEBUG" 3924 "2019-09-08 13:51:15.313" "Creating session 148"
"TCPIP" 3924 "2019-09-08 13:51:15.314" "TCP - 192.168.1.1 connected to 192.168.1.22:587."
"DEBUG" 3924 "2019-09-08 13:51:15.317" "TCP connection started for session 146"
"SMTPD" 3924 146 "2019-09-08 13:51:15.317" "192.168.1.1" "SENT: 220 mail.almighty.se ESMTP"
"SMTPD" 4168 146 "2019-09-08 13:51:15.318" "192.168.1.1" "RECEIVED: HELO Admin-Dator"
"SMTPD" 4168 146 "2019-09-08 13:51:15.319" "192.168.1.1" "SENT: 250 Hello."
"SMTPD" 5396 146 "2019-09-08 13:51:15.319" "192.168.1.1" "RECEIVED: MAIL FROM:<user1@almighty.se>"
"DEBUG" 5396 "2019-09-08 13:51:15.321" "Total spam score: 0"
"SMTPD" 5396 146 "2019-09-08 13:51:15.321" "192.168.1.1" "SENT: 250 OK"
"SMTPD" 3924 146 "2019-09-08 13:51:15.322" "192.168.1.1" "RECEIVED: RCPT TO:<mymail@gmail.com>"
"SMTPD" 3924 146 "2019-09-08 13:51:15.326" "192.168.1.1" "SENT: 250 OK"
"SMTPD" 4168 146 "2019-09-08 13:51:15.326" "192.168.1.1" "RECEIVED: DATA"
"SMTPD" 4168 146 "2019-09-08 13:51:15.327" "192.168.1.1" "SENT: 354 OK, send."
"DEBUG" 7884 "2019-09-08 13:51:15.529" "Adding task AsynchronousTask to work queue Asynchronous task queue"
"DEBUG" 1232 "2019-09-08 13:51:15.529" "Executing task AsynchronousTask in work queue Asynchronous task queue"
"DEBUG" 1232 "2019-09-08 13:51:15.530" "Total spam score: 0"
"DEBUG" 1232 "2019-09-08 13:51:15.530" "Saving message: {BE5F2F15-A999-475C-84D2-F410832A6194}.eml"
"DEBUG" 1232 "2019-09-08 13:51:15.533" "Requesting SMTPDeliveryManager to start message delivery"
"SMTPD" 1232 146 "2019-09-08 13:51:15.533" "192.168.1.1" "SENT: 250 Queued (0.203 seconds)"
"SMTPD" 3924 146 "2019-09-08 13:51:15.536" "192.168.1.1" "RECEIVED: QUIT"
"SMTPD" 3924 146 "2019-09-08 13:51:15.536" "192.168.1.1" "SENT: 221 goodbye"
"DEBUG" 5240 "2019-09-08 13:51:15.536" "Adding task DeliveryTask to work queue SMTP delivery queue"
"DEBUG" 7884 "2019-09-08 13:51:15.536" "Ending session 146"
"DEBUG" 6224 "2019-09-08 13:51:15.537" "Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG" 6224 "2019-09-08 13:51:15.537" "Delivering message..."
"APPLICATION" 6224 "2019-09-08 13:51:15.537" "SMTPDeliverer - Message 22451: Delivering message from user1@almighty.se to mymail@gmail.com@gmail.com. File: C:\hMailServer\Data\{BE5F2F15-A999-475C-84D2-F410832A6194}.eml"
"DEBUG" 6224 "2019-09-08 13:51:15.538" "Applying rules"
"DEBUG" 6224 "2019-09-08 13:51:15.538" "Performing local delivery"
"DEBUG" 6224 "2019-09-08 13:51:15.538" "Local delivery completed"
"TCPIP" 6224 "2019-09-08 13:51:15.538" "DNS MX lookup: gmail.com"
"TCPIP" 6224 "2019-09-08 13:51:15.543" "DNS - MX Result: 5 IP addresses were found."
"DEBUG" 6224 "2019-09-08 13:51:15.543" "Starting external delivery process. Server: gmail-smtp-in.l.google.com (108.177.14.26), Port: 25, Security: 2, User name: "
"DEBUG" 6224 "2019-09-08 13:51:15.543" "Creating session 149"
"TCPIP" 6224 "2019-09-08 13:51:15.544" "Connecting to 108.177.14.26:25..."
"DEBUG" 4168 "2019-09-08 13:51:16.297" "SMTPDeliverer - Message 22449 - Connection failed: Host name: 108.177.8.26, message: Anslutningsförsöket misslyckades eftersom den anslutna datorn inte svarade inom en viss tid eller på grund av att den etablerade anslutningen till värddatorn inte längre fungerar"
"DEBUG" 4168 "2019-09-08 13:51:16.297" "Ending session 143"
"DEBUG" 2788 "2019-09-08 13:51:16.297" "External delivery process completed"
"DEBUG" 2788 "2019-09-08 13:51:16.297" "Starting external delivery process. Server: alt4.gmail-smtp-in.l.google.com (173.194.192.26), Port: 25, Security: 2, User name: "
"DEBUG" 2788 "2019-09-08 13:51:16.298" "Creating session 150"
"TCPIP" 2788 "2019-09-08 13:51:16.298" "Connecting to 173.194.192.26:25..."
As you can see in the log, it connects internally through 587, but then it tries to connect to gmail through port 25.
What should I do?
"DEBUG" 3924 "2019-09-08 13:51:15.313" "Creating session 148"
"TCPIP" 3924 "2019-09-08 13:51:15.314" "TCP - 192.168.1.1 connected to 192.168.1.22:587."
"DEBUG" 3924 "2019-09-08 13:51:15.317" "TCP connection started for session 146"
"SMTPD" 3924 146 "2019-09-08 13:51:15.317" "192.168.1.1" "SENT: 220 mail.almighty.se ESMTP"
"SMTPD" 4168 146 "2019-09-08 13:51:15.318" "192.168.1.1" "RECEIVED: HELO Admin-Dator"
"SMTPD" 4168 146 "2019-09-08 13:51:15.319" "192.168.1.1" "SENT: 250 Hello."
"SMTPD" 5396 146 "2019-09-08 13:51:15.319" "192.168.1.1" "RECEIVED: MAIL FROM:<user1@almighty.se>"
"DEBUG" 5396 "2019-09-08 13:51:15.321" "Total spam score: 0"
"SMTPD" 5396 146 "2019-09-08 13:51:15.321" "192.168.1.1" "SENT: 250 OK"
"SMTPD" 3924 146 "2019-09-08 13:51:15.322" "192.168.1.1" "RECEIVED: RCPT TO:<mymail@gmail.com>"
"SMTPD" 3924 146 "2019-09-08 13:51:15.326" "192.168.1.1" "SENT: 250 OK"
"SMTPD" 4168 146 "2019-09-08 13:51:15.326" "192.168.1.1" "RECEIVED: DATA"
"SMTPD" 4168 146 "2019-09-08 13:51:15.327" "192.168.1.1" "SENT: 354 OK, send."
"DEBUG" 7884 "2019-09-08 13:51:15.529" "Adding task AsynchronousTask to work queue Asynchronous task queue"
"DEBUG" 1232 "2019-09-08 13:51:15.529" "Executing task AsynchronousTask in work queue Asynchronous task queue"
"DEBUG" 1232 "2019-09-08 13:51:15.530" "Total spam score: 0"
"DEBUG" 1232 "2019-09-08 13:51:15.530" "Saving message: {BE5F2F15-A999-475C-84D2-F410832A6194}.eml"
"DEBUG" 1232 "2019-09-08 13:51:15.533" "Requesting SMTPDeliveryManager to start message delivery"
"SMTPD" 1232 146 "2019-09-08 13:51:15.533" "192.168.1.1" "SENT: 250 Queued (0.203 seconds)"
"SMTPD" 3924 146 "2019-09-08 13:51:15.536" "192.168.1.1" "RECEIVED: QUIT"
"SMTPD" 3924 146 "2019-09-08 13:51:15.536" "192.168.1.1" "SENT: 221 goodbye"
"DEBUG" 5240 "2019-09-08 13:51:15.536" "Adding task DeliveryTask to work queue SMTP delivery queue"
"DEBUG" 7884 "2019-09-08 13:51:15.536" "Ending session 146"
"DEBUG" 6224 "2019-09-08 13:51:15.537" "Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG" 6224 "2019-09-08 13:51:15.537" "Delivering message..."
"APPLICATION" 6224 "2019-09-08 13:51:15.537" "SMTPDeliverer - Message 22451: Delivering message from user1@almighty.se to mymail@gmail.com@gmail.com. File: C:\hMailServer\Data\{BE5F2F15-A999-475C-84D2-F410832A6194}.eml"
"DEBUG" 6224 "2019-09-08 13:51:15.538" "Applying rules"
"DEBUG" 6224 "2019-09-08 13:51:15.538" "Performing local delivery"
"DEBUG" 6224 "2019-09-08 13:51:15.538" "Local delivery completed"
"TCPIP" 6224 "2019-09-08 13:51:15.538" "DNS MX lookup: gmail.com"
"TCPIP" 6224 "2019-09-08 13:51:15.543" "DNS - MX Result: 5 IP addresses were found."
"DEBUG" 6224 "2019-09-08 13:51:15.543" "Starting external delivery process. Server: gmail-smtp-in.l.google.com (108.177.14.26), Port: 25, Security: 2, User name: "
"DEBUG" 6224 "2019-09-08 13:51:15.543" "Creating session 149"
"TCPIP" 6224 "2019-09-08 13:51:15.544" "Connecting to 108.177.14.26:25..."
"DEBUG" 4168 "2019-09-08 13:51:16.297" "SMTPDeliverer - Message 22449 - Connection failed: Host name: 108.177.8.26, message: Anslutningsförsöket misslyckades eftersom den anslutna datorn inte svarade inom en viss tid eller på grund av att den etablerade anslutningen till värddatorn inte längre fungerar"
"DEBUG" 4168 "2019-09-08 13:51:16.297" "Ending session 143"
"DEBUG" 2788 "2019-09-08 13:51:16.297" "External delivery process completed"
"DEBUG" 2788 "2019-09-08 13:51:16.297" "Starting external delivery process. Server: alt4.gmail-smtp-in.l.google.com (173.194.192.26), Port: 25, Security: 2, User name: "
"DEBUG" 2788 "2019-09-08 13:51:16.298" "Creating session 150"
"TCPIP" 2788 "2019-09-08 13:51:16.298" "Connecting to 173.194.192.26:25..."