Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 129870

Summary: /etc/init.d/postfix does not have the "flush" command available
Product: Gentoo Linux Reporter: Jeremy Fowler <jfowler>
Component: Current packagesAssignee: Tuan Van (RETIRED) <langthang>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: asl, jakub, net-mail+disabled
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to add flush to the init.d script

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