the rest is (after 30 seconds):
mta error reason=Connection closed unexpectedly

and after that:
Jul 27 08:46:36 gater smtpd[94267]: smtp-out: Disabling route [] <->
223.255.246.167 (mail.beml.co.in) for 15s
Jul 27 08:46:36 gater smtpd[94267]: smtp-out: No valid route for
[connector:[]->[relay:bemlltd.in,smtp,heloname=tvema.ru],0x0]
Jul 27 08:46:45 gater smtpd[94267]: 0000000000000000 mta delivery
evpid=3c7ce6932dd229bc from=<> to=<[icutaddresshere]@bemlltd.in>

Did you cut the address from=<> to?


rcpt=<-> source="-" relay="bemlltd.in" delay=1d23h27m
39s result="TempFail" stat="Network error on destination MXs"


mail.bemlltd.in aka mail.beml.co.in (223.255.246.167) is public reachable. Since I don't have a contact to test with I did a public relay/spam test[1]. All attempts where correctly answered with "550 Sender is Spammer" and non with a timeout.
I also haven't found tvema.ru on a blacklist.

The logs show that your smtpd/mta connects at first. Ii appears to timeout after STARTTLS. I did another public test[2] and TLS was working too.


I personally would now crank up the logs to the maximum
# smtpd -dvvvvvvvv

and 'smtpctl schedule 123' the e-mail in question right after. Does it really timeout after STARTTLS or is there something else?


Second, try to send a mail by hand [3] first unencrypted via netcat:

$ nc mail.bemlltd.in 25
220 SpamJadoo Antispam SMTP Service by http://datainfosys.net
..

and secondly encrypted via openssl:

$ openssl s_client -starttls smtp -connect mail.bemlltd.in:25

(Try it with your server first and than with a known working third part.)

By the way, are you on OpenBSD or something else?


[1] http://www.antispam-ufrj.pads.ufrj.br/test-relay.html
[2] https://www.checktls.com/TestReceiver
[3] https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol#SMTP_transport_example


Reply via email to