|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Cliff Sarginson (cliff
raggedclown.net)Date: Thu Jan 04 2001 - 05:33:45 CST
> Cliff Sarginson wrote:
> >
> > Hello
> > I have a question concerning queue management.
> > My mail comes in and goes out through a gateway machine.
> > All mail is marked as deferred and a "postfix flush"
> > performed at certain times.
> > What I would like to do is to differentiate between
> > flushing mail for the internal network and flushing
> > mail meant for the Internet. Is this possible ?
> > Conceptually I want to be able to say:
> >
> > postfix flush internal
> > postfix flush external
> >
> > Or maybe I need something that locks a queue of
> > messages out from consideration from delivery at all
> > until unlocked.
>
> That's possible with the fast flush introduced in one of the recent
> snapshots -- ETRN only flushes the queue for the domain given as
> argument to the ETRN command.
> You could use "fetchmail" to issue an "ETRN yourinternal.domain" to the
> postfix server to flush internal mail only.
I don't use fetchmail...but I see the point you are making..
> % postfix flush
> would flush all mail.
>
> BTW, this calls for a feature:
>
> % postfix flush
> flushes all mail
>
> % postfix flush domain.com
> flushes mail with the destination of domain.com
>
> % postfix flush .domain.com
> flushes mail with the destination of domain.com's subdomains
>
> % postfix flush !domain.com
> flushes all mail except for mail with the destination of domain.com
>
I am a bit confused, are you saying this feature is available in
a snapshot (i.e. the qualifiers to "flush" as you show above).. because
it sounds like *exactly* what I want ...
Cliff
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]