Re: Priority Management in postfix

2010-06-30 Thread Stefan Foerster
* Wietse Venema wie...@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


Re: Priority Management in postfix

2010-06-30 Thread Victor Duchovni
On Wed, Jun 30, 2010 at 08:37:14AM +0200, Stefan Foerster wrote:

 * Wietse Venema wie...@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.


Re: Priority Management in postfix

2010-06-30 Thread Pau Amma
On Wed, June 30, 2010 6:37 am, Stefan Foerster wrote:
 I don't think the professors would like it very much if _their_ mail had
 lower priority than their students' ;-)

But some students may like it the other way. The postfix ate my
homework. :-)



Re: Priority Management in postfix

2010-06-28 Thread Noel Jones

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.



Re: Priority Management in postfix

2010-06-28 Thread Wietse Venema
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