1

Topic: Switch relay on email size

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.84
- Linux/BSD distribution name and version: debian 8 jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

I have problem with relay service. Good relay have low attachment than bad relay.

So I come up with idea to switch relay base on email size.

Ex. lower than "10mb" go to "relay1"
bigger than "10mb" go to "relay2"

Is it possible?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Switch relay on email size

Might be possible with an custom iRedAPD plugin, working in protocol state "END-OF-MESSAGE" (mail size is available in this state).

3

Re: Switch relay on email size

Can I hire you for this plugin.