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

Re: subdirs in postman?

On Wed, Oct 01, 2003 at 04:31:18PM +0400, Eugene Crosser wrote:

  This is in your   process.cf   script.
  This routine should be called with a file reference to local directory,
  never with relative paths.  That is:

	z# cd $R
	z# process 2744404-5547

  There has been a tought about optimizing the ROUTERDIRHASH=
  ZENV setting, which is now moving  $POSTOFFICE/router/X/274404  file
  to   $POSTOFFICE/router/  directory before processing it.
  This script is but one example of where "process X/274404" must be
  fixed so that the non-moving thing would work.
  (The less there are syscalls, the better..)

> =============
> z# process router/274404-5547
>     process router/274404-5547
>         db flush pwuid
>         db flush pwnam
>         db flush fullname
>         db flush hostexpansions
>         db flush recipients
>         db flush expansions
>         /bin/mv router/274404-5547
> ../postman/rtr.router/274404-5547.5704
> mv: cannot rename router/274404-5547: No such file or directory
>         return (return) <0>
> ?=1
> ?=1
>  lapply('PS1', ())
> ==============
> apparently postman was reorganized?  But post-install does not create
> subdirs in postman...
> Eugene

/Matti Aarnio	<mea@nic.funet.fi>
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi