SMTP relayer

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
Post Reply
steph
New user
New user
Posts: 2
Joined: 2019-02-06 14:52

SMTP relayer

Post by steph » 2019-02-06 15:16

Hi all,

Is there a way to write a "run function" (Action) for a particular account's rule for "not using the defined SMTP relayer" while sending out but rather "using hMailserver SMTP itself" ?

Example

Critera -> "From" equals to "Value" (Value = some email address)
Action (Run function) -> use local SMTP instead of defined SMTP relayer

Cheers,
Stéphane

User avatar
mattg
Moderator
Moderator
Posts: 19881
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SMTP relayer

Post by mattg » 2019-02-06 15:54

The opposite is possible, but not that way round

You could use SMTP route, but that would require another machine to do the sending
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

mikedibella
Normal user
Normal user
Posts: 152
Joined: 2016-12-08 02:21

Re: SMTP relayer

Post by mikedibella » 2019-02-06 18:33

You could use SMTP route, but that would require another machine to do the sending
Or possibly run a different relay (i.e. MS-SMTP) on the same machine on a custom port and use a route to forward to that MTA, and then use MX lookup for next-hop.

steph
New user
New user
Posts: 2
Joined: 2019-02-06 14:52

Re: SMTP relayer

Post by steph » 2019-02-07 19:46

mikedibella wrote:
2019-02-06 18:33
You could use SMTP route, but that would require another machine to do the sending
Or possibly run a different relay (i.e. MS-SMTP) on the same machine on a custom port and use a route to forward to that MTA, and then use MX lookup for next-hop.
Thanks for your comments gents.

I ended setting up a second SMTP server on another internal server (Windows Server 2012 r2 Virtual SMTP service).
But not working.. DNS problem I guess.. grrr

Cheers,Stéphane

User avatar
mattg
Moderator
Moderator
Posts: 19881
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SMTP relayer

Post by mattg » 2019-02-08 05:00

Are you forwarding from 1st to 2nd server?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply