[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheduler...




> Hello All,
> 
> I'm about to try changing the 'mailbox' program.. So that
> I could do that without effect much I tried creating
> a new channel for my (to be) altered mailbox to work on.
> 
> Taking things one place at a time I tried to create
> another channel in scheduler.conf -  by copying
> the local entry to my new one (store),

	It is about the channel that the mailbox looks for,
	and what you expect it to do that mismatch..

> store/*
>         interval=60s
>         idlemax=90s
>         expiry=3h
>         # want 20 channel slots, but only one HOST
>         maxchannel=10
>         maxring=5
>         #
>         # Do MIME text/plain; Quoted-Printable -> text/plain; 8BIT
>         # conversion on flight!
>         command="mailbox -8"

	... hmm ...

> ... to run the standard (unmodified) mailbox porgram - intending that
> by creating some mails using the 'store' channel they would be 
> delivered just like the those in the 'local' channel,
> 
> 	return $( routeuser $(list store - \1 $A ))
> 
> This bit seemed to work OK, the mail in the transport directory being,

	Yes it works, however...

> # more 40640-5205
> i 40640-5205
> o 524
> l <Marcel-1.09-1209113734-313o224@goat.noc.u-net.net>
> e <aid@u-net.net>
> s local aid@u-net.net aid 1
> r       store - woolly 60001
....
> 
> The problem is that scheduler never seems to pick up the mail ;-(
> It does not get mentioned in the output of mailq.  Scheduler
> periodically puts,
> 
> Resyncing file "40640-5205" (ino=40640) .. in processing db

	Yes, because without extra parameters to say othervice,
	the mailbox looks for entries on channel "local", NOT
	on channel "store".  "Resyncing" is transport-clients
	way to tell that it did not find any task for execution
	at the specified job-file, and thus the scheduler should
	check its world-view in case something has gotten changed
	from under its nose...

	On the   command=   -parameter, add following option:
		command="mailbox -8 -c store"
	THEN it will work, as it starts to find messages destined
	to channel "store".

> In it's logs (40640-5205 is the message in question).  Can't find
> any other errors anywhere....
> 
> Do I need to declare channels anywhere else other then scheduler.conf?
> 
> Any help greatly appreciated, (inc. spelling suggestions ;-))
> 
> Thanks,
> 
> aid
> -- 
> Adrian J Bool			| mailto:aid@u-net.net
> Network Operations		| http://www.u-net.net/
> U-NET Ltd			| tel://44.1925.484461/

	/Matti Aarnio <mea@nic.funet.fi>