From: "Avinash Pawar // Viva" on
Hi,

I want to give priority to each outbound email and as per priority email
will be sent.

For example, if there are three email with priority *high*, *medium* and *
low* respectively.
In this case, the high priority email should be sent first, then medium
priority email should be sent then low priority email should be sent.

Please suggest me whether this is possible or not in postfix. If possible
then please let me know how we can implement this?

--
Incase of any further queries, Please feel free to mail me or contact me on
the numbers provided below.

Thanks & Regards,
Avinash Pawar
Software Engineer.

Viva Infomedia Pvt. Ltd.
242, Oshiwara Industrial Centre,
New Link Road, Opp. Oshiwara Bus Depot,
Goregaon West, Mumbai 400104.
Direct: +91.22.40310356
Board: +91.22.40310310

Viva Infomedia: Awarded as Best SME (E-Commerce) at CNBC Emerging India
Awards 2009
From: Noel Jones on
On 6/28/2010 12:22 AM, Avinash Pawar // Viva wrote:
> Hi,
>
> I want to give priority to each outbound email and as per priority email
> will be sent.
>
> For example, if there are three email with priority *high*, *medium* and
> *low* respectively.
> In this case, the high priority email should be sent first, then medium
> priority email should be sent then low priority email should be sent.
>
> Please suggest me whether this is possible or not in postfix. If
> possible then please let me know how we can implement this?


Postfix does not provide per-message priority.

From: Wietse Venema on
Avinash Pawar // Viva:
> Hi,
>
> I want to give priority to each outbound email and as per priority email
> will be sent.

There is no priority support in Postfix. Postfix uses a shared
queue by design.

Instead of making Postfix more complex, you could use different
Postfix instances. Using a university as an example, that would be
one Postfix instance for the professors and one for the students.

Wietse

From: Stefan Foerster on
* Wietse Venema <wietse(a)porcupine.org>:
> Avinash Pawar // Viva:
> > I want to give priority to each outbound email and as per priority email
> > will be sent.
>
> There is no priority support in Postfix. Postfix uses a shared
> queue by design.
>
> Instead of making Postfix more complex, you could use different
> Postfix instances. Using a university as an example, that would be
> one Postfix instance for the professors and one for the students.

I don't think the professors would like it very much if _their_ mail had
lower priority than their students' ;-)


Stefan

From: Victor Duchovni on
On Wed, Jun 30, 2010 at 08:37:14AM +0200, Stefan Foerster wrote:

> * Wietse Venema <wietse(a)porcupine.org>:
> > Avinash Pawar // Viva:
> > > I want to give priority to each outbound email and as per priority email
> > > will be sent.
> >
> > There is no priority support in Postfix. Postfix uses a shared
> > queue by design.
> >
> > Instead of making Postfix more complex, you could use different
> > Postfix instances. Using a university as an example, that would be
> > one Postfix instance for the professors and one for the students.

More importantly, to the extent that Postfix does support separate
logical queues, it is by destination, not sender, so while inbound
mail (unlikely to incur delays on a well maintained server) can have
higher priority for some local users over others, outbound mail is
not queued by sender. To accomplish sender-based priority, one needs
separate Postfix instances for senders that rate a higher class of
service.

--
Viktor.