sender dependent smtp authentication

Use this forum if you want to suggest a new feature to hMailServer. Before posting, please search the forum to confirm that it has not already been suggested.
Post Reply
ff.ol
New user
New user
Posts: 5
Joined: 2013-06-19 18:53
Location: Germany

sender dependent smtp authentication

Post by ff.ol » 2018-02-19 13:23

Hello all, i need a mailserver with the ability to make a sender dependent smtp authentication like postfix can do. Our relay server requires this. Is it possible that this ability has a chance to be realized in hmailserver?

User avatar
jimimaseye
Moderator
Moderator
Posts: 8066
Joined: 2011-09-08 17:48

Re: sender dependent smtp authentication

Post by jimimaseye » 2018-02-19 14:03

Its possible but not pretty. For each user you need to :

a, create a route (pointing to your relay server) with the individuals name and authentication details
b, set a rule to saying whcih route to use for that particular user

eg
rule1:
if from = USER1 then send using route "User1route"
rule2:
if from = USER2 then send using route "User2route"

So it is doable but depending on how many users you have you may find the setting up a bit laborious (although a being well versed in scripting will make you job a lot easier)
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

ff.ol
New user
New user
Posts: 5
Joined: 2013-06-19 18:53
Location: Germany

Re: sender dependent smtp authentication

Post by ff.ol » 2018-02-20 18:00

Thank you, I'll try it.

Post Reply