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
Giuseppe_R
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.
Regards

mikedibella
Normal user
Normal user
Posts: 179
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
jimimaseye
Moderator
Moderator
Posts: 8154
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).

Rule:
if delivery attempts > 1 then

Send using route .....

(Or something like that).

[Entered by mobile. Excuse my spelling.]
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

Post Reply