I need to get access to the Helo responses in order to make sure everything is set up correctly on the mail server.
Asked
Active
Viewed 358 times
1
-
1Simply telnet to your smtp port (25) and manually simulate a smtp transaction. The hostname your mailserver responds with is usually the one it will also use when connecting to remote smtp servers. - increasing log verbosity may help too. See https://serverfault.com/q/729223/960939 – Rob Jun 22 '22 at 14:08
1 Answers
3
The general method of doing this is to increase debug level for smtp
transport. You can add your test peer address into debug_peer_list
, and for that peer it will log way more information than usual, including the raw HELO strings it uses when communicating with that peer.
When you assure it works as expected, remove the address from the list. It makes the logging really verbose, up to the point it can easily fill your log space.

Nikita Kipriyanov
- 10,947
- 2
- 24
- 45