New setup, Receiving Okay, Sending Fails

Hi there,

I have created (for the 1st time) an Axigen email server.

Problem Summary:
From the Axigen web client I can not send emails from my user@domain address.

Working:
IMAP to mail server.
Reading emails from web-mail.
Receiving emails from outside my domain.

Configuration:
DNS:
TXT “v=dmarc1; p=none; rua=mailto:admin@diaus.nz; ruf=mailto:admin@diaus.nz; fo=1:d:s”
TXT “v=spf1 ip4:34.87.214.227 a -all”
MX 0 mail.diaus.nz
A 34.87.214.227

Server:
Ubuntu 20.04 LTS minimal server on Google Cloud VM (Sydney)
F/W rules are allow from 0.0.0.0/0 tcp 9943, 993, 587, 443, 80, 25, 22

I have run Axigen install and update script.

I have then added (via Axigen) Letsencrypt.

I get the following in my queue:

age 4m
id 0xB64EF
nextSchedule Mon, 05 Oct 2020 08:25:27 +1300
rcptCount 1
rcptList david@whaikupu.com [hide info]

Fail-info : Unable to connect to 104.47.117.36: Connection timed out
Status :PROCESSED - RELAY
MBox :INBOX|
|||
|receiveDate|Mon, 05 Oct 2020 08:16:03 +1300|
|||
|retryCount|1|
|||
|sender|admin@diaus.nz|
|||
|size|1k|
|||
|status|SEND FAILURE|

I get the following in my smtp.txt (log file):
2020-10-05 08:16:04 +1300 08 mail SMTP-OUT:0000000D: Relay mail 0B64EF: connecting to 104.47.116.36:25
2020-10-05 08:18:15 +1300 08 mail SMTP-OUT:0000000D: Relay mail 0B64EF: unable to connect to 104.47.116.36:25: Connection timed out
2020-10-05 08:18:15 +1300 08 mail SMTP-OUT:0000000D: Use 104.47.117.36 to relay mail 0B64EF for domain whaikupu.com
2020-10-05 08:18:15 +1300 08 mail SMTP-OUT:0000000E: Relay mail 0B64EF: connecting to 104.47.117.36:25
2020-10-05 08:20:26 +1300 08 mail SMTP-OUT:0000000E: Relay mail 0B64EF: unable to connect to 104.47.117.36:25: Connection timed out
2020-10-05 08:20:26 +1300 08 mail SMTP-OUT:0000000E: Relay mail 0B64EF: no more relays for whaikupu.com
2020-10-05 08:20:26 +1300 04 mail SMTP-OUT:0000000E: Delivery attempt completed for mail 0B64EF; 1 recipients remaining; reschedule for delivery
2020-10-05 08:20:26 +1300 08 mail SMTP-OUT:0000000E: Set mail state to SEND FAILURE
2020-10-05 08:25:28 +1300 08 mail SMTP-OUT:0000000F: Relay mail 0B64EF: connecting to 104.47.117.36:25
2020-10-05 08:27:38 +1300 08 mail SMTP-OUT:0000000F: Relay mail 0B64EF: unable to connect to 104.47.117.36:25: Connection timed out
2020-10-05 08:27:38 +1300 08 mail SMTP-OUT:0000000F: Use 104.47.116.36 to relay mail 0B64EF for domain whaikupu.com
2020-10-05 08:27:38 +1300 08 mail SMTP-OUT:00000010: Relay mail 0B64EF: connecting to 104.47.116.36:25
2020-10-05 08:29:49 +1300 08 mail SMTP-OUT:00000010: Relay mail 0B64EF: unable to connect to 104.47.116.36:25: Connection timed out
2020-10-05 08:29:49 +1300 08 mail SMTP-OUT:00000010: Relay mail 0B64EF: no more relays for whaikupu.com
2020-10-05 08:29:49 +1300 04 mail SMTP-OUT:00000010: Delivery attempt completed for mail 0B64EF; 1 recipients remaining; reschedule for delivery
2020-10-05 08:29:49 +1300 08 mail SMTP-OUT:00000010: Set mail state to SEND FAILURE
2020-10-05 08:39:52 +1300 08 mail SMTP-OUT:00000011: Relay mail 0B64EF: connecting to 104.47.117.36:25
2020-10-05 08:42:02 +1300 08 mail SMTP-OUT:00000011: Relay mail 0B64EF: unable to connect to 104.47.117.36:25: Connection timed out
2020-10-05 08:42:02 +1300 08 mail SMTP-OUT:00000011: Use 104.47.116.36 to relay mail 0B64EF for domain whaikupu.com
2020-10-05 08:42:02 +1300 08 mail SMTP-OUT:00000012: Relay mail 0B64EF: connecting to 104.47.116.36:25
2020-10-05 08:44:13 +1300 08 mail SMTP-OUT:00000012: Relay mail 0B64EF: unable to connect to 104.47.116.36:25: Connection timed out
2020-10-05 08:44:13 +1300 08 mail SMTP-OUT:00000012: Relay mail 0B64EF: no more relays for whaikupu.com
2020-10-05 08:44:13 +1300 04 mail SMTP-OUT:00000012: Delivery attempt completed for mail 0B64EF; 1 recipients remaining; reschedule for delivery
2020-10-05 08:44:13 +1300 08 mail SMTP-OUT:00000012: Set mail state to SEND FAILURE

I get the following in my everything.txt:
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Shepherd thread received signal for processing
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com state to RECEIVED
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set mail state to PROCESSING
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Start processing mail
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com state to PROCESSING
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Start filter smtp routing
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Processing started
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Shepherd thread finished processing signal
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: No certificate loaded; disabling STARTTLS
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set smtp greeting to [mail.diaus.nz]
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Greylist enabled
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set max data size to 10240 KB
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set max received headers to 30
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Maximum recipient count set to 1000
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Wait for processing response at least 10 seconds
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: STARTTLS extension allowed
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: 8BIT MIME accepted
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: BINARY DATA extension allowed
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: PIPELINING extension allowed
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: DSN extension denied
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set local delivery to all
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: session from [116.251.193.182] authenticated by admin@diaus.nz
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Created new queue item with id 001B84AE
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Auto-generate SPF result for MAIL FROM <admin@diaus.nz@diaus.nz> issued from EHLO domain <diaus.nz> connected from <116.251.193.182>: Pass (spfHeader = ‘’; spfExplanation = ‘null’)
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Skip greylist for authenticated session
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: DomainKeys verification result: no signature
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: DKIM verification result: no signature
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: New mail 1601838963611839271@diaus.nz received from diaus.nz (116.251.193.182) with envelope from admin@diaus.nz, authenticated as admin@diaus.nz, recipients=1 (david@whaikupu.com), size=1307, enqueued with id 1B84AE (orgid=0B64EF)
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com state to FILTER DISCARD
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com state to PROCESSING
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com data version to 1
2020-10-05 08:16:03 +1300 08 mail PROCESSING:001B84AE: Set mail state to REMOVED
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Finished filtering mail object 0B64EF with filter: smtp routing
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com state to PROCESSING
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Start filter AV:Tnef of type socket filter from server
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Filter AXI-TNEF(127.0.0.1:8888):[PASS]: pass - no changes
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Finished filtering mail object 0B64EF with filter: AV:Tnef of type socket filter from server
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com data version to 2
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com state to PROCESSING
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Start filter text appender
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Finished filtering mail object 0B64EF with filter: text appender
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com data version to 3
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com state to PROCESSING
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Start filter onProcessing event
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Finished filtering mail object 0B64EF with filter: onProcessing event
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com state to PROCESSING
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set recipient david@whaikupu.com state to PROCESSED - RELAY
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set mail state to PROCESSED
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Processing finished
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Shepherd thread received signal for delivery
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Shepherd thread finished delivery signal
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Start mail delivery
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Set mail state to SENDING
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Start remote delivery for 1 recipients in domain whaikupu.com
2020-10-05 08:16:03 +1300 08 mail PROCESSING:000B64EF: Relay mail using default host: whaikupu.com:25
2020-10-05 08:16:03 +1300 08 mail DNR:000B64EF: Search MX for ‘whaikupu.com
2020-10-05 08:16:03 +1300 08 mail DNR:000B64EF: Sending query (1/1) to 127.0.0.53:53
2020-10-05 08:16:03 +1300 08 mail DNR:000B64EF: Sending query (1/1) to 127.0.0.53:53
2020-10-05 08:16:03 +1300 08 mail DNR:000B64EF: ‘whaikupu-com.mail.protection.outlook.com’ found MX ‘104.47.117.36’ with priority 0
2020-10-05 08:16:03 +1300 08 mail DNR:000B64EF: ‘whaikupu-com.mail.protection.outlook.com’ found MX ‘104.47.116.36’ with priority 0
2020-10-05 08:16:03 +1300 08 mail DNR:000B64EF: Sending query (1/1) to 127.0.0.53:53
2020-10-05 08:16:04 +1300 08 mail PROCESSING:000B64EF: Relay mail: found IPv4 MX entry 104.47.117.36 for domain whaikupu.com with priority 0
2020-10-05 08:16:04 +1300 08 mail PROCESSING:000B64EF: Relay mail: found IPv4 MX entry 104.47.116.36 for domain whaikupu.com with priority 0
2020-10-05 08:16:04 +1300 08 mail PROCESSING:000B64EF: Use 104.47.116.36 to relay mail 0B64EF for domain whaikupu.com
2020-10-05 08:16:05 +1300 08 mail WEBMAIL:00000036: Account “admin@diaus.nz”: mail sent, id: B64EF
2020-10-05 08:16:05 +1300 08 mail JOBLOG:1F00003B: SortIndex[2F] admin+Collected Addresses@diaus.nz: update finished (0 seconds; read: 3(2) of 0(0) KB in 0(0) msec; write: 0(0) of 0(0) KB in 0(0) msec) - 1 changes processed; schedule save job of snapshot 00000003:00000006
2020-10-05 08:16:08 +1300 08 mail JOBLOG:81000029: Finished updating mail index for user admin@diaus.nz (1 inserts, 0 updates, 0 deletes, 0 folder deletes, 0 optimizations, 0 vacuums, 19.893033 ms)
2020-10-05 08:16:20 +1300 08 mail JOBLOG:B0000027: admin+Sent@diaus.nz[headers]: Sort index update finished (1 inserts, 0 deletes, 0 updates, 10.197509 ms)
2020-10-05 08:16:22 +1300 08 mail JOBLOG:B0000042: admin+Keepers@diaus.nz[headers]: Sort index update finished (4 inserts, 0 deletes, 0 updates, 13.248473 ms)

Any help/ pointers appreciated.
David.

david@diaus.nz
david@whaikupu.com

Okay, I have just discovered that Google Cloud always blocks port 25 outbound. How do I configure Axigen to use 2525 for outbound smtp?

David.

Hello,

Yes this is correct, in SMTP-OUT log you can see that Axigen is unable to connect on port 25 to the remote server:

2020-10-05 08:16:04 +1300 08 mail SMTP-OUT:0000000D: Relay mail 0B64EF: connecting to 104.47.116.36:25
2020-10-05 08:18:15 +1300 08 mail SMTP-OUT:0000000D: Relay mail 0B64EF: unable to connect to 104.47.116.36:25: Connection timed out

It is not possible to use 2525 to deliver the message when the remote server is listen on port 25 :wink:

In this case you may use a smart host solution to deliver you messages from Axigen server and can be configured in Axigen from Webadmin → Security & Filtering → Acceptance & Routing → Routing Basic Settings → Outgoing delivery settings section.

Regards,
Florin

Thanks. I figured that out earlier today, so I have moved to a VM in my own small DC. It worked straight away. Very happy with product.

Regards
David.

2 Likes