|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Ralf Hildebrandt (Ralf.Hildebrandt
berliner-volksbank.de)Date: Thu Jan 04 2001 - 05:11:37 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.
% 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
-- ralf.hildebrandtberliner-volksbank.de innominate AG r.hildebrandt
bvb.berliner-volksbank.de the linux architects tel: 3063-4942 fax: -4200 http://www.innominate.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]