Victor Duchovni:
> 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.
There is no need to publish it, since there is no need for manual
triggers. Mail will be picked up in a few seconds anyway.
Wietse