On Thu, Feb 12, 2009 at 08:46:51AM -0700, Curtis wrote:
> Perfect. Does the pickup command have a trigger like qmgr that I can
> use with postkick to get the queue file picked up from the maildrop
> queue immediately? I'm guessing not since there's no mention of it in
> the man page, but I thought I'd check anyway. Or is there another way
> to make this happen?
Yes, it does:
# postkick public pickup W
all "public" services with a wakeup timer in master.cf support the
"W" trigger, that's how master(8) wakes them up.
$ perl -lane '
$F[0] =~ /^[^#\s]/ or next;
$F[2] eq "n" or next;
$F[5] ne "-" or next;
print;' \
/etc/postfix/master.cf
pickup fifo n - n 60 1 pickup
qmgr fifo n - n 300 1 qmgr
flush unix n - n 1000? 0 flush
You don't really want to wake the flush service manually, that's
just internal house-keeping, but waking pickup(8) or qmgr(8) is fine.
I am not sure whether not documenting the pickup(8) trigger is deliberate
or an oversight.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[email protected]?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.