Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129870 - /etc/init.d/postfix does not have the "flush" command available
Summary: /etc/init.d/postfix does not have the "flush" command available
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Tuan Van (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-13 15:06 UTC by Jeremy Fowler
Modified: 2006-08-08 11:23 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add flush to the init.d script (postfix.diff,644 bytes, patch)
2006-04-13 15:08 UTC, Jeremy Fowler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Fowler 2006-04-13 15:06:05 UTC
The postfix "flush" command is used to flush out the postfix queues. 

Our old Redhat server had this available with it's init script, and I got used to typing `/etc/init.d/postfix flush` I use this feature a lot after fixing problems with spam/anti virus filter and when I need to clear out the queue as fast as possible.
Comment 1 Jeremy Fowler 2006-04-13 15:08:31 UTC
Created attachment 84588 [details, diff]
Patch to add flush to the init.d script
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-13 15:10:37 UTC
Why can't you just type "postfix flush"?
Comment 3 Jeremy Fowler 2006-04-13 15:17:34 UTC
(In reply to comment #2)
> Why can't you just type "postfix flush"?
> 

Well, that's exactly what the script does... Like I said, I just got used to running it from the init script and seeing this message:

* Flushing postfix queues ...                                        [ ok ]

Its purely an aesthetic feature...
Comment 4 Arnaud Launay 2006-08-08 05:16:31 UTC
I don't see the need for it. BTW, I think I remember somewhere that flushing the queue "by hand" is discouraged, except maybe for very small sites, because it puts a lot of excessive work on the underlying system, for very small benefit.
Comment 5 Tuan Van (RETIRED) gentoo-dev 2006-08-08 11:23:15 UTC
(In reply to comment #4)
> I don't see the need for it. BTW, I think I remember somewhere that flushing
> the queue "by hand" is discouraged, except maybe for very small sites, because
> it puts a lot of excessive work on the underlying system, for very small
> benefit.
> 

WONTFIX then.

Thanks,
Tuan