Routes / Delivery enhancements

This forum contains features that has been archived. This section contains implemented features, duplicate requests, and requests which we have decided not to implement.
Post Reply

Do you need this feature?

Yes
20
91%
No
2
9%
 
Total votes: 22

Vilo
New user
New user
Posts: 2
Joined: 2008-10-16 09:57

Routes / Delivery enhancements

Post by Vilo » 2008-10-16 10:32

Hi all,

I know that a request for such a feature has already been made, but I can't find any infos about this feature beeing under development or not.
So here it is :

In its current stable version, hMailServer is able to deliver emails :
- directly via MX lookup
XOR
- indirectly via unique SMTP relay (ISP SMTP server)

Each method has drawbacks ...
- Direct delivery may fail for blacklisting issues (private SMTP servers are not allowed by several Cie)
- ISP SMTP relaying is slower than direct delivery, and can lead to big trouble in case of mass mailing.

My request :
Enhance the routes managment to allow (for a given domain) :
1. Direct delivery
2. In case of failure => indirect delivery via SmartHost n°1
3. In case of failure => indirect delivery via SmartHost n°2
etc ...

For each route, user should be able to set :
- Number of tries and timings
- Failure conditions (for example, if direct delivery fails with message "unknow recipient", then it is not necessary to continue direct delivering nor trying indirect delivering).

Thanks ;-)

^DooM^
Site Admin
Posts: 13862
Joined: 2005-07-29 16:18
Location: UK

Re: Routes / Delivery enhancements

Post by ^DooM^ » 2008-10-16 10:35

A nice idea.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

Vilo
New user
New user
Posts: 2
Joined: 2008-10-16 09:57

Re: Routes / Delivery enhancements

Post by Vilo » 2008-10-30 09:51

Well, not too many replies ...

Maybe a much simpler solution (that would be easier to implement I guess), would be to add in "SMTP delivery" the possibility to try direct delivery before sending to relay.
It is the solution that is implemented by a very large number of mail servers.

By the way, could it be possible to know if hMailServer is going to have such a feature in a near future ?
Thanks a lot ;-)

plive
Normal user
Normal user
Posts: 182
Joined: 2004-11-11 09:55

Re: Routes / Delivery enhancements

Post by plive » 2009-02-25 21:17

Well I would be interested if you had an option to specify the number of thread for a particular route.

User avatar
martin
Developer
Developer
Posts: 6835
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: Routes / Delivery enhancements

Post by martin » 2009-05-29 22:21

In 5.2 you will be able to accomplish this.

There's already a rule action called "Deliver using route" which allows you to specify which route a specific message should be delivered via (if the delivery is external)

In 5.2, there will be a new rule criteria which allows you to check the current number of delivery attempts.

Using these two in combination you should be allow to specify that first delivery should be made direct to recipients server, second deliver via route, third via other route, fourth using direct delivery, and so on.

sckramer2
Normal user
Normal user
Posts: 133
Joined: 2009-07-31 21:50

Re: Routes / Delivery enhancements

Post by sckramer2 » 2009-08-06 18:12

very nice martin...

in the smtp route for the isp's relayer, what should these be set to?


When sender matches......
local or external?

When recipient matches.....
local or external?

User avatar
martin
Developer
Developer
Posts: 6835
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: Routes / Delivery enhancements

Post by martin » 2009-08-09 14:41

> in the smtp route for the isp's relayer, what should these be set to?

Have you read the documentation? It tries to explain this.

User avatar
Caspar
Senior user
Senior user
Posts: 377
Joined: 2008-09-08 11:47
Contact:

Re: Routes / Delivery enhancements

Post by Caspar » 2010-06-22 11:42

I forgot this feature request was there, now that I see it again, I remember that this could be an handy thing.
If you have strange problems or errors use the log analyzer! http://log.damnation.org.uk
Join us on IRC! http://hmailserver.com/irc_fullscreen.php

User avatar
martin
Developer
Developer
Posts: 6835
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: Routes / Delivery enhancements

Post by martin » 2010-06-22 21:53

I'll move this to the archive, since the two rule actions and criterias I mentioned below is now implemented.

By combining the criteria Delivery attempts with the action Send using route, you can accomplish this behavior.

Post Reply