smtp relay AFTER direct delivery attempt

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
New user
New user
Posts: 5
Joined: 2018-12-29 18:26

smtp relay AFTER direct delivery attempt

Post by Giuseppe_R » 2019-02-25 20:46

Good evening,

I use hmail from a while, coming from Alt-N MDaemon on Windows Server.
My hMail is working pretty, but the feature that I can't find, is the ability to send out smtp mail using smart host **ONLY** after failed direct delivery attempt.

Thank you very much in advance for your replies.

Normal user
Normal user
Posts: 212
Joined: 2016-12-08 02:21

Re: smtp relay AFTER direct delivery attempt

Post by mikedibella » 2019-02-25 22:11

I don't think hMailServer can do that, but you could host Microsoft SMTP Service on the same machine on a custom listening port and configure it to use your Smart Host, but check the box "Attempt direct delivery before sending to smart host". Then configure hMailServer to use this local MTA as it's Smart Host.

User avatar
Posts: 8625
Joined: 2011-09-08 17:48

Re: smtp relay AFTER direct delivery attempt

Post by jimimaseye » 2019-02-25 22:31

Should be simple enough (of top of my head).

if delivery attempts > 1 then

Send using route .....

(Or something like that).

[Entered by mobile. Excuse my spelling.]
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs :

Post Reply